Support » Themes and Templates » get categories and tags by author
7 years, 6 months ago
I am creating a blog with many authors and I would only like to display their categories and tags .. on author.php
is there a something similar to this functions that allows you to get only the categories by a specific author?
<?php $categories = get_categories( $args ); ?>
One possibility would be to use the template tag, get_posts(), to retrieve all posts for an author, then rifle through those posts to collect the list of categories and tags used.
great thanks .. can you please explain a little further? I looked at both .. but I am not sure how to do what you suggest .. thanks a million
7 years, 5 months ago
hey slivehappy im trying to do the exact same thing as you, have you found a solution yet?
michael explained a way that i can display the categories, but i want to explode categories the author has not written in. right now it just displays every category that exists