Support » Plugin: Jetpack by WordPress.com » Breadcrumbs not working

  • Resolved Tahir Taous

    (@tahirtaous)


    On my local WordPress installation, I added the following code in single.php file.

    <?php if ( function_exists( 'jetpack_breadcrumbs' ) ) : ?>
      <div class="breadcrumb-area">
        <div class="wrapper">
          <?php jetpack_breadcrumbs(); ?>
        </div><!-- .wrapper -->
      </div><!-- .breadcrumb-area -->
    <?php endif; ?>

    But I can not see BreadCrumbs navigation. It generates HTML markup only

    
    <div class="breadcrumb-area">
        <div class="wrapper">
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you let me know if you experience the same issue when including that snippet in page.php?

    Thanks!

    Yes same issue in page.php

    Yoast breadcrumbs working fine.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I can’t seem to be able to reproduce the issue right now. Are you editing an existing theme that I could download somewhere? If so, could you use pastebin to post the changes you’ve made to introduce Site Breadcrumbs?

    Thanks!

    I am using https://www.sitepoint.com/basetheme/. today i created a twentysixteen child theme, I can see breadcrumbs on page.php but can not see breadcrumbs on single post.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I am using https://www.sitepoint.com/basetheme/

    Thanks! I played with the theme a bit, and the breadcrumbs appear to work well with it. I added the bradcrumbs to 3 different template files:

    • content.php
    • content-page.php
    • content-postarchives.php

    Could you give it another try and let me know how it goes?

    I can see breadcrumbs on page.php but can not see breadcrumbs on single post.

    That’s to be expected. Breadcrumbs are only shown on pages and archive pages.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Breadcrumbs not working’ is closed to new replies.