i have made a custom archive page, and am trying to get the header and footer to show up, but it gives me errors with both get_header and include functions
it's as though the custom-archive.php page can't find the header.php in the theme's directory -even though they are in the same directory. I think this problem has to do with file paths, but i don't understand exactly how to write it out.
i don't understand why it won't work just like the single.php page, which calls the header and footer in a straightforward manner and works fine.
any help will be appreciated.
(with get_header)
Fatal error: Call to undefined function get_header() in /home/content/38/6023538/html/wordpress-mu/wp-content/themes/anomie_one_column/custom-archives.php on line 8
(with include)
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/content/38/6023538/html/wordpress-mu/wp-content/themes/anomie_one_column/custom-archives.php on line 7
Warning: include(http://anomie_theme_template.anomie.ca/wordpress-mu/wp-content/themes/anomie_one_column/header.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/content/38/6023538/html/wordpress-mu/wp-content/themes/anomie_one_column/custom-archives.php on line 7
Warning: include() [function.include]: Failed opening 'http://anomie_theme_template.anomie.ca/wordpress-mu/wp-content/themes/anomie_one_column/header.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/38/6023538/html/wordpress-mu/wp-content/themes/anomie_one_column/custom-archives.php on line 7
also, this is a sub theme on a wordpressmu site.
http://anomie_theme_template.anomie.ca/wordpress-mu/
the main site is anomie.ca