Allows Shortcodes to be used nearly everywhere, not just in posts and pages.
Shortcodes can be added to Post Excerpts, Page Titles, Post Titles, Widgets, Widget Titles, Custom Fields, Site Title and Description, not just Pages and Posts as is already provided by WordPress itself. This allows Shortcodes to be used in Sidebars, Menus, Headers, Footers and even the HTML <title>
element that appears in the Title Bar of most browsers.
A Settings page includes checkboxes to select where Shortcodes might appear:
<title>
Priority is an Advanced Setting beside each checkbox that controls the timing of the WordPress Filter associated with each Where? setting. This is provided solely to address conflicts with other themes and plugins that use the same WordPress Filter (“hook”).
A default Warning feature, which can be disabled on the Settings page, displays a message at the top of every Admin panel if the plugin is Activated but doing nothing because no Where? checkboxes are selected (other than the mandatory In Pages and In Posts settings).
All Shortcodes are supported by this plugin, no matter whether you are using Shortcodes defined by:
[gallery]
, [audio]
, [caption]
, [embed]
or [video]
add_shortcode()
functionFuture versions will include more areas of the WordPress web site where Shortcodes may be used, based on the needs of users of this Plugin.
No attempt has been made to allow Shortcodes to be used to display values in Admin panels. This is the default WordPress behaviour, and changing it may have unintended (negative) consequences.
Plugin Developers may find the Table-Driven Design of interest. This was a popular concept in the 1980s and was used in this plugin to simplify the use of WordPress Filters. The two-dimensional global array $jr_saoe_filters is the Table involved.
This plugin was created to satisfy a request from a user of the Current Year and Copyright Shortcodes plugin to use these Shortcodes in a Page Title.
This section describes how to install the jonradio Shortcodes Anywhere or Everywhere plugin and get it working.
/jonradio-shortcodes-anywhere-or-everywhere/
directory to your WordPress web site’s /wp-content/plugins/
directory.Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. Please visit the new ZATZLabs Forums. If you need a timely reply from the developer, please open a ticket. There’s a field on the support ticket specifically for feature requests.
get_post_metadata
filter<title>