Pull posts from all categories if quantity is not met?
I would start by creating an array to put your posts into, to create a counting system of some kind. Dump your list item output into that array, count it, and use the remaining count to call your second query. <?php $term = get_term_by(‘slug’, get_query_var(‘term’), get_query_var(‘taxonomy’)); $sticky = get_option(‘sticky_posts’); // Moved the base arguments into … Read more