Hello everyone! First of all sorry for my english…I tried to have an answer from Italian forum, but they didn’t help me…so here I am!
I have two big problems, and I need an answer to resolve them…
I moved the loop on a static page, instead of keeping it on the homepage as all blogs ( http://www.allofu2.com/notizie ). At the end of the page I put this piece of code:
<div class="alignleft"><?php posts_nav_link('', '', '« Previous Entries') ?></div>
<div class="alignright"><?php posts_nav_link('', 'Next Entries »', '') ?></div>
Clicking on the “previous entries” link on the bottom of the page I get a 404 error page, instead of previous posts, as should be (without header, too). Where the old posts have gone? Is there something wrong into the code above?
I recently switched my blog from Windows Hosting to Linux Hosting (on Apache server), and I activated permalinks. When I try to see if permalinks work, clicking on a post permalink I see the single post page without any header!
The same result appears if I try some search, or if I browse into my archives or categories, but not with static pages or with the homepage. If I switch back to non-permalink mode, the header comes back.
Checking my “single.php” page (and “archives.php” or “search.php”, too) I can’t see something strange, because I think that
<?php get_header(); ?>function is at the right place…at the very top of the code.
I hope someone could help me someway, and in the meanwhile I thank you all…
- The topic ‘No header in the single posts page’ is closed to new replies.