WordPress: automatically create a category inside custom taxonomy from authors name

On my website different authors can write an article. I’m trying to create a filter so people can include/ exclude specific authors from a query.

To do this, i want to be able to automatically create categories inside a custom taxonomy named ‘team’. That way I can query the categories inside the filter.

I know it is possible to auto create categories from post titles (see stackoverflow here). But how can I do this for every author created?

Read more here: WordPress: automatically create a category inside custom taxonomy from authors name

Leave a Reply

Your email address will not be published. Required fields are marked *