WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] set post type automatically when categorizing? (2 posts)

  1. photocurio
    Member
    Posted 2 years ago #

    I don't want my client to have to remember that every time he makes a post in the portfolio category that he needs to set the post type also. I want all posts with a certain category to have a certain post type.

    I saw a thread that discusses how to automatically assign categories to post types, but I want to do it the other way around. The reason is that I don't want to have to explain to the client what post types are, I just want them to work in the background and keep it simple.

  2. photocurio
    Member
    Posted 2 years ago #

    I solved my problem without post types. I installed the plugin Ambrosite Body Class Enhanced

    This puts the category into the body class of the single post. Since all I really needed was to style certain categories differently, this works.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.