开发者 | greenshady |
---|---|
更新时间 | 2011年5月17日 01:40 |
捐献地址: | 去捐款 |
PHP版本: | 3.1 及以上 |
WordPress版本: | 3.2 |
hybrid-hook
to the /wp-content/plugins/
directory.readme.html
file.This plugin was created so that end users and non-developers could take advantage of the Hybrid theme's extensive hook system. It allows the input of HTML, PHP, shortcodes, and JavaScript from the WordPress admin. It's a way to work around having to learn how to use the WordPress plugin API and just add content anywhere.
Under Appearance > Hybrid Hook, you can add custom code in individual textareas. Each textarea corresponds to one of the Hybrid theme's hooks, and each is accompanied by a priority input box and a checkbox to execute PHP.
More detailed instructions are included in the plugin's readme.html
file.
hybrid_before_page_nav
setting.hybrid_after_page_nav
setting.hybrid_after_single
setting.hybrid_after_page
setting.hybrid_before_primary_menu
setting.hybrid_after_primary_menu
setting.hybrid_after_singular
setting.unfiltered_html
cap is checked.edit_theme_options
cap to edit the settings. This replaced the edit_themes
cap.hybrid_before_entry
, hybrid_after_entry
, hybrid_before_subsidiary
, and hybrid_after_subsidiary
.