Forum Replies Created

Viewing 4 replies - 61 through 64 (of 64 total)
  • Thread Starter boardtc

    (@boardtc)

    @iridiax, ok, following Creating_Your_Own_Page_Templates I set up a whatsnew.php in my templates directory. This help page you reference also says “Although you can put Template Tags and PHP code into a Page Template, you cannot put these into the content of a Page and expect them to run.”. I have not been able to figure out how to include it in my _page_ – your post suggested to me it was possible to do this via templates rather than having to use the plugin…

    Thread Starter boardtc

    (@boardtc)

    The file is actually more an .inc file, it includes a html table and contents only, but not body tag, etc.

    I want to update this document regularly. It’s included in 2 places which is why I want to do an include. It seemed to me that there had to be a better way than including in the TEMPLATEPATH as there is no relation to the theme and then you have to move it when you change themes.

    I was under the impression wordpress was more flexible. Anyway, thanks.

    Thread Starter boardtc

    (@boardtc)

    I’ve also tried without success
    <?php include($_SERVER[‘DOCUMENT_ROOT’].”/includes/whatsnew.inc”); ?>
    where I have created an includes folder containing whatsnew.inc off my root

    I have been looking to also import a number of html pages. In the settings | manage | Import page there are option to import from blogger and lots of other system but not just regular html files! ??

Viewing 4 replies - 61 through 64 (of 64 total)