do_shortcode() not working
-
I have been using do_shortcode() in a template file for quite a while and it worked before the upgrade to 3.0 and now it seems not to be working. I have changed the shortcode to [calendar id=”###”] and it still does not work.
This is the code:
<?php echo do_shortcode('[calendar id="20645"]'); ?>
on this page: http://academicaffairs.risd.edu/As a test I put the shortcode in the body of a page and it then worked.
If you could suggest a fix that would be helpful. I know I can use a widget but in the context using a shortcode in the file is much easier.
Thanks.
Daniel
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘do_shortcode() not working’ is closed to new replies.