[Plugin: Post Snippets] WordPress PHP Tags in Snippets
Hello, first of all, thank you for the plugin, it’s fantastic!
I’m hoping that I’m just being dense, but I’m hoping I can use the
<?php bloginfo('template_directory'); ?>tag inside of a snippet, and it doesn’t seem to like it.
I’m creating a Shortcode for my snippet, and if I tick the PHP box, it doesn’t like the, mostly, HTML code in the snippet, and if I leave in unchecked, than it renders out the PHP tag as text.
- The topic ‘[Plugin: Post Snippets] WordPress PHP Tags in Snippets’ is closed to new replies.