pauldory
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Adirondack] Featured Content Not WorkingI’m not sure what I did, but now it appears as expected … anyone else with this issue might want to check against this documentaion http://jetpack.me/support/featured-content/
Forum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] Using [shortcode] inside [accordion]Typo on my part, [sitenameshortcode] and [sitename] are the same …
Forum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] Using [shortcode] inside [accordion]It outputs the name of the site, for instance if it were MySiteName, I defined my function to use this as the name wherever the code is used with styling.
However when used inside the [accordion], it renders blank until it comes to another opening/closing shortcode then continues correctly after that.
It’s purpose is probably obvious … allowing for the formatting, and naming of the site across all pages and should it ever be changed, it’s editted in one place and the update is across the board.
function post_sitename() { return '<em>MySiteName</em>'; } add_shortcode('sitename', 'post_sitename');Forum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] Using [shortcode] inside [accordion]Again, thank you …. and great plugin!
Forum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] Using [shortcode] inside [accordion]Matt … Many places I am using [sitename] as my shortcode … between the accordion shortcode tags I can use [sitenameshortcode] but within the [accordions] this is a no go …
Is it a limitation by WP or the plugin?
To make it easier for the editors, I have applied the shortcode rule for them, and was hoping there was some solution that would allow that same shortcode to be used within (not between) other shortcodes …
In this case, should they ever want to change the name of the site, I figured using shortcode would be perfect .. then I came upon the issue with the accordion plugin …
Thanks for your help!