Title: Post Ordering
Last modified: August 22, 2016

---

# Post Ordering

 *  [Noel Forte](https://wordpress.org/support/users/fortissimo95/)
 * (@fortissimo95)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-ordering-1/)
 * 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/](https://wordpress.org/plugins/zoninator/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/zoninator.svg)
 * [Zone Manager (Zoninator)](https://wordpress.org/plugins/zoninator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zoninator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zoninator/)
 * [Active Topics](https://wordpress.org/support/plugin/zoninator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zoninator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zoninator/reviews/)

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)
 * [zones](https://wordpress.org/support/topic-tag/zones/)

 * 0 replies
 * 1 participant
 * Last reply from: [Noel Forte](https://wordpress.org/support/users/fortissimo95/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/post-ordering-1/)
 * Status: not resolved