Quote:
Originally Posted by Venum
You have to replace catID with your category ID, example if your category ID for blowjobs is 43:
<?php $args = array( 'numberposts' => 42, 'orderby' => 'rand', 'category__in' => array(43) );
If you like to exclude category, then replace category__in to category__not_in.
If you like to include or exclude multiple categories the you can but them like this: array(43, 56, 78)
|
Awesome, works good. thanks
As im sure your aware this is in side word press themes page php editor.
so although its on each "Page" its not actualy "in" page if you follow me.
How could I use this "in" page, say like so it can randomize to specific posts/cats like a featured post ?