• Good afternoon. Faced with great difficulty.
    I need to specify the “bread crumbs” for your site, but I have not seen single.php usual references h1 and the like. This topic is prescribed code anyway?
    I ask your help in this matter. I use the plugin “SEO by Yoast” prescribed code looks like this:

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

    After what I have to tag insert this code for an adequate display breadcrumbs?
    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @kronos1705,

    It sounds like you’ll want to add that code to the single.php file, right after this line:

    <main id="site-main" class="site-main" role="main">

    I would also recommend that you make this change using a child theme.

    Thread Starter Andrew Bondar

    (@kronos1705)

    Thanks a lot for the help.
    I really do not understand the value child theme.

    Hi there,

    If you edit your theme files to accommodate custom changes, when the theme updates, you will lose those changes. Your only option is to re-edit your files, or not update your theme.

    Child themes make it easy to add customizations that will be preserved, even if the parent theme is updated. Which is why it’s a good idea in this situation.

    Hope that helps!

    Hi

    I’ve just found this thread after posting a support ticket for Make on this subject. I was hoping for an action to add breadcrumbs in above h1.entry-title, but can’t find one.

    So, adding to the child theme it is, but in addition to the above change to single.php, you’ll need to add the breadcrumbs code to page.php, template-builder.php, archive.php and for completeness, 404.php.

    Cheers
    Matt

    Hey Matt,

    I was just coming from your post on TTF to reference here. ??

    We have a ticket open to improve upon this in a future release!

    Sweet, thanks Melissa.

    And I’ll check my Google-fu first before raising a ticket in future ??

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