Displaying Selected Tags on User's Public Profile
-
I would be grateful if anybody could point me in the right direction please.
I have a WordPress setup which utilises Theme My Login and WP User Tags to allow users “tag” their user profiles from the front-end.
This works great but I am having difficulty displaying the user’s selected tags when somebody is viewing their public/front-end profile.
I have the following code, which simply lists all the tags available – however I am unsure of how to alter this code so that it only lists the tags that the specific user has specified;
<?php $args = array('taxonomy' => 'user_sector' ); $categories = get_categories($args); foreach($categories as $category) { echo '<div class="sector">'. $category->name.'</div>'; } ?>
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Displaying Selected Tags on User's Public Profile’ is closed to new replies.