이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Zone Manager (Zoninator)

설명

This plugin is designed to help you curate your content.

Assign and order stories within zones that you create, edit, and delete. Then use the handy API functions to retrieve and display your content in your theme. Or for those who are a bit code-averse, try the handy widget.

Key features included in the plugin:

  • Add/edit/delete zones
  • Add/remove posts (or any custom post type) to/from zones
  • Order posts in any given zone
  • Limit capabilities on who can add/edit/delete zones vs add content to zones
  • Locking mechanism, so only one user can edit a zone at a time (to avoid conflicts)
  • Idle control, so people can’t keep the zoninator locked

This plugin was built by Mohammad Jangda in conjunction with William Davis and the Bangor Daily News.

Usage Notes

Example

You can work with 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;

Function Reference

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`

스크린샷

  • Create and manage your zones and content through a fairly intuitive and familiar interface

설치

  1. Unzip contents and upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Dashboard > Zones to create and manage zones.
  4. Use the plugin’s handy API functions to add zones to your theme.
  5. Enjoy!

FAQ

How do I disable the locking feature?

You can use a filter:

add_filter( 'zoninator_zone_max_lock_period', 'z_disable_zoninator_locks' );

How do I change the locking feature settings?

Filter the following and change according to your needs:

  • Number of seconds a lock is valid for, default 30: zoninator_zone_lock_period
  • Max idle time in seconds: zoninator_zone_max_lock_period

후기

2018년 10월 19일
We have been using this plugin for five years on 20 major news sites and it is integral to our daily work.
2016년 9월 3일
I have a idea for my blog, where some topic divided to few different posts ans user can freely navigate between different parts of it. This plugin helped me a lot! Thanks developer!
모든 3 평가 읽기

기여자 & 개발자

“Zone Manager (Zoninator)”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Zone Manager (Zoninator)”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Zone Manager (Zoninator)”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.9

  • Correctly position cloned sortable element on mobile
  • Add method to add post type to zoninator
  • Fix simple typo
  • Add filter to control fields included in Zoninator zone feed responses
  • Switch from travis to github actions
  • Add default_post_types property to Zoninator class

0.8

  • Added a REST API for retrieving and managing zones
  • Support for special characters in zone names and descriptions

0.7

  • Added compatibility with WordPress 4.4 admin styles
  • Add the ability to save zone content to fix race conditions / problems with the autosave https://github.com/Automattic/zoninator/pull/51
  • Add ability to filter the dates to search https://github.com/Automattic/zoninator/pull/52
  • General performance improvements

0.6

  • Support for term splitting in 4.2
  • Run the init hook later so that we can allow custom post types to attach themselves to the plugin https://wordpress.org/support/topic/plugin-zone-manager-zoninator-add-specific-custom-post-types
  • Better translation support
  • Coding standards cleanup

0.5

  • WordPress version requirements bumped to 3.5
  • Support for touch events for mobile via jQuery UI Touch Punch (http://touchpunch.furf.com/)
  • Filter recent posts or search-as-you-type by date (today, yesterday, all) or category for more refined results, props Paul Kevan and the Metro UK team
  • New actions fired when adding/removing posts from zones
  • Bits of clean-up

0.4

  • New dropdown that recent posts which can be adding to zones, props metromatic and Metro UK
  • New filter: zoninator_posts_per_page — to override the default posts_per_page setting
  • Use core bundled versions of jQuery UI

0.3

  • Introduce z_get_zone_query: returns a WP_Query object so you can run the loop like usual.
  • Disable editing and prefixing of slugs. They’re just problems waiting to happen…
  • Add new filter to allow filtering of search args, props imrannathani for the suggestion
  • Allow scheduled posts to be added to zones so they automagically show up when they’re published, props imrannathani for the idea.
  • Default to published post in all zone queries in the front-end. Scheduled posts can still be added via a filter.
  • Run clean_term_cache when a post is added or deleted from a zone so that the necessary caches are flushed.
  • Add new filter to limit editing access on a per-zone level. props hooman and the National Post team
  • Allow editor role (editor_others_posts) to manage zones (plus other capability fixes, props rinat k.)

0.2

  • Move Zones to a top-level menu so that it’s easier to access. And doesn’t make much sense hidden under Dashboard.
  • Change the way error and success messages are handled.
  • jQuery 1.6.1 compatibility.
  • Bug fix: Custom Post Types not being included in search. Thanks Shawn!
  • Bug fix: Custom Post Types not being included in post list. Thanks Daniel!
  • Bug fix: Error thrown when removing last post in a zone. Thanks Daniel!
  • Other cleanup.

0.1

  • Initial Release!