Galaxius Custom Sidebars
开发者 |
Aaron McCann
|
更新时间 |
2013年8月23日 19:52 |
PHP版本: |
3.5.1 及以上 |
WordPress版本: |
3.6 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
This allows you to quickly create a unique sidebar for any post, page, category page or for all posts belonging to a category. You simply enter a name for the sidebar when you create or edit a post, page or category. Browse to Appearance -> Widgets, find your new sidebar and add some widgets to it.
安装:
- Upload
galaxius-custom-sidebars
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Replace the sidebar code with
<?php dynamic_sidebar(Galaxius_Sidebars::get_sidebar('Default Sidebar Name')); ?>
wherever you want to have a custom sidebar. 'Default Sidebar Name' is the name of the sidebar that should be called when no custom sidebar has been set. You can just copy it from the code you are replacing.
常见问题:
If both a post and a category have a custom sidebar set which will be displayed?
Post.
更新日志:
1.1
Fixed a bug in the style options.
1.0
Initial release.