[Resolved] How to display Yoast Breadcrumbs for Categories

Home Forums Support [Resolved] How to display Yoast Breadcrumbs for Categories

Home Forums Support How to display Yoast Breadcrumbs for Categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1534051
    Chitika

    Currently I have enabled Yoast breadcrumbs using hook element.
    But for categories, it displays for each post showing the “Home” link.
    Is it possible that it displays the breadcrumbs at the top. i.e like for posts. Just above the category label.

    #1534073
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I understand.

    Are you wanting to remove the Home link from the breadcrumbs?

    If so that’s something you will need to check with Yoast’s support team.

    Let me know 🙂

    #1534300
    Chitika

    Ok. Sorry for my bad communication.

    Let me explain.

    For each category page, I have the corresponding posts displayed.
    Due to my current setting, the Yoast breadcrumbs are being displayed above each post excerpt.
    i.e if I have 9 posts under a particular category, then 9 breadcrumbs are displayed.

    Instead of that, I would like it to display at the top, only once per category page.
    Hope I am clear

    #1534367
    David
    Staff
    Customer Support

    Hi there,

    you will need to create a separate Hook element for your Category Archives. And choose a Hook that is outside of the content area eg. generate_before_main_content

    This guide shows you the various archive hooks:

    https://docs.generatepress.com/article/hooks-visual-guide/#archives

    #1541995
    Chitika

    Thanks @David. Its working.

    #1542132
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.