trestianub
Member
Posted 2 years ago #
Hi there,
I'm trying to build a hardcoded page inside the theme folder
Example:
'<?php get_header(); ?>
<div id="content-wide" class="clearfix">
<div class="post">
My Hardcoded Content
</div>
</div>
<?php get_footer(); ?>'
But so far i'm stuck with this error:
Fatal error: Call to undefined function get_header() in ..../wp-content/themes/logitheme/page-bucharest-soundscapes.php on line 1
Any thoughts? Can anyone help pls?
trestianub
Member
Posted 2 years ago #
Also tried '<?php include("header.php"); ?>'
&got this error:
Fatal error: Call to undefined function language_attributes() in .../wp-content/themes/logitheme/header.php on line 2
I believe to make the hardcoded page, it has to be a page template...
which starts like
<?php
/*
Template Name: yourTemplate
*/
?>
<?php get_header(); ?>
http://codex.wordpress.org/Pages#Page_Templates