Breadcrumbs doesn’t work

#263758
  • Resolved Hodo
    Rank Math free

    Hi there.
    I have a problem with breadcrumbs.
    In my case it doesn’t work.
    I followed your information about it, I did (I think) exactly, I modified the taxonomy, I used all the codes I found on the net, but … I can’t make it appear …
    I can’t figure out where the problem is, although it seems very simple.
    That’s why please help me.
    Info on sensitive data

    Thank you.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Tammy
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today, and we apologize for any inconvenience this may have caused.

    You can add the breadcrumbs code in the page.php or single.php files before title, so the code would be like this:

    /*
    * Add Rank Math Breadcrumbs just before the Single Post Content.
    */ 
    function rm_breadcrumbs( $content ) {
        if ( function_exists('rank_math_the_breadcrumbs') && is_singular() ) rank_math_the_breadcrumbs();
        return $content;
    }
    add_filter( 'the_content', 'rm_breadcrumbs' );

    I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.

    Thank you.

    Hello,

    It looks like you are trying to add the breadcrumbs using the Snippet Code plugin.

    I went ahead and added this to your snippet code:

    /*
    * Add Rank Math Breadcrumbs just before the Single Post Content.
    */ 
    function rm_breadcrumbs( $content ) {
        if ( function_exists('rank_math_the_breadcrumbs') && is_singular() ) rank_math_the_breadcrumbs();
        return $content;
    }
    add_filter( 'the_content', 'rm_breadcrumbs' );

    This should allow you to add the breadcrumbs globally to your content.

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

    Hodo
    Rank Math free

    .

    Hodo
    Rank Math free

    Thanks for the quick response. I know I did that too, but no, no effect.

    Hello,

    After adding the code, the breadcrumbs are now showing on your content. Please refer to my screenshot in the Sensitive Data section.

    I hope that helps. Looking forward to helping you with this one.

    Hodo
    Rank Math free

    That’s right, … it was in the description area …
    For custom and position I will use css.

    Thank you very much.

    Hello,

    I’m glad that it worked on your end.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hodo
    Rank Math free

    Hi.
    I return to the same post, not with a problem, but with a request for help, please, in customizing breadcrumbs.
    (As an idea, for many of the users rankmath would be very helpful maybe a minimal area of customization / positioning of breadcrumbs… I think).
    I’m trying to customize breadcrumbs.
    The css part is ok, but I want to move to another area, for example, under the menu bar and woocommerce before single product summary.
    I tried to create a php code, through which to hide in the area where it appears and to create a new field where it will appear again,… but I fail. I turn the whole site upside down.
    Can you please help me/us?
    Maybe a general code where to change only the desired file / position, for each case.

    Thanks.

    Ankit
    Rank Math business

    Hello,

    Sure, We would love to help you. Since this ticket is marked as resolved, You will not be able to add the sensitive data. I would advise you to mark it as unresolved and share the credentials of your website so that we can help you further.

    Looking forward to helping you. Thank you.

    Hodo
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Ankit
    Rank Math business

    Hello,

    Please kindly share the URL of your website too.

    Looking forward to helping you. Thank you.

    Hodo
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We would like to help change the breadcrumbs from the place but after logging in to your website we don’t have access to edit the theme files that would allow us to apply the PHP code in the appropriate area of your website.

    Please make sure that you give us admin-çeveç credentials so we can help you get the breadcrumbs right.

    Looking forward to helping you.

    Hodo
    Rank Math free

    Hello again.
    That address has full access to this account.
    Anyway I use Snippets to add extra codes.It’s installed.

    Hello,

    I have deactivated the snippet in the Code Snippets plugin and placed the code inside your theme’s header.php file. Now the breadcrumbs are placed just as you want.

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

Viewing 15 replies - 1 through 15 (of 19 total)

The ticket ‘Breadcrumbs doesn’t work’ is closed to new replies.