Breadcrumb is not appearing

#67120
  • Resolved Manoj
    Rank Math pro

    Hello,

    I activated the Rank Math breadcrumb on the site. But it is not appearing is there any reason for that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Just to be sure, did you add the following code in your theme template files to display breadcrumbs?

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>

    Looking forward to helping you. Thank you.

    ​​​​​​​

    How to put a color background on it

    Alberto
    Rank Math business

    Hello yemen,

    Where do you mean? In the Rank Math breadcrumbs? Usually, it would be better to change the background of the page where they are, but you could use CSS to select the breadcrumbs elements, for example:

    nav.rank-math-breadcrumb {
       background:red;
    }

    Looking forward to help you.

    Hello Alberto,

    I inserted the code in single.php. But getting the following error, Parse error: syntax error, unexpected ‘<‘, expecting end of file in /home/blogg040/public_html/howtoboy.com/wp-content/themes/pixwell/single.php on line 6.

    Hello,

    I added the code to your template files: Templates> page.php for pages and Templates > Single > Layouts for posts.

    P.S. I replaced the theme breadcrumb functions.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Breadcrumb is not appearing’ is closed to new replies.