breadcrumbs

#443856
  • Resolved Philip Sumpter
    Rank Math free

    Hello,

    I have Rank Math SEO installed on my video WordPress website at https://internettvdotcom.com/how-to-videos/. I’m using the Covert VideoPress theme and would like to add Breadcrumbs. I followed the Breadcrumbs instructions and made the necessary changes.

    When I inserted the code below in my theme right before the ending Header tag like so…

    <header class=”site-header” role=”banner”>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
    <hgroup>
    <h1 class=”site-title”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </hgroup>

    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>
    </header>
    </div>
    —————–

    …No Breadcrumbs appeared in my posts.

    Then I read your ‘Native Theme Support, section. I didn’t know whether this applied to me or not but I went ahead and followed the instructions.

    If I am to do this, How do I add the following code to my function.php?

    The instructions said to include the following code to the theme’s functions.php file or attach it to the hook ‘after_setup_theme’. I found the ‘after_setup_theme’ code but don’t know exactly where to insert the add_theme_support( ‘rank-math-breadcrumbs’ ); code.

    This is what I see…

    add_action(“after_setup_theme”, “imwb_videopress_setup”);
    add_action(“widgets_init”, “imwb_videopress_widgets_init”);
    add_action(‘wp_head’,’imwb_videopress_head’,50);
    // add_action(‘wp_footer’, ‘imwb_videopress_footer’, 50 );
    add_filter(‘imwb_videopress_filter_content’, ‘imwb_videopress_content_filter’, 10, 2);
    add_filter(‘excerpt_more’, ‘imwb_videopress_excerpt_more’);
    add_filter(‘excerpt_length’, ‘imwb_videopress_excerpt_length’);
    —————–

    If I am supposed to add the add_theme_support( ‘rank-math-breadcrumbs’ ); code, where exactly do I insert it?

    If I’m going about this the wrong way, please advise.

    Thanks

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

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

    Adding the breadcrumbs code in the header section should be enough and it should work. Can you please head over to your WordPress Dashboard > Rank Math > General Settings > Breadcrumbs and ensure the option “Enable breadcrumbs function” is enabled?

    If that’s already enabled and the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Thank you for replying to me.

    I turned on ‘Enable breadcrumbs function’ again and inserted the code again right above the </header>…. ‘<?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>’

    Still no luck. Breadcrumbs not appearing in my posts. I hope my theme is compatible.

    Hello,

    The breadcrumb is indeed been loaded but your theme seems to be blocking it and our breadcrumbs can’t be seen.

    I tried moving the breadcrumbs just below the header section and you can see it appears:

    breadcrumbs

    For now, I have reverted back the breadcrumbs code back to the previous placement.

    Since we don’t have knowledge about the structure of your theme, I recommend checking this with your theme provider and asking them where’s the best file or line to put the code.

    Looking forward to helping you.

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

The ticket ‘breadcrumbs’ is closed to new replies.