wp_query filter for users in wordpress by button click event -


hey want let visitors in website filter between 3 different kinds of users. have 3 buttons in top of page. query

$args = array(    'offset' => $paged ? ($paged - 1) * $number : 0,    'number' => $number, ); 

it shows 12 users per page , gives pagination in bottom. how can change query through buttons? tried transfer data url , $_get function ruins pagination...please help!

by way know how filter user_meta_data. want know how there through button click event.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -