Linux 软件免费装
Banner图

Thinker Sidebar Shortcode

开发者 thinkerwebdesign
更新时间 2021年12月9日 00:00
捐献地址: 去捐款
PHP版本: 3.4+ 及以上
WordPress版本: 4.9
版权: GPLv3
版权网址: 版权信息

标签

sidebar shortcode widget area sidebar shortcode widget area shortcode shortcode for sidebar sidebar in page sidebar in post sidebar via shortcode sidebar by shortcode sidebar from shortcode sidebar per shortcode

下载

1.0.0

详情介绍:

Features: How to Use: Method 1 - (Recommended Use: Add a sidebar using a sidebar Name.) A sidebar Name can be found in the Appearance > Widgets section of your WordPress Admin Area. Example uses: [sidebar name="your-sidebar-name"] [sidebar name="your-sidebar-name" class="custom-class"] [sidebar name="your-sidebar-name" class="custom-class-1 custom-class-2 custom-class-3"] Method 2 (Advanced WP Users: Add a sidebar using a sidebar ID.) A sidebar ID can be found in your themes register_sidebar functions, usually in the themes functions.php file. Example uses: [sidebar id="your-sidebar-id"] [sidebar id="your-sidebar-id" class="custom-class"] [sidebar id="your-sidebar-id" class="custom-class-1 custom-class-2 custom-class-3"] General Notes Demo: Visit Plugin URI

安装:

  1. Install the plugin using the Plugins menu in your WordPress Admin Area or upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in your WordPress Admin Area.
  3. Add sidebar shortcodes using the instructions in the above How to Use section.

屏幕截图:

  • How to find a sidebar Name.
  • How to find a sidebar ID.
  • Example use of the shortcode.

升级注意事项:

1.0.0 This is the initial release of the plugin.

常见问题:

Why is my shortcode not working as expected?

Either no widgets are in the desired sidebar or the shortcode attributes are incorrect. See instructions in the above How to Use section.

How can a sidebar Name be found?

Sidebar Names can be found in the Appearance > Widgets section of your WordPress Admin Area. See the Method sections and Screenshots section for details.

How can a sidebar ID be found?

Advanced WP users can find sidebar IDs in the active themes register_sidebar functions, usually in the themes functions.php file. See the Method sections and Screenshots section for details. See also: https://codex.wordpress.org/Function_Reference/register_sidebar

How many custom classes can be used?

There is no limit to the number of custom classes.

Can a sidebar Name and sidebar ID be used in the same shortcode?

Yes, but a valid sidebar ID will override a sidebar Name if both are present in the same shortcode.

更新日志:

1.0.0