PHP being rendered as plain text
-
In order to load an image in a page, I am using <?php echo get_bloginfo(‘template_directory’); ?> to get the template url but instead of giving me a uri the code snippet is being rendered as plain text. I alsi tried <?php echo ‘TEST’; ?> with the same result
I’m using the Underscores theme and WAMP as a local server
What can be going on?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘PHP being rendered as plain text’ is closed to new replies.