Stable tag: 0.10.1
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: zones, post order, post list, posts, order, zonination, content curation, curation, content management
Contributors: batmoo, automattic, wpcomvip, pkevan, matthumphreys, potatomaster, jblz, nickdaugherty, betzster, garyj
Content curation made easy! Create "zones" then add and order your content!
This plugin is designed to help you curate your content. It lets you assign and order stories within zones that you create, edit, and delete, and display those groupings of related stories on your site.
This plugin was originally built by Mohammad Jangda in conjunction with William Davis and the Bangor Daily News.
/wp-content/plugins/
directoryYou can work with a zone's posts either as an array or a WP_Query object.
WP_Query
$zone_query = z_get_zone_query( 'homepage' );
if ( $zone_query->have_posts() ) :
while ( $zone_query->have_posts() ) : $zone_query->the_post();
echo '<li>' . get_the_title() . '</li>';
endwhile;
endif;
wp_reset_query();
Posts Array
$zone_posts = z_get_posts_in_zone( 'homepage' );
foreach ( $zone_posts as $zone_post ) :
echo '<li>' . get_the_title( $zone_post->ID ) . '</li>';
endforeach;
Get an array of all zones:
z_get_zones()
Get a single zone, accepts either ID or slug:
z_get_zone( $zone )
Get an array of ordered posts in a given zone, accepts either ID or slug:
z_get_posts_in_zone( $zone )
Get a WP_Query object for a given zone, accepts either ID or slug:
z_get_zone_query( $zone );
More functions listed in functions.php
.
You can use a filter:
add_filter( 'zoninator_zone_max_lock_period', 'z_disable_zoninator_locks' );
Filter the following and change according to your needs:
30
: zoninator_zone_lock_period
zoninator_zone_max_lock_period
Please visit the changelog.