Home › Forums › Calendar Products › Events Calendar PRO › Adrotate shortcode not recognized.
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
August 15, 2012 at 3:26 pm #23717
David
MemberJust switched from a different calendar Plugin to ECP, and everything has been going smooth, except for this one small issue I can’t seem to work out. When first setting up the header I had an adrotate short code in with the html and the ads were displaying fine. However, as soon as an event is entered the ad no longer shows and instead just the shortcode text. You can flip between the months and if there are no events, you will see an ad, if there is an event, you will just see the text. I have gone through all the usual advise of de-activating plug-ins, loading default themes, etc. Anyone encounter this before or have any ideas?
August 22, 2012 at 10:26 am #23953Jonah
ParticipantHi David,
I’m not exactly sure what the problem could be and will need some more information in order to troubleshoot. Where is the shortcode placed and do you have a link you can share so I can see it in action?
Thanks,
JonahAugust 29, 2012 at 8:23 pm #24327David
MemberLink to calendar. http://tinyurl.com/8g2hyhs
Shortcode is placed in templates HTML beginning of calendar area. If you go back into July/June where no events are entered the short code works correctly. If an event had been entered it no longer works.September 4, 2012 at 7:36 pm #24564Jonah
ParticipantHi David,
Sorry for the delayed response here. I don’t believe the Before and After HTML blocks in the plugin settings can execute shortcodes so you will need to manually insert them into the templates using the WordPress native do_shortcode tag (http://codex.wordpress.org/Function_Reference/do_shortcode)
You can do this either in the /wp-content/plugins/the-events-calendar/views/gridview.php, /wp-content/plugins/the-events-calendar/views/ecp-page-template.php or your theme’s page.php or header.php template files. If you want to modify our plugins templates, make sure you make copies and place in an ‘events’ folder in your theme to preserve the core copies.
I hope that helps but let me know if you need anything else.
Cheers,
– JonahJuly 7, 2015 at 6:26 am #977677Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Adrotate shortcode not recognized.’ is closed to new replies.
