WordPress.org

Ideas

Category templates

  1. snakefoot
    Member

    12345

    Like some pages can be given a template for certain styling (divert from default), then it would be nice if one could assign a template to categories.

    That way one could easily give special categories a custom style.

    Posted: 8 years ago #
  2. varkenshand
    Member

    12345

    Good idea, it is possible to do some smart programming, like
    Lorelle demonstrated, but it makes sense to extend this
    function further than Pages only.

    Posted: 8 years ago #
  3. YaaL
    Member

  4. snakefoot
    Member

    12345

    Didn't know such a hack existed (category-6), and when dealing with few categories, then doing it by id would do.

    But when having multiple categories with the same look and others that don't, then I would prefere to be able to assign category templates like with pages (Also a little more intuitive).

    Posted: 8 years ago #
  5. varkenshand
    Member

    12345

    I was aware of the Category Template hack, but imho the idea also includes assigning templates to single pages belonging to a given category.

    Posted: 8 years ago #
  6. sophiedennis
    Member

    12345

    Isn't all this functionality already covered by conditional tags for templates and pages?

    Posted: 8 years ago #
  7. Mark
    Member

    12345

    This is template logic, and as such is better left to the template layer. No need to add it to the core. Additionally, as noted above, this is already covered by conditional tags like incategory() and iscategory and by the category-ID.php templates.

    Posted: 8 years ago #
  8. Huvet
    Member

    12345

    I would say the current way is good enough, lets focus on more important issues.

    Posted: 7 years ago #
  9. FireDollJamie
    Member

    While I would love to see this - a plugin which exposes the option for category template "by name" to the manage > categories page would be just as easy in those cases where it is required.

    Posted: 7 years ago #
  10. idealien
    Member

    Idealien Category Enhancements does what you require!

    Posted: 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    102 Votes
  • Status

    This is plugin territory