Hi Alex,
Is it possible to modify the get_results function to exclude a category? I noticed that in older versions, you used get_posts, but now I'm not sure how to do it for get_results. Thanks!
Hi Alex,
Is it possible to modify the get_results function to exclude a category? I noticed that in older versions, you used get_posts, but now I'm not sure how to do it for get_results. Thanks!
It's easier to just replace that with:
$rawposts = get_posts( ... );
Use the args from the old version.
Just reinstalled an older version and made the change. It works! Thanks!
Hey, what goes in . . . for those of us who need a clue ;)
Replace the line in the current plugin that has $rawposts = $wpdb->... with something like this:
$rawposts = get_posts( 'numberposts=-1&cat=-123' );
It'll use more memory but should do the trick.
This topic has been closed to new replies.