I get an error message when I apply a new page template
-
I created a few new page templates for the web site I am building, following the guidance I have found here. I can see and select the new themes, but get an error message when I apply any of the new templates. The error says that no such file or directory on line 38. The code is below. Can someone tell me what I need to do to fix this? I am pretty much a novice, so this might be a really dumb question, but I am just plain stuck. Thanks very much. The template code follows:
Template Name: Page2Column
*/
?><?php get_header(); ?>
<div class=”art-contentLayout”>
<div class=”art-content”><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”art-Post”>
<div class=”art-Post-body”>
<div class=”art-Post-inner art-article”>
<h2 class=”art-PostHeader”>
” rel=”bookmark” title=”<?php printf(__(‘Permanent Link to %s’, ‘kubrick’), the_title_attribute(‘echo=0’)); ?>”>
<?php the_title(); ?>
</h2>
<div class=”art-PostContent”><?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>
<?php if (is_page() or is_single()) wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?></div>
<div class=”cleared”></div></div>
<div class=”cleared”></div>
</div>
</div><?php comments_template(); ?>
<?php endwhile; endif; ?></div>
<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
</div>
<div class=”cleared”></div><?php get_footer(); ?>
- The topic ‘I get an error message when I apply a new page template’ is closed to new replies.