Shortcode in custom post templates issue
-
I’m trying to use the plugin via shortcode (<?php echo do_shortcode(‘[AAIU theme=”true”]’); ?>) in my single post templates for some custom post types. In single.php for regular posts it works like a dream, however, for custom post types it simply links to /# and gets no further. Entering the shortcode in the body of a post also works, but unfortunately this won’t work for my needs.
From reading through the plugin code, my best guess is that in this situation the theme attribute is somehow being ignored so none of the scripts fire, but I can’t even begin to imagine why that would be the case.Any insight on the issue on much appreciated.
https://www.ads-software.com/extend/plugins/alchemist-ajax-upload/
- The topic ‘Shortcode in custom post templates issue’ is closed to new replies.