Breadcrumb

Home Forums Gravida Support Breadcrumb

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77380
    Menyhárt
    Member
    • Topics: 5
    • Replies: 13
    • Total: 18
    Member since: November 18, 2016

    Hi,

    I would like to insert Yoast SEO breadcrumb code into the theme.
    I tried bottom of header.php. It works but appears on the main page as well, on the other page appears between the header and the header image.
    I tried on page.php simple does not appear the breadcrumb anywhere.

    Which is the correct place for Yoast SEO breadcrumb code?

    <?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘
    <p id=”breadcrumbs”>’,'</p>
    ‘);
    }
    ?>

    #77402
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25285
    • Total: 25285
    Member since: August 16, 2013

    Hi,

    Kindly show us your website URL so that we can assist further.

    Regards,
    Brad

    #77415
    Menyhárt
    Member
    • Topics: 5
    • Replies: 13
    • Total: 18
    Member since: November 18, 2016

    Hi,

    https://lmhr.hu/

    Laci

    #77475
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25285
    • Total: 25285
    Member since: August 16, 2013

    Hi,

    Kindly edit gravida-pro/sktframe/core-pageheader.php and paste below code at the very end.

    <?php if(!is_front_page()) { 
      if ( function_exists('yoast_breadcrumb') ) {
      yoast_breadcrumb('<div class="center"><p id="breadcrumbs">','</p></div>');
      }
    } ?>

    After that kindly go to Appearance » Customize » Basic » Custom CSS and paste below code there:

    #breadcrumbs {
        clear: both;
        margin: 0;
        padding: 25px 0;
    }

    Regards,
    Brad

    #77516
    Menyhárt
    Member
    • Topics: 5
    • Replies: 13
    • Total: 18
    Member since: November 18, 2016

    Thank you!
    It works

    Laci

    #77548
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25285
    • Total: 25285
    Member since: August 16, 2013

    Hi Laci,

    If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/7/

    Regards,
    Brad

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.