Viewing 12 replies - 1 through 12 (of 12 total)
  • 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.

    Thread Starter cbreihof

    (@cbreihof)

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

    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="https://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.

    Thread Starter cbreihof

    (@cbreihof)

    does anyone else know the location of this file?

    Thread Starter cbreihof

    (@cbreihof)

    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 ”;
    }

    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.

    Thread Starter cbreihof

    (@cbreihof)

    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.]

    Thread Starter cbreihof

    (@cbreihof)

    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

    Thread Starter cbreihof

    (@cbreihof)

    <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="https://bigcity.blogg-in.com/sample-page/" title="Sample Page">Sample Page</a></li>
    </ul></li></ul>

    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 */

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

    and what is this for?

    It’s an HTML list that generates some navigation.

    Thread Starter cbreihof

    (@cbreihof)

    thank you for the support ??

    My pleasure – glad it worked!

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