My question is for getting informations or directions about how to move for a task I have to do. This is just a request for advices due to the fact I'm not an expert in wordpress development.
My task would be to create a module (widget or just a query) which suggests registered users based on categories they've subscribed (user taxonomy like profession), just after somebody else post something.
I'll do an example:
- I post a job (form) selecting which profession it'd be dedicated for (user taxonomy);
- After the confirmation I get a widget showing 3 suggested users, matching the profession (user taxonomy) I've selected while posting.
I've created the user taxonomy but I don't really know where to start for this task. Do you know any article or question talking about something like it? Can you drive me to what I should study for it?
Thanks.
WP_User_Query()
. Read it (there are plenty of examples on that page), try it and get back to us if it didn't work out. :-)wp_user_relationships
for example or is this relationship saved as user meta inwp_usermeta
table.. Please add a taxonomy to one of your users and check it out. Then I can help you further.wp_terms
table. More specifically I've followed exactly this tutorial. @TwerkingN00b