including files in pages
-
I have a wordpress installation and I want to reuse a what’s new file on a number of pages. The only reference I found for including files was in templates, so I am trying in my page (not template):
<?php include(TEMPPATH . ‘/includes/whatsnew.html’); ?>
where /includes/mypage.html is added to my template directory.
But this does not work. Any advice appreciated
Thanks, Tom.
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.
If you don’t understand the difference, you may find this information helpful.
- The topic ‘including files in pages’ is closed to new replies.