Linux 软件免费装
Banner图

SMK Sidebar Generator

开发者
更新时间 2026年2月17日 21:33
PHP版本: 5.6 及以上
WordPress版本: 6.9.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget sidebar generator custom sidebar conditional sidebar

下载

3.4.0 3.4.1 3.4.2 3.4.3 3.2.0 3.6.0 3.3.1 3.5.0 3.5.1 3.5.2

详情介绍:

SMK Sidebar Generator is a powerful yet easy-to-use WordPress plugin that lets you create unlimited custom sidebars and conditionally display them anywhere on your website - without writing a single line of code. Whether you need different sidebars for your blog, shop, landing pages, or specific posts, this plugin gives you complete control over your widget areas. [youtube https://www.youtube.com/watch?v=VvKjYLDu_W0] Why Choose SMK Sidebar Generator? Key Features Unlimited Sidebars Create as many sidebars as you need. Perfect for blogs, business sites, WooCommerce stores, or any WordPress website. Replace Theme Sidebars Seamlessly replace your theme's default sidebars with custom ones. No theme file editing required. Conditional Display Show different sidebars based on: Drag and Drop Management Reorder your sidebars with an intuitive drag-and-drop interface. Easily organize and prioritize your widget areas. Responsive Admin Interface Modern, clean admin UI that works great on any device - desktop, tablet, or mobile. Shortcode Support Display any sidebar anywhere using a simple shortcode: [smk_sidebar id="your-sidebar-id"] Developer Friendly Use PHP functions in your theme templates: `<?php // Display sidebar by ID if ( function_exists( 'smk_sidebar' ) ) { smk_sidebar( 'your-sidebar-id' ); } // Or use WordPress native function dynamic_sidebar( 'your-sidebar-id' ); // Get all registered sidebars $sidebars = smk_get_all_sidebars(); ?>` Perfect For Support and Documentation

安装:

Automatic Installation (Recommended)
  1. Go to Plugins > Add New in your WordPress admin
  2. Search for "SMK Sidebar Generator"
  3. Click Install Now, then Activate
  4. Navigate to Appearance > SMK Sidebars to create your first sidebar
Manual Installation
  1. Download the plugin ZIP file
  2. Go to Plugins > Add New > Upload Plugin
  3. Upload the ZIP file and click Install Now
  4. Activate the plugin
  5. Navigate to Appearance > SMK Sidebars to start creating sidebars
Using FTP
  1. Download and extract the plugin ZIP file
  2. Upload the smk-sidebar-generator folder to /wp-content/plugins/
  3. Activate through the Plugins menu in WordPress
  4. Configure at Appearance > SMK Sidebars

屏幕截图:

  • **Conditional Settings** - Set up rules to display sidebars on specific pages, posts, or post types
  • **Sidebar Removal** - Safely delete sidebars with a time-limited restore option to prevent accidents

升级注意事项:

3.6.0 Major update with redesigned admin interface, security improvements, and bug fixes. Tested with WordPress 6.9.1. Recommended for all users. 3.5.0 PHP 8+ compatibility update. Recommended for users on PHP 8.0 or higher. 3.0 Complete rewrite with new features. Please test on a staging site before updating on production.

常见问题:

How do I create a new sidebar?

  1. Go to Appearance > SMK Sidebars in your WordPress admin
  2. Click the "Add New Sidebar" button
  3. Enter a name and optional description
  4. Save your changes
  5. Go to Appearance > Widgets to add widgets to your new sidebar

How do I display a sidebar on a specific page?

  1. Create or edit a sidebar in Appearance > SMK Sidebars
  2. Select which theme sidebar to replace in the "Sidebars to replace" dropdown
  3. Check "Enable conditions"
  4. Click "Add condition" and select the page(s) where you want this sidebar to appear
  5. Save changes

Can I use the sidebar in page builders like Elementor or Beaver Builder?

Yes! Use the shortcode [smk_sidebar id="your-sidebar-id"] in any text widget or shortcode module. You can find each sidebar's shortcode displayed in its settings panel.

Will this plugin slow down my website?

No. SMK Sidebar Generator is lightweight and only loads its assets on the admin pages where needed. On the frontend, it simply filters which sidebar to display with minimal overhead.

Does it work with my theme?

Yes! The plugin works with any properly coded WordPress theme. Your generated sidebars will automatically inherit your theme's sidebar styling.

Can I display a sidebar using PHP in my theme?

Yes, use either method in your theme template files: <?php smk_sidebar( 'your-sidebar-id' ); ?> Or the native WordPress function: <?php dynamic_sidebar( 'your-sidebar-id' ); ?>

How do I find my sidebar ID?

The sidebar ID is displayed in each sidebar's settings panel, along with the shortcode. You can also use smk_get_all_sidebars() to get an array of all sidebar IDs and names.

Can I show different sidebars for different categories?

Yes! When adding conditions, select the post type archive or use taxonomy conditions to target specific categories, tags, or custom taxonomies.

Is this plugin compatible with WooCommerce?

Yes! You can create shop-specific sidebars and use conditions to display them only on WooCommerce pages like the shop, product pages, cart, or checkout.

Can I translate this plugin?

Yes! The plugin is translation-ready. You can contribute translations on translate.wordpress.org or create your own using the included POT file.

Where can I report bugs or request features?

Please use the GitHub Issues page for bug reports and feature requests.

更新日志:

3.6.0 3.5.2 3.5.0 3.4.3 3.4.2 3.4.0 3.1 3.0 2.3.2 2.3.1 2.3 2.2 2.1 2.0