Apraksts
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.
Uzstādīšana
- Upload
galaxius-custom-sidebarsto 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.
BUJ
- If both a post and a category have a custom sidebar set which will be displayed?
-
Post.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Galaxius Custom Sidebars” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Galaxius Custom Sidebars” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.1
Fixed a bug in the style options.
1.0
Initial release.