Forums

Two Home buttons (5 posts)

  1. katetoon
    Member
    Posted 2 years ago #

    Hi

    Building a site http://www.stonecash.com
    Two home pages appearing.

    Under settings > reading
    I have 'Front page displays' set to 'static page'
    Front page 'home'
    Blog post 'news'

    But it doing this seems to have generated an additional homepage button
    I'm using BlogChemistry theme

    Thanks
    Kate

  2. henkholland
    Member
    Posted 2 years ago #

    Hi Katetoon,

    Inside your theme files, on your server, find
    index.php or header.php In one of these find a line like this one:
    <?php wp_list_pages('sort_column=menu_order&exclude=33&title_li='); ?>

    The &exclude=33 part is what you have to add.

    If you are ftp-ing, change the file on your pc (after making a backup) and the upload the changed file.

  3. katetoon
    Member
    Posted 2 years ago #

    HI

    I can't find that line of code in either header or main index :-(

    Any other ideas?
    Ta
    Kate

  4. henkholland
    Member
    Posted 2 years ago #

    So its gone. Where did yo find it? It would be great for others to read that (and I am curious). Also, can you edit your startpost title to [resolved] Two Home buttons ?

  5. songdogtech
    Member
    Posted 2 years ago #

    Exclude Pages plugin is a possibility; it gives you an checkbox option to exclude any page from main menu navigation. It's easier than editing a theme.

Topic Closed

This topic has been closed to new replies.

About this Topic