Get_header() problem
-
Hello,
I’m creating a template on my local machine using xampp for the latest WordPress version. I have created an index.php which works just fine. I’m also trying to create a archive.php page that’s just a simple list. But that page is unable to access any of the php commands. For example for the header, I’ve tried<?php get_header(); ?>
and also<?php include (TEMPLATEPATH.'/header.php'); ?>
. The first gives me a “Fatal error” and the other gives me “Warning.” I’ve tried creating multiple other .php files (in the same template folder) but none can access any of the php attributes other than index.php.<?php wp_get_archives(); ?>
, doesn’t work either, not does<?php get_footer(); ?>
, none of them. I’m not sure what’s wrong.Thank you.
- The topic ‘Get_header() problem’ is closed to new replies.