Support » Fixing WordPress » Problem with Contempt Theme displaying extra pages

  • Hi,

    I’ve recently just moved my blog to my own website, having previously hosted it on wordpress.com. The move was successful, and I installed the same theme as I used on wordpress.com, yet it displays in a faulty manner.

    You can see the faulty version here:

    http://thestarchamber.mattkeefe.com/

    In contrast to the correct version on my old wordpress.com site:

    http://thestarchamber.wordpress.com/

    In essence, what seems to be happening is that a link to every single page on the blog is appearing under the header, and thus throwing the layout all over the place, but I have no idea why it is doing this.

    Any suggestions?

    Thank you in advance,

    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think the layout on wordpress.com only showed the parent pages in your navigation and not the children as well.

    You might try excluding the pages you don’t want.

    Yeah, this appears to be the case, but I can’t locate where the setting or code is that specifies whether the pages shows parent pages only, or children as well.

    Any idea where it might be?

    Cheers,

    Matt

    I’ve located the problem here – the header.php file needs the below line adding:

    <?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’)?>

    Cheers!

    Matt

    Then just figure out what pages need to be excluded and add them to that code.

    Hi,

    i think i arrive a bit late, but i would like to fix the problem of the theme contempt version 2 (is the same of the first version)…

    where shall i place the code in the head.php, Matt Keefe? instead of what?

    may be there is a new version without this problems….

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with Contempt Theme displaying extra pages’ is closed to new replies.