Changeset 3209155
- Timestamp:
- 12/17/2024 12:47:27 PM (16 months ago)
- Location:
- icon-list-block/tags/1.0.9
- Files:
-
- 56 added
- 3 deleted
- 2 edited
-
assets/images (added)
-
assets/images/follow-image.png (added)
-
assets/images/logo.png (added)
-
assets/images/twitter-icon.png (added)
-
assets/js (added)
-
assets/js/fs.js (added)
-
bplugins_sdk (added)
-
bplugins_sdk/config.json (added)
-
bplugins_sdk/config.php (added)
-
bplugins_sdk/dist (added)
-
bplugins_sdk/dist/admin-notice.js (added)
-
bplugins_sdk/dist/admin-notice.js.map (added)
-
bplugins_sdk/dist/opt-in-form.css (added)
-
bplugins_sdk/dist/opt-in-form.css.map (added)
-
bplugins_sdk/dist/opt-in-form.js (added)
-
bplugins_sdk/dist/opt-in-form.js.map (added)
-
bplugins_sdk/inc (added)
-
bplugins_sdk/inc/Base (added)
-
bplugins_sdk/inc/Base/FSActivate.php (added)
-
bplugins_sdk/inc/Base/FS_Lite.php (added)
-
bplugins_sdk/inc/Base/Freemius_Lite.php (added)
-
bplugins_sdk/inc/Init.php (added)
-
bplugins_sdk/index.php (added)
-
bplugins_sdk/init.php (added)
-
bplugins_sdk/languages (added)
-
bplugins_sdk/languages/bPlugins-sdk-en_US.mo (added)
-
bplugins_sdk/languages/bPlugins-sdk-en_US.po (added)
-
bplugins_sdk/languages/bPlugins-sdk.pot (added)
-
bplugins_sdk/readme.txt (added)
-
bplugins_sdk/require.php (added)
-
bplugins_sdk/todo.txt (added)
-
build (added)
-
build/admin-help.asset.php (added)
-
build/admin-help.css (added)
-
build/admin-help.js (added)
-
build/admin-help.js.LICENSE.txt (added)
-
build/admin-style.asset.php (added)
-
build/admin-style.css (added)
-
build/admin-style.js (added)
-
build/block.json (added)
-
build/images (added)
-
build/images/follow-image.ba59e972.png (added)
-
build/images/logo.7060d9f8.png (added)
-
build/index.asset.php (added)
-
build/index.css (added)
-
build/index.js (added)
-
build/index.js.LICENSE.txt (added)
-
build/render.php (added)
-
build/view.asset.php (added)
-
build/view.css (added)
-
build/view.js (added)
-
dist (deleted)
-
i18n (added)
-
i18n/icon-list-en_US-1b9854c0787c1bcce9ec1d7f98f5a1bd.json (added)
-
i18n/icon-list-en_US.mo (added)
-
i18n/icon-list-en_US.po (added)
-
i18n/icon-list.pot (added)
-
inc (deleted)
-
index.php (modified) (2 diffs)
-
languages (deleted)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
icon-list-block/tags/1.0.9/index.php
r3115295 r3209155 1 1 <?php 2 2 3 /** 3 4 * Plugin Name: Icon List Block … … 9 10 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt 10 11 * Text Domain: icon-list 12 * @fs_free_only, /bplugins_sdk 11 13 */ 12 13 14 // ABS PATH 14 if ( !defined( 'ABSPATH' ) ) { exit; } 15 16 // Constant 17 define( 'ILB_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.0.9' ); 18 define( 'ILB_DIR_URL', plugin_dir_url( __FILE__ ) ); 19 define( 'ILB_DIR_PATH', plugin_dir_path( __FILE__ ) ); 20 21 require_once ILB_DIR_PATH . 'inc/block.php'; 15 if ( !defined( 'ABSPATH' ) ) { 16 exit; 17 } 18 if ( function_exists( 'ilb_fs' ) ) { 19 // This for .. if free plugin is installed, and when we will install pro plugin then uninstall free plugin 20 register_activation_hook( __FILE__, function () { 21 if ( is_plugin_active( 'icon-list-block/index.php' ) ) { 22 deactivate_plugins( 'icon-list-block/index.php' ); 23 } 24 if ( is_plugin_active( 'icon-list-block-pro/index.php' ) ) { 25 deactivate_plugins( 'icon-list-block-pro/index.php' ); 26 } 27 } ); 28 } else { 29 // Constant 30 define( 'ILB_VERSION', ( isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.0.9' ) ); 31 define( 'ILB_DIR_URL', plugin_dir_url( __FILE__ ) ); 32 define( 'ILB_DIR_PATH', plugin_dir_path( __FILE__ ) ); 33 define( 'ILB_HAS_FREE', 'icon-list-block/index.php' === plugin_basename( __FILE__ ) ); 34 define( 'ILB_HAS_PRO', 'icon-list-block-pro/index.php' === plugin_basename( __FILE__ ) ); 35 if ( !function_exists( 'ilb_fs' ) ) { 36 // Create a helper function for easy SDK access. 37 function ilb_fs() { 38 global $ilb_fs; 39 if ( !isset( $ilb_fs ) ) { 40 $fsStartPath = dirname( __FILE__ ) . '/freemius/start.php'; 41 $bSDKInitPath = dirname( __FILE__ ) . '/bplugins_sdk/init.php'; 42 if ( ILB_HAS_PRO && file_exists( $fsStartPath ) ) { 43 require_once $fsStartPath; 44 } else { 45 if ( ILB_HAS_FREE && file_exists( $bSDKInitPath ) ) { 46 require_once $bSDKInitPath; 47 } 48 } 49 $ilbConfig = array( 50 'id' => '17174', 51 'slug' => 'icon-list-block', 52 'premium_slug' => 'icon-list-block-pro', 53 'type' => 'plugin', 54 'public_key' => 'pk_51f816736288458da2dd37c719fd3', 55 'is_premium' => true, 56 'premium_suffix' => 'Pro', 57 'has_premium_version' => true, 58 'has_addons' => false, 59 'has_paid_plans' => true, 60 'trial' => array( 61 'days' => 7, 62 'is_require_payment' => true, 63 ), 64 'menu' => array( 65 'slug' => 'icon-list', 66 'first-path' => 'tools.php?page=icon-list#/dashboard', 67 'support' => false, 68 'parent' => array( 69 'slug' => 'tools.php', 70 ), 71 ), 72 ); 73 $ilb_fs = ( ILB_HAS_PRO && file_exists( $fsStartPath ) ? fs_dynamic_init( $ilbConfig ) : fs_lite_dynamic_init( $ilbConfig ) ); 74 } 75 return $ilb_fs; 76 } 77 78 // Init Freemius. 79 ilb_fs(); 80 // Signal that SDK was initiated. 81 do_action( 'ilb_fs_loaded' ); 82 } 83 // ... Your plugin's main file logic ... 84 function ilbIsPremium() { 85 return ( ILB_HAS_PRO ? ilb_fs()->can_use_premium_code() : false ); 86 } 87 88 if ( !class_exists( 'ILBPlugin' ) ) { 89 class ILBPlugin { 90 public function __construct() { 91 add_action( 'enqueue_block_assets', [$this, 'enqueueBlockAssets'] ); 92 add_action( 'init', [$this, 'onInit'] ); 93 // sub menu function hooks 94 add_action( 'admin_menu', [$this, 'addToolsSubmenu'] ); 95 add_action( 'admin_enqueue_scripts', [$this, 'adminEnqueueScripts'] ); 96 // Premium checker 97 add_action( 'wp_ajax_ilbPipeChecker', [$this, 'ilbPipeChecker'] ); 98 add_action( 'wp_ajax_nopriv_ilbPipeChecker', [$this, 'ilbPipeChecker'] ); 99 add_action( 'admin_init', [$this, 'registerSettings'] ); 100 add_action( 'rest_api_init', [$this, 'registerSettings'] ); 101 } 102 103 function ilbPipeChecker() { 104 $nonce = $_POST['_wpnonce'] ?? null; 105 if ( !wp_verify_nonce( $nonce, 'wp_ajax' ) ) { 106 wp_send_json_error( 'Invalid Request' ); 107 } 108 wp_send_json_success( [ 109 'isPipe' => ilbIsPremium(), 110 ] ); 111 } 112 113 function registerSettings() { 114 register_setting( 'ilbUtils', 'ilbUtils', [ 115 'show_in_rest' => [ 116 'name' => 'ilbUtils', 117 'schema' => [ 118 'type' => 'string', 119 ], 120 ], 121 'type' => 'string', 122 'default' => wp_json_encode( [ 123 'nonce' => wp_create_nonce( 'wp_ajax' ), 124 ] ), 125 'sanitize_callback' => 'sanitize_text_field', 126 ] ); 127 } 128 129 function enqueueBlockAssets() { 130 wp_register_style( 131 'fontAwesome', 132 ILB_DIR_URL . 'assets/css/font-awesome.min.css', 133 [], 134 '6.4.2' 135 ); 136 // Icon 137 } 138 139 function onInit() { 140 register_block_type( __DIR__ . '/build' ); 141 } 142 143 function addToolsSubmenu() { 144 add_submenu_page( 145 'tools.php', 146 // Parent slug (Tools menu) 147 __( 'Icon List Block', 'icon-list' ), 148 // Page title 149 __( 'Icon List Block', 'icon-list' ), 150 // Menu title 151 'manage_options', 152 // Capability required to access this menu 153 'icon-list', 154 // Menu slug 155 [$this, 'renderToolsPage'] 156 ); 157 } 158 159 function renderTemplate( $content ) { 160 $parseBlocks = parse_blocks( $content ); 161 return render_block( $parseBlocks[0] ); 162 } 163 164 function renderToolsPage() { 165 ?> 166 <div id="bplAdminHelpPage" data-is-premium='<?php 167 echo esc_attr( ilbIsPremium() ); 168 ?>'> 169 <div class='renderHere'> 170 171 </div> 172 <div class="templates" style='display: none;'> 173 <div class="default"> 174 <?php 175 echo $this->renderTemplate( '<!-- wp:ilb/icon-list /-->' ); 176 ?> 177 </div> 178 <div class="theme2"> 179 <?php 180 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"dfdff","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"dfdf","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with check","des":"Type your description here","featureDes":"Feature with square check","link":"fdfd","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"dfdff","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"}],"themeOptions":{"rightIconColor":"#4527A4","isBadge":true,"isUrlIcon":true,"isButton":true,"isMaxWidth":true},"columns":{"desktop":2,"tablet":2,"mobile":1},"themes":{"theme":"theme2"}} /-->' ); 181 ?> 182 </div> 183 <div class="theme3"> 184 <?php 185 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with square check","des":"Type your description here","featureDes":"Feature with square check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"}],"width":"660px","columns":{"desktop":3,"tablet":2,"mobile":1},"themes":{"theme":"theme3"}} /-->' ); 186 ?> 187 </div> 188 <div class="theme4"> 189 <?php 190 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"dfdf","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with check","des":"Type your description here","featureDes":"Feature with square check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"dfdff","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"}],"columns":{"desktop":2,"tablet":2,"mobile":1},"themes":{"theme":"theme4"}} /-->' ); 191 ?> 192 </div> 193 <div class="theme5"> 194 <?php 195 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with square check","des":"Type your description here","featureDes":"Feature with square check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"}],"width":"641px","columns":{"desktop":3,"tablet":2,"mobile":1},"themes":{"theme":"theme5"}} /-->' ); 196 ?> 197 </div> 198 <div class="theme6"> 199 <?php 200 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with check","des":"Type your description here","featureDes":"Feature with square check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"}],"columns":{"desktop":2,"tablet":2,"mobile":1},"listIconColors":{"color":"#fff","bg":"rgba(5, 150, 105, 1)"},"themes":{"theme":"theme6"}} /-->' ); 201 ?> 202 </div> 203 <div class="theme7"> 204 <?php 205 echo $this->renderTemplate( '<!-- wp:ilb/icon-list {"lists":[{"icon":{"class":"fa-solid fa-star"},"text":"List items with a star","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"http://localhost/wordpress1/wp-content/uploads/2024/03/facebook.png"},{"icon":{"class":"fa-solid fa-check-circle"},"text":"List items with circle","des":"Type your description here","featureDes":"Feature with circle check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fa-solid fa-check-square"},"text":"List items with square check","des":"Type your description here","featureDes":"Feature with square check","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/1200px-Instagram_icon.png"},{"icon":{"class":"fa-solid fa-heart"},"text":"List items with heart","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://cdn1.iconfinder.com/data/icons/logotypes/32/circle-linkedin-512.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"},{"icon":{"class":"fas fa-check-square"},"text":"List item with square check","des":"Type your description here","featureDes":"Feature with star","link":"","badgeTitle":"Popular","theme6BtnTitle":"action","uploadIconUrl":"https://static.vecteezy.com/system/resources/previews/016/716/467/non_2x/twitter-icon-free-png.png"}],"width":"660px","columns":{"desktop":3,"tablet":2,"mobile":1},"themes":{"theme":"theme7"}} /-->' ); 206 ?> 207 </div> 208 </div> 209 </div> 210 <?php 211 } 212 213 function adminEnqueueScripts( $hook ) { 214 if ( 'tools_page_icon-list' === $hook ) { 215 wp_register_script( 216 'ilb-view', 217 ILB_DIR_URL . 'build/view.js', 218 ['react', 'react-dom'], 219 ILB_VERSION 220 ); 221 wp_register_style( 222 'fontAwesome', 223 ILB_DIR_URL . 'assets/css/font-awesome.min.css', 224 [], 225 ILB_VERSION 226 ); 227 wp_register_style( 228 'ilb-view', 229 ILB_DIR_URL . 'build/view.css', 230 ['fontAwesome'], 231 ILB_VERSION 232 ); 233 wp_enqueue_script( 234 'fs', 235 ILB_DIR_URL . 'assets/js/fs.js', 236 [], 237 '1' 238 ); 239 wp_enqueue_style( 240 'ilb-admin-help', 241 ILB_DIR_URL . 'build/admin-help.css', 242 ['ilb-view'], 243 ILB_VERSION 244 ); 245 wp_enqueue_script( 246 'ilb-admin-help', 247 ILB_DIR_URL . 'build/admin-help.js', 248 [ 249 'react', 250 'react-dom', 251 'wp-components', 252 'fs' 253 ], 254 ILB_VERSION 255 ); 256 wp_set_script_translations( 'ilb-admin-help', 'icon-list', ILB_DIR_PATH . 'languages' ); 257 } 258 } 259 260 } 261 262 new ILBPlugin(); 263 } 264 } -
icon-list-block/tags/1.0.9/readme.txt
r3187008 r3209155 1 1 === Icon List Block - Use icons instead of bullets in the list. === 2 Contributors: bplugins, abuhayat, charlescormier 2 Contributors: bplugins, abuhayat, charlescormier, noornabi2 , freemius 3 3 Donate link: https://www.buymeacoffee.com/abuhayat 4 Tags: block, business, card, address card, Gutenberg block5 Requires at least: 6. 2+6 Tested up to: 6.7 4 Tags: block, icon list, bullet list, menu icon, list icon 5 Requires at least: 6.5+ 6 Tested up to: 6.7.1 7 7 Stable tag: 1.0.9 8 8 Requires PHP: 7.1 … … 20 20 21 21 22 = Features = 23 - **Fully Customizable**: All the options you need to arrange the showcase to your liking are available here. 22 = Key Features = 23 - **Comprehensive Customization Options**: Arrange your showcase effortlessly with a wide range of settings tailored to your preferences. 24 - **Advanced Controls**: Includes extensive controls for link management, rotation, alignment, colors, borders, padding, margins, and more. 25 - **Custom Icon Selection**: Choose your preferred icons to enhance each list item with a personalized touch. 26 - **Custom Upload images**: Upload and use custom images to personalize your list items and make your content stand out. 27 - **Badge Title Configuration**: Assign specific titles to list item badges for added context and detail. 28 - **Unlimited List Items**: Add as many list items as you need, complete with customizable bullet points. 29 - **URL-Specific List Items**: Define URLs for individual list items to make them interactive and functional. 30 - **Theme Customization**: Select from various themes to match your design preferences. 31 - **Custom Set Grid for themes**: Customize grid layouts for themes to organize and display your list items with precision and style. 32 - **Add Grid Styles**: Choose from a variety of grid styles to create visually appealing and organized layouts for your list items. 33 - **Full Site Editor Compatibility**: Works perfectly with the Site Editor for a smooth editing experience. 34 - **No Block Library Dependency**: Operates independently without requiring any additional block libraries. 🎉 24 35 25 36 … … 135 146 = 1.0.0 = 136 147 * Initial Release 148 149 150 == Upgrade Notice == 151 152 = 1.0.9 = 153 * Fix the inner link visible issue. 154 155 = 1.0.8 = 156 * Update icon library 157 158 = 1.0.7 = 159 * Change list item message from the editor 160 161 = 1.0.6 = 162 * Add link tab option 163 164 = 1.0.5 = 165 * Add translate feature 166 167 = 1.0.4 = 168 * Add the link to the list item 169 170 = 1.0.3 = 171 * Fix Width 172 173 = 1.0.2 = 174 * Fix HTML Render 175 176 = 1.0.1 = 177 * Fix CSS issue 178 179 = 1.0.0 = 180 * Initial Release 181 182 183 == External Service == 184 185 = Service Name: Image source = 186 - Service URL: https://i.ibb.co.com/X5kT0kp/facebook.png 187 - Service URL: https://i.ibb.co.com/PMNw2gY/twitter.png 188 - Service URL: https://i.ibb.co.com/gwqfvbF/linkedin.png 189 - Service URL: https://i.ibb.co.com/268pCN9/instagram.png 190 191 192 == Main Image Source == 193 - Host URL: https://imgbb.com/ 194 - Download URL: https://www.flaticon.com/ 195
Note: See TracChangeset
for help on using the changeset viewer.