WordPress.org

Ready to get started?Download WordPress

Forums

single post category page ? (5 posts)

  1. jurrieburrie
    Member
    Posted 8 years ago #

    How can i make a category dependent header outside the loop to display the category name or category id etc. with a single post.
    I've managed to do this with the category template which displays multiple posts (eg. domain.com/category-a/).
    Now i'd like to have the same effect with a single post (eg. domain.com/category-a/post-title-or-something/) page.
    The category in my case is a root category, but perhaps it could also be possible with child categories?!

  2. moshu
    Member
    Posted 8 years ago #

    Maybe you need this plugin:
    http://guff.szub.net/2005/07/21/post-templates-by-category/
    Read carefully the upgrade notes - there is an "inheritor" plugin mentioned, too!

  3. jurrieburrie
    Member
    Posted 8 years ago #

    I'd prefer a pluginless solution, but your post seems usefull in case it turns out not to be possible

  4. moshu
    Member
    Posted 8 years ago #

    If there was a solution without a plugin I'd have posted it.

  5. jurrieburrie
    Member
    Posted 8 years ago #

    Hmm, works fine, thanx :)

Topic Closed

This topic has been closed to new replies.

About this Topic