shortcode not working on template
-
Hi
could you please be more specific than in your FAQ (https://help.xyzscripts.com/docs/insert-php-code-snippet/faq/can-i-embed-the-php-snippet-into-my-template-file/) for the code to use on template page?Here is the only example you provide (no idea what xyz-ips stand for…)
<?php echo do_shortcode( ‘[xyz-ips snippet=”Test”]’ ); ?>Examples of what i tried:
<?php echo do_shortcode( ‘[wbcr_php_snippet id=”2135″]’ ); ?><?php echo do_shortcode( ‘[wbcr_php_snippet id=”2135″ title=”chicago”]’ ); ?>
Nothing works, it doesn’t produce an error, it just does nothing…
thanksLola
The topic ‘shortcode not working on template’ is closed to new replies.