Assign post category automatically based on xprofile field or member type
-
Hi,
I would like to automatically assign a category to a post based on the author’s xprofile field. (and also possibly based on member type, if I decide one day to “migrate” this xprofile field to member type).
I have tried to start from this thread:
https://wordpress.org/support/topic/automatically-add-posts-to-a-category-conditionally?replies=4
but that code alone does not work.I have also looked at hacking this plugin (https://wordpress.org/plugins/author-category/) with which an author can be assigned a category manually in backend, but I have to admit this is beyond my current skills.
Has anyone any idea how to achieve this?
- The topic ‘Assign post category automatically based on xprofile field or member type’ is closed to new replies.