Apraksts
Implements a set of WordPress shortcodes and theme additions that allow widget content (initially just sidebars but eventually any text) to be used in any page or post using simple shortcodes.
Usage
For a sidebar:
[show_sidebar id="<sidebar id>"]
Attributes
- id: the id or name of the sidebar to be shown.
Uzstādīšana
- Install Widget Magic either via the WordPress.org plugin directory, or by uploading the files to your server. If uploading the files to your server create a
widget_magicdirectory in your/wp-content/plugins/directory and uploadwidget_magic.phpinto that directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
BUJ
- Why Widget Magic
-
I needed to reuse a specific piece of content in multiple places (specifically a sidebar in a page with no sidebar). This let me do that. In general WordPress does not appear to make it trivial to reuse smaller pieces of content in multiple places.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Widget Magic” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Widget Magic” 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
- Readme changes.
1.0
- Initial implementation.