Linking to archives.php?
I’m trying to put a link in my header to an archives page listing all my entries. I’m working with the default wordpress theme, and discovered a file called ‘archives.php’ in the theme’s directory. However, when I try to link to it using:
…in the header, I get the following error message in my browser:
‘Fatal error: Call to undefined function: get_header() in /Sites/wordpress/wp-content/themes/mytheme/archives.php on line 7’
- The topic ‘Linking to archives.php?’ is closed to new replies.