Viewing 2 posts - 31 through 32 (of 32 total)
  • Author
    Posts
  • #795091

    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.

    #795134

    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

Viewing 2 posts - 31 through 32 (of 32 total)
  • The topic ‘Enfold Combo Widget – Popular Posts’ is closed to new replies.