super archives “page”
hey guys. been trying to implement this for a while now, so i guess i’ll turn to the community. i’ve been trying to follow this great super archive tutorial so helpfully created here.
i’ve managed to do it before, but on a new website, i’m having some trouble. mainly because i’m using a different non-default theme perhaps?
i created a new “page” with wordpress 1.5 and tried to put in the <?php teb_super_archive() ?> function but it didn’t work (yes i did install some plugins like run-php that are suppose to allow you to er.. run php in the content of posts and pages)/
i guess my real problem is that i can’t seem to create a page for the live archives. i think my problem is because i’m using a theme, and so my real php files are all deep in the themes directory.
and therefore when i create a archives.php page and put it in my main “www” directory, using this code
<?php get_header(); ?>
<div id="content" class="widecolumn">
<?php teb_super_archive() ?>
</div><div style="clear: both;"></div>
<?php get_footer(); ?>
i get Fatal error: Call to undefined function: get_header() for example.
any ideas to help?
thanks for your time.
- The topic ‘super archives “page”’ is closed to new replies.