• Hi, I’m trying to include a zone on a page of mine, but the content is only being ordered by the date, and not the order that the zone has my posts in. Do I have to add something else to the query? Also, is it possible to query using WP_Query or is querying zones only possible through custom functions?

    Here’s my code so far:

    <?php $query_articles = z_get_zone_query('front-page-main');
    	if ($query_articles->have_posts()) : while ($query_articles->have_posts()) : $query_articles->the_post();
    	        if (is_array($do_not_duplicate) && in_array($post->ID, $do_not_duplicate)) continue;
    	        get_template_part('content', 'front-grid');
    	endwhile; else:
    	echo "No articles to show.";
    endif; $query_articles = null; //Reset ?>

    https://wordpress.org/plugins/zoninator/

  • The topic ‘Post Ordering’ is closed to new replies.