WordPress.org

Ready to get started?Download WordPress

Forums

Tempera
[resolved] Breadcumbs add link to tag (5 posts)

  1. robgon1971
    Member
    Posted 2 months ago #

    Good morning,

    I want to show the tag name into the breadcumbs when i click on a tag in my tag widget. Anyone knows how to do it?

    Best regards.

  2. robgon1971
    Member
    Posted 2 months ago #

    Solved.

    In your theme-functions.php, find function tempera_breadcrumbs() and add:

    if (is_tag()) {
    $category = get_the_category();
    echo ''.$category[0]->cat_name.''.$separator.single_tag_title('', false);
    }

  3. robgon1971
    Member
    Posted 2 months ago #

    Solved.

  4. esmi
    Forum Moderator
    Posted 2 months ago #

    Do not edit the theme itself. First create a child theme for your changes.

  5. theZedt
    Member
    Posted 2 months ago #

    Thanks for pointing that out, robgon1971.
    This correction will be included in the next update.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.