Custom template not working for my blog page
-
I wanted to remove the headers for my static pages, so I made custom templates. I copied the index template and removed the code below and applied the templates to all the static pages. For some reason the headers disappeared on my blog page without changing it’s template. The blog was still set to main template, but the headers won’t show up. I made a copy of the main template and called it blog and set it to my blog page, and they still wont show up. If I set my static pages template to the main template or blog the headers show up.
<h2 class="art-PostHeaderIcon-wrapper"> <span class="art-PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"> <?php the_title(); ?> </a></span> </h2>
??????
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom template not working for my blog page’ is closed to new replies.