How to assign a category without user selection.
-
Hi
great plugin and it so very nearly does what I need.I run a members site and use roles extensively to manage member privileges. That means a member may have 2 or more roles – ie his default role and others that allow him to do things.
So in this context (ie creating a post) I need to be able to assign a post category to a each post based on the role that is currently ‘active’ for the member. I have found I can assign a default category to each role in ‘frontier post settings’ but this is not working when a user has multiple roles – understandably the plugin finds the first matching role for him and assigns that default category to the post. More often than not, that is the wrong one.
So I need away to assign/set the category (without user action) when the post is actually created.
Is there a way I can do this – perhaps via a new parameter (eg. set_category_to=”something”) to the shortcode in addition to the “frontier_mode=add” parameter?.
I cant allow the member to select a category from a list because they will often get that wrong too.
- The topic ‘How to assign a category without user selection.’ is closed to new replies.