include php file
-
Grateful for advice.
I’m trying to include a php file–a disclaimer that needs to show up on a subset of posts.
I’ve read related codex topics and forum discussion. Following what’s there, I gave each of the following a try in the body of the post:
<?php include “mydisclaimer.php”; ?>
and
<?php get_template_part(‘mydisclaimer.php’); ?>
(Also tried the above with the full path. This should be easy. Clearly, I’m misunderstanding the how-to.
Again, grateful for advice.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘include php file’ is closed to new replies.