Quote:
Originally Posted by Venum
For excluding categories, example:
'category__not_in' => array(catID, catID)
For including categories, example:
'category__in' => array(catID, catID)
For tags: tag__in & tag__not_in
|
Im doing something wrong here, I keep getting parse errors
where exactly does it go?
<?php $args = array( 'numberposts' => 42, 'orderby' => 'category_name=blowjobs');'category__not_in' => array(catID, catID); didnt work got parse error
<?php $args = array( 'numberposts' => 42, 'orderby' => 'category__not_in' => array(catID, catID); didnt work got parse error
what I have on now that works at displaying 1 cat but does not randomize it
<?php $args = array( 'numberposts' => 42, 'orderby' => 'category_name=blowjobs');
for that I just replaced the 'orderby' => 'rand'); with the 'orderby' => 'category_name=blowjobs');
would like to add a few more categories and have it randomize them