<?php
$array = array ();
foreach (get_users ("role=s2member_level1") as $user)
$array[] = $user->ID;
$leaderlist = implode (",", $array);
$args = array ("orderby" => "date", "order" => "DESC", "paged" => $paged, "author" => $leaderlist);
$wp_query = new WP_Query ($args);
?>
Statistics: Posted by Jason Caldwell — April 11th, 2011, 4:20 am
$leaderlist = S2functionhere("LeaderLevel");
//diyc
$args = array(
'orderby' => 'date',
'order' => 'DESC',
'paged' => $paged,
'author' => $leaderlist, //diyc
);
$wp_query = new WP_Query($args);
Statistics: Posted by cspowers — April 10th, 2011, 4:32 pm