PHP includes within a post on a page
-
I have been trying to include a line of links in a page of my wordpress blog, so that I can have sub-section links.
I cannot seem to get it to work.The file I’m trying to include, has been tried in the root of my blog, and within the theme folder.
The code I have tried in the page is:
<?php include (TEMPLATEPATH . "/djlinks.php"); ?>
<?php include ("./djlinks.php"); ?>
The links in the file to be included do not appear in the page, under the page title.
can anyone help?
This is for the rejuvenation of my blog site:
http://www.richarddawson.co.uk
specifically the Dj’ing section.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘PHP includes within a post on a page’ is closed to new replies.