- This topic has 10 replies, 3 voices, and was last updated 3 years, 11 months ago by Tom.
March 11, 2017 at 1:28 am #290056Andy
Hiya, I can see that shortcodes work in the Page Header ‘content’ section, but when I try to use one to show the content of a ‘Spot’ (‘Spots’ plugin) it just displays the shortcode notation. (I’m trying to use a Spot as it has the TinyMCE features for editing). Is this something I can fix at your end, or should I contact them? Cheers!GeneratePress 1.3.44GP Premium 1.2.94March 11, 2017 at 7:08 am #290129LeoStaffCustomer SupportMarch 11, 2017 at 10:18 am #290178TomLead DeveloperLead DeveloperMarch 11, 2017 at 1:13 pm #290205Andy
Hi Leo and Tom – thanks for the reply… the shortcode works fine when added to the main page content inside the TinyMCE box, but not in the Page Header box: See this test site: https://inspiredbusinessmarketing.com/dev/demo/test-page/March 11, 2017 at 2:50 pm #290223LeoStaffCustomer SupportMarch 11, 2017 at 3:24 pm #290228Andy
Hi Leo – not sure I follow… I have added the shortcode [icitspot id=”20″] to BOTH the Page Header box and the page’s main TinyMCE edit box. So when the page is displayed, the main content shows what it should (the text: “This is the content inside the ‘Spot’”), but where I added the shortcode to the Page Header content box it just shows the shortcode text in white. I don’t understand how the shortcode works in one place but not the other.March 11, 2017 at 3:51 pm #290229TomLead DeveloperLead DeveloperMarch 11, 2017 at 4:45 pm #290236Andy
Hi Tom – it’s the shortcode to insert a ‘spot’ from the ‘Spots’ plugin: https://wordpress.org/plugins/spots/March 11, 2017 at 8:46 pm #290253TomLead DeveloperLead Developer
Hmm, not sure why it wouldn’t work, as the page header textarea runs through the do_shortcode() WordPress function.
Might be worth asking the developer of that plugin if it will only run inside the WP content and no where else.March 12, 2017 at 1:03 am #290281Andy
Okay – will do. Thank you for looking, Tom 🙂
Edit: I have been able to get this to work by creating a custom shortcode to insert the Spot (with a parameter of the Spot’s name), but this relies on the user (client) typing it all in correctly. I shall persevere with the plugin authors.March 12, 2017 at 7:36 am #290366
- You must be logged in to reply to this topic.