WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to display post/category path in a template? (3 posts)

  1. ellena_l
    Member
    Posted 5 years ago #

    Hi all.
    I have few questions, but let's start with the first one.
    Part of a sitemap (my categories):
    -Memories // category
    -- Diaries // category
    --- Poems // category
    ---- O stars //single post in it

    I want to display a line with the following content:
    - "You are here: Memories" if I am on the category page "memories"
    - "You are here: Memories > Diaries" if I am on the category page "diaries"
    - "You are here: Memories > Diaries > Poems" if I am on the category page "poems"
    - "You are here: Memories > Diaries > Poems > O stars" if I am on the single post page with the post title "o stars"

    Is there any way to do it? Plugin or php, I don't care pretty much.
    PS. I'm using only categories for my blog navigation, no pages

  2. Joni
    Member
    Posted 5 years ago #

    It's a plugin and it's called breadcrumbs. Find it here:
    http://mtekk.weblogs.us/code/breadcrumb-navxt/

  3. ellena_l
    Member
    Posted 5 years ago #

    Thanks a lot ))

Topic Closed

This topic has been closed to new replies.

About this Topic