Opis
Create sidebars through an admin interface and apply widgets. Using conditions, apply the sidebars to certain pages / posts depending on what you select.
Versions
- Version 1.0 – Initial Release
- Version 1.1 – Passed slug to dynamic_sidebar at end of control mechanism (lost in original changes)
Snimke zaslona
Instalacija
- Upload the entire folder of the plugin (‘sidebars’ folder) to your plugins directory (‘/wp-content/plugins/’ folder).
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- A new item on the menu will appeared that says ‘Sidebars’.
- Also, in your template files, location the function
dynamic_sidebar
and replace it withgo_sidebar
. The dynamic_sidebar function could be anywhere but it will mostly likely be in the sidebar.php file.
ČPP
- In what order do the conditions apply?
-
- The ID of the post / page
- The parent of the post / page
- The category of the post / page
- Get the default sidebar
- Do you need any other template tags besides replacing dynamic_sidebar with go_sidebar?
-
No. As long as you replace
dynamic_sidebar
withgo_sidebar
it will work fine.
Recenzije
Nema recenzija za ovaj dodatak.
Suradnici i Programeri
“Sidebars” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.
SuradniciPrevedite “Sidebars” na svoj jezik.
Zainteresirani ste za razvoj?
Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.