Forums

Advice removing Home button from Navbar and hiding meta section (5 posts)

  1. marshallj
    Member
    Posted 5 months ago #

    There are two things that seem like they should be pretty straight forward to do. I have found instructions in this forum on how to do both of them but when I make the changes, nothing happens.

    I want to hide the "home" button from the navbar so I can have a static landing page.

    I changed this in the Header.php <?php wp_list_pages('title_li=&exclude=1' ); ?>

    This is supposed to hide page 1 which is my home page but nothing!!!!

    I want to hide the weird "meta" section on the side bar.

    I removed <?php wp_meta(); ?>
    which was in the Header.php file. but nothing.

    It seems odd but the Sidebar.php file is showing that it's empy.

    I would really appreciate any input on this as I am just learning php. I'm familiar with css and html.

  2. esmi
    Member
    Posted 5 months ago #

    A link to your site would help but your probably need to edit sidebar.php and remove the hardcoded Home link immediately before wp_list_pages.

  3. marshallj
    Member
    Posted 5 months ago #

    Sidebar.php is empty. Odd?

  4. esmi
    Member
    Posted 5 months ago #

    Hmm... is your sidebar code in header.php? I wasn't sure if your reference to that file was a mistake but it looks like it wasn't.

  5. marshallj
    Member
    Posted 5 months ago #

    Yes, everything is in the header.

    Here is a link to the Theme I'm using.

    Thanks for the help.

Reply

You must log in to post.

About this Topic