Feast Theme Breadcrumbs

#470959
  • Resolved Rachael Belle
    Rank Math free

    I am reading through the support article about adding breadcrumbs and I cannot figure out where to add the breadcrumbs code in the theme editor. I do not have a

    The Feast Theme does not support RankMath so I’m hoping that you can help me.

    From what I’m seeing I do not have a single.php file or the header.php spot in the theme editor.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    In this case, please try using this filter on your theme’s functions.php file

    add_action( 'generate_after_header', function() {
        if ( function_exists('rank_math_the_breadcrumbs') ) {
            rank_math_the_breadcrumbs( '<div class="grid-container grid-parent"><p id="breadcrumbs">','</p></div>' );
        }
    } );

    If it’s still not showing, then you may need to get in touch with your theme provider and ask for assistance setting up the breadcrumbs from Rank Math to your theme files.

    Hope that helps.

    Thank you.

    What will ‘show up’ once I have it in the theme editor?

    Hello,

    Provided that the filter is added correctly the breadcrumbs should appear after the header of the theme with the settings you have chosen under WordPress Dashboard > Rank Math > General Settings > Breadcrumbs.

    Don’t hesitate to get in touch if you have any other questions.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Feast Theme Breadcrumbs’ is closed to new replies.