WordPress.org

Ready to get started?Download WordPress

Forums

Can't remove tab in navigation menu bar (5 posts)

  1. dvallee
    Member
    Posted 4 years ago #

    Hi everyone. I am new to wordpress and I am having an issue. I decided to delete a page, but the navigation menu bar still shows "member login" tab. The page is deleted in my dashboard but it still seems to be pointing to this link: http://rockstarmortgagebroker.com/?page_id=3

    My website is http://www.rockstarmortgagebroker.com

    I don't know what to do to remove this, please let me know what to do. Thanks in advance!

  2. Steven Jones
    Member
    Posted 4 years ago #

    Are you using a dynamic menu i.e.

    <?php wp_list_pages('title_li='); ?>

    If not then you'll have to delete it from the header.php folder. If it's still coming up and you've claim it has been deleted then that's odd.

    If it's causing a massive problem then use

    <?php wp_list_pages('title_li=&exclude=3'); ?>

    Steve

  3. dvallee
    Member
    Posted 4 years ago #

    Hi Steve, thank you for replying. So I went into the header.php and this is what I see:

    <?php
    /**
    * Handle the opening HTML and actions.
    *
    * @package Thesis
    */

    # Added to appease certain plugins which check for this code in this file:
    # wp_head();
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">

    <title><?php thesis_output_title(); ?></title>

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <?php wp_head(); ?>

    </head>

    <body<?php thesis_body_classes(); ?>>

    <?php thesis_hook_before_html(); ?>

    Where should I put: <?php wp_list_pages('title_li=&exclude=3'); ?>

    Thanks
    Dan

  4. dvallee
    Member
    Posted 4 years ago #

    I tried putting: <?php wp_list_pages('title_li=&exclude=3'); ?> right under the <title><?php thesis_output_title(); ?></title> and the tab is still showing up.

    What should I do?

  5. Steven Jones
    Member
    Posted 4 years ago #

    It needs to go in the div called 'page'

    <div id="page">
    <ul class="menu">
    <?php wp_list_pages('title_li=&exclude=3'); ?>

    I'm not sure where it would be in the thesis theme but look around for ul class="menu" and you should find it.

Topic Closed

This topic has been closed to new replies.

About this Topic