Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

designerfosh on "Filter Function based on Author Meta Field Values"

$
0
0

I have a custom field with radio boxes added to my WP Authors Profile. I am also using a wp contributors function to display all the authors. I would like to filter the authors this function displays based on whether or not the custom radio box is checked yes or no.

Any help is appreciated!

Contributors Function
http://www.wpbeginner.com/wp-tutorials/how-to-display-an-author-list-with-avatars-in-wordpress-contributors-page/

Custom user field
$featauth = get_the_author_meta( 'featauth', $user->ID);


Viewing all articles
Browse latest Browse all 8245

Trending Articles