Breadcrumbs not overwriting

#99710
Viewing 15 replies - 16 through 30 (of 33 total)
  • Hello,

    many thanks for your kind answer.

    I did the steps you told me, and it appears now under the H1, just like normal text. It’s not good since it’s taking up to much screen space from the first look that visitors get.

    i am using your plugin iwth Foodie Pro on my other site and here it looks fine: https://paulinaontheroad.com/winter-getaways-in-wisconsin/

    How can I do the same on my visitsouthernspain.com site?

    Many thanks,

    Hello,

    That is a bit tricky as it depends on the theme. If the theme uses get_the_title() or the_title()function then you can use the_title filter instead of the_content

    But you will have to make sure to add this only on the single page because the_title() function is usually used on all the pages like archive, category etc.
    Eg:

    
    function rm_breadcrumbs( $content ) {
        if ( function_exists('rank_math_the_breadcrumbs') && is_singular() && is_main_query() ) rank_math_the_breadcrumbs();
    	return $content;
    }
    add_filter( 'the_title', 'rm_breadcrumbs' );

    Please share your logins if you would like us to try it out for you.

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

    Hello,

    yes,

    would it be possible to do it on my behalf?

    I am really not so tech savvy.

    Logins are posted in the Sensitive Data section

    Sorry, I replied from my other account, but the reply is still valid.

    thank you

    Hello,

    We tried the above code on your website but it doesn’t work. Your theme isn’t straight forward like usual WordPress themes and we are having a hard time finding the correct file to edit or the correct filter to use.

    You could seek your theme developer’s help with this or even ask StudioPress for help. They should be able to help you edit the above code or tell you the correct place to add the code for showing the breadcrumbs above the post title instead of below it.

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

    Hello,
    many thanks for your reply.

    I reached out to the developers of Foodie Pro Theme and they say:

    “We only recommend and support Yoast, not Rankmath.

    Please reach out to Rankmath directly for support with their plugin.”

    I don’t know anymore how to fix this? 🙁

    Best,

    Hello,

    This is not about Rank Math or any other SEO plugin.

    You need to ask them how to output custom code above the title of single posts and pages. That has nothing to do with supporting Rank Math or another plugin = it is their theme, and a paid one at that, and they must provide you better support and tell you how to output custom code above titles. If we are able to do whatever is in our power to help you with a free plugin – they must help you with a Paid theme.

    Please reach out to them and tell them that the plugin you use is illevant, and ask them how to output code above titles.

    Hope that helps.

    Hello,

    many thanks for your reply.
    As suggested I contacted the developers of Foodie PRO theme and they don’t want to tell me where and how to output custom code above the title of single posts and pages.

    “Theme support is limited to assisting with setting up sites to look and function like the demo. Anything beyond that is customization and outside the scope of what we can offer as part of theme support”

    I am using the same theme on my main blog paulinaontheroad.com and here the breadcrumbs work fine. I work with the same settings.

    What can I do?

    Is there any other way to output custom code above the title of single posts and pages?

    A million thanks,

    Hello,

    If it is working on one of the sites, there must be something set different in the two. You can share the access to the site where the breadcrumbs are working as expected, we can try and see check what the differences may be in the two.

    If you have not made any custom changes, you can also use a plugin such the WP Theme downloader to download the theme from the working site and test to see if it works on your second site.

    Looking forward to helping you

    Hello,

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

    Thank you.

    Hello dear,
    many thanks for your kind and quick reply.
    I did not do any custom changes. I did the same as for my second site where the issues are (visitsouthernspain.com)
    I edited the sensitive information for the working site as “working site”
    Can you please let me know if you managed to get any insights?
    Many thanks,

    Hi,

    I checked both your sites and on the ‘working site’, you have a number of customizations and filters in your functions.php making it quite different from the other site. You can confirm the same from your end.

    Also, where have you added the breadcrumbs code in the second site?

    Looking forward to helping you.

    Hi dear,

    many thanks for your kind and quick reply.

    The main difference between the 2 sites is that the non-working site (visitsouthernspain.com) has Elementor. For the rest it should be the same.

    I added the code, according to the indications of your colleague (as per previous messages in thie conversation)

    He told me to proceed as follows:

    1. Please open the functions.php file of your child theme and put this code at the very end:

    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’ );
    2. Then, disable the Genesis Breadcrumbs from Genesis > Theme Settings > Breadcrumbs.

    Uncheck all options.

    That’s what I did and since then breadcrumbs appear as normal text and add a second menu when on mobile.

    Hi,

    After spending an amount of time looking through your files, I was able to place the breadcrumbs above the title by changing the functions to the following:

    
    function rm_breadcrumbs( $content ) {
        if ( function_exists('rank_math_the_breadcrumbs') && is_singular() && is_main_query() ) rank_math_the_breadcrumbs();
    	return $content;
    }
    add_filter( 'genesis_before_loop', 'rm_breadcrumbs' );
    

    Hope this helps. Thank you

    Wooooowwww!!!!
    You are amazing!!!!!!!
    Thank you so much!!!

    However they still appear as a second menu when on mobile.

    How can we still amend that? And then we’re good to go! 🙂

    Thank you so much

    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 15 replies - 16 through 30 (of 33 total)

The ticket ‘Breadcrumbs not overwriting’ is closed to new replies.