Tagged: combo widget, exclude
Actually, I just messed with the code a little more and now it is super flexible–I can exclude by post ID and/or category ID:
$exclude = array(1983);
$query = array('cat' => '-14', 'posts_per_page' => $posts, 'orderby' => 'comment_count', 'post__not_in' => $exclude);
avia_get_post_list($query, false);
Thanks again for all the help. I think this solution should work well for me.
Hi,
Great! I am glad you were able to get this resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon