WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. robgon1971
    Member
    Posted 1 month 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 1 month 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 1 month ago #

    Solved.

  4. esmi
    Forum Moderator
    Posted 1 month ago #

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

  5. theZedt
    Member
    Posted 1 month 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.