• I’m wondering if there is a built-in way or if someone has written a plugin that will force posts from certain users to belong to a certain category.

    For instance, I want to force all posts created by users with a role of “author” or “contributor” to be long a certain category XYZ.

    I haven’t found a way to do this with the built-in features of WP unless I am missing something and a quick google search of plugins didn’t reveal anything either.

    has anyone done this before or know of a way to do it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I know how to do it. At least, I could cook up something fairly quickly (I think) that would do it. Just use one of the post hooks— probably edit post– to apply your categories to posts published by particular authors. It would take a wee bit of coding, but not too much if you hard code everything. If you want shiny interfaces and options and such it could get more complicated.

    i’m sure that could be done with a plugin (it’s a good idea actually), but there’s no way to do it with the built-in features.

    Thread Starter cpjolicoeur

    (@cpjolicoeur)

    ok, thanks guys.

    I know that I could do it via writing a new plugin, but I just wanted to put some feelers out and make sure someone hadnt already done it.

    Guess its time to write another plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Force post category for certain users’ is closed to new replies.