Using PHP in template files
-
Hi,
I copied the template file “link-template-default.php” to my child theme to customize the displayed content as described in the documentation. This works great until I try to use PHP in this file. All the PHP I add in the file gets commented out before it’s rendered.
Is there a way to use PHP in those template files?
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using PHP in template files’ is closed to new replies.