Statistics: Posted by Jason Caldwell — August 27th, 2010, 11:33 am
Statistics: Posted by johnmont — August 18th, 2010, 12:31 pm
/includes/functions/catg-level-access.inc.php
/includes/functions/post-level-access.inc.php
Statistics: Posted by Jason Caldwell — August 17th, 2010, 3:01 pm
Statistics: Posted by johnmont — August 17th, 2010, 10:23 am
foreach( $catids as $catID ) {
if (MEMBER CANNNOT ACCESS CATEGORY) continue; <<<<---- check and skip
$args = array( 'posts_per_page' => $numposts, 'cat' => $catID, 'post_type' => array( 'post', 'gallery','ad') );
$my_query = new WP_Query($args);
while ($my_query->have_posts()) : $my_query->the_post();
if (MEMBER CANNNOT ACCESS POST) continue; <<<<---- check and skip
echo $post->ID;
endwhile;
}
$args = array( 'posts_per_page' => $numposts, 'cat' => $catID);
$my_query = new WP_Query($args);
Statistics: Posted by johnmont — August 7th, 2010, 10:45 am