WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Menu change

[Resolved] Menu change

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    That looks like a breadcrumb trail, but no one will be able to help much without a link to your site. It may be a plug-in, or it may be hard-coded into one of your theme files, or something else.

    Heres my website!
    http://bigcity.blogg-in.com

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    This is the code:

    <ul class="rd-page-navigation clearfix"><li class="pagenav"><strong>Pages</strong><ul><li class="page_item page-item-2 current_page_item"><a href="http://bigcity.blogg-in.com/sample-page/" title="Sample Page">Sample Page</a></li>
    </ul></li></ul>

    What you need to do is find the file in your theme that is generating it. It maybe somewhere in page.php or elsewhere. Best bet might be to search your files for this bit of text:

    rd-page-navigation

    When you find it, you’ll have found the code block that needs to be removed. Be sure to back up any files before making any changes in case something goes wrong. I’m also tagging this with the name of your theme – raindrops – as the theme maker probably is the best person to help you with this.

    does anyone else know the location of this file?

    i onI only found this at “page.php”

    if(empty($ancestor) and !empty($raindrops_list_pages)) {
    echo ‘<ul class=”rd-page-navigation clearfix root”>’;
    echo $raindrops_list_pages;
    echo ”;
    }else {
    echo ‘<ul class=”rd-page-navigation clearfix”>’;
    echo $raindrops_ancestor_list_page;
    echo ”;
    }

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    Try commenting out that whole block of code by putting it between
    /* and */

    Be sure to save a backup copy of your original, untouched page.php first, just in case.

    Is this supposed to look like this:

    /*
    if(empty($ancestor) and !empty($raindrops_list_pages)) {
    echo '<ul class="rd-page-navigation clearfix root">';
    echo $raindrops_list_pages;
    echo '';
    }else {
    echo '<ul class="rd-page-navigation clearfix">';
    echo $raindrops_ancestor_list_page;
    echo '';
    }
    /*

    I dont get it can you give me an example please.

    [Please post code snippets between backticks or use the code button.]

    and what is this for?
    <ul class=”rd-page-navigation clearfix”><li class=”pagenav”>Pages

      <li class=”page_item page-item-2 current_page_item”>Sample Page

    <ul class="rd-page-navigation clearfix"><li class="pagenav"><strong>Pages</strong><ul><li class="page_item page-item-2 current_page_item"><a href="http://bigcity.blogg-in.com/sample-page/" title="Sample Page">Sample Page</a></li>
    </ul></li></ul>
    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    Is this supposed to look like this:

    No. The opening comment indicator is OK – /*

    but you have the closing comment indicator as /* but it needs to be */

    http://www.tizag.com/phpT/comment.php

    and what is this for?

    It’s an HTML list that generates some navigation.

    thank you for the support 😀

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    My pleasure – glad it worked!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Menu change’ is closed to new replies.
Skip to toolbar