how to adjust the old html-pages?
-
I want my old html-files to use the same template as the wp-files.
So I’ve split the index.php into 3 (as described in the thread about integrating other files into wp): header.php. posts.php and footer.php
the main index.php calls those 3 files and that works fine, see: https://www.boneless.nl/aa/
Now for the old-files i did the following:
<?php include(‘wp-includes/header.php’) ?>
<div class=”storycontent”>
then follows the original html (the body section)
and then follows:
</div>
<?php include(‘wp-includes/footer.php’) ?>
It just don’t work, neither does hard coding the entire url to header and footer.
I’ve made an example, see: https://www.boneless.nl/aa/popquiz/uitleg.php
ofcourse all the wpress-files are in the standard wp-dirs.
So, what can I do to make the entire site looks like the layout of the wp-part of the site?
Please help!
Boneless
- The topic ‘how to adjust the old html-pages?’ is closed to new replies.