Add PHP inclue within the post content
-
I’ve got multiple posts with complex content displaying custom field groups. I’ve created a template php file with the standard display I need, but there doesn’t seem to be an easy way to run a php include withing the content. It is really dire that I figure out how to do this or I’ll be pulling my hair out trying to format each post manually.
And, no, I can’t just place the include above or below the content area.
How can I get this to work in the content of my post:
<?php include( TEMPLATEPATH . '/track1.php' ); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Add PHP inclue within the post content’ is closed to new replies.