Title: Zone Manager (Zoninator)
Author: Automattic
Published: <strong>8 april 2011</strong>
Last modified: 2 oktober 2025

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/zoninator.svg)

# Zone Manager (Zoninator)

 Av [Automattic](https://profiles.wordpress.org/automattic/)

[Ladda ner](https://downloads.wordpress.org/plugin/zoninator.0.10.2.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/zoninator/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/zoninator/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/zoninator/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/zoninator/#developers)

 [Support](https://wordpress.org/support/plugin/zoninator/)

## Beskrivning

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](http://digitalize.ca) in conjunction
with [William Davis](http://wpdavis.com/) and the [Bangor Daily News](http://www.bangordailynews.com/).

### Features

 * Add, edit, and delete zones.
 * Add and remove posts (or any custom post type) to or from zones.
 * Order posts in any given zone.
 * Limit capabilities on who can add, edit, and 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 zone locked.

### 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`.

## Skärmdumpar

 * [[
 * Create and manage your zones and content through a fairly intuitive and familiar
   interface.
 * [[
 * Zone editing
 * [[
 * Use the Zone Posts widget in the widgets area.
 * [[
 * Output of the zone posts widgets.

## Installation

 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 your zones, and easily search for 
    and add existing posts.
 4. Use the plugin’s handy API functions to add zones to your theme that retrieve and
    display your content. Or, for those who are a bit code-averse, go to Appearance-
    Widgets and add Zone Posts widgets to display your zone posts in your sidebar or
    footer. The widget will pull the posts from the chosen zone.

### Usage examples

You 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;
    ```

## Vanliga frågor

### 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`

## Recensioner

![](https://secure.gravatar.com/avatar/a26083fa10e22bb6b34e11002c031ed3d63ca4cb458531991600856e9e120612?
s=60&d=retro&r=g)

### 󠀁[Reliable and scalable](https://wordpress.org/support/topic/reliable-and-scalable/)󠁿

 [cjaimet](https://profiles.wordpress.org/cjaimet/) 19 oktober 2018

We have been using this plugin for five years on 20 major news sites and it is integral
to our daily work.

![](https://secure.gravatar.com/avatar/bcc541b188e9bbfcb3ff0b5da4fbf53d5fee77259e2449b9673d07c7acccfce0?
s=60&d=retro&r=g)

### 󠀁[Good!](https://wordpress.org/support/topic/good-1606/)󠁿

 [1](https://profiles.wordpress.org/f4tal1st/) 3 september 2016

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!

 [ Läs alla 3 betyg ](https://wordpress.org/support/plugin/zoninator/reviews/)

## Bidragsgivare och utvecklare

”Zone Manager (Zoninator)” är programvara med öppen källkod. Följande personer har
bidragit till detta tillägg.

Bidragande personer

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)
 *   [ WordPress VIP ](https://profiles.wordpress.org/wpcomvip/)
 *   [ pkevan ](https://profiles.wordpress.org/pkevan/)
 *   [ Bradford Campeau-Laurion ](https://profiles.wordpress.org/potatomaster/)
 *   [ Jeff Bowen ](https://profiles.wordpress.org/jblz/)
 *   [ nickdaugherty ](https://profiles.wordpress.org/nickdaugherty/)
 *   [ Josh Betz ](https://profiles.wordpress.org/betzster/)
 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

”Zone Manager (Zoninator)” har översatts till 2 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/zoninator/contributors)
för deras bidrag.

[Översätt ”Zone Manager (Zoninator)” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/zoninator)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/zoninator/), kika 
på [SVN-filförvaret](https://plugins.svn.wordpress.org/zoninator/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/zoninator/) via [RSS](https://plugins.trac.wordpress.org/log/zoninator/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

Please visit the [changelog](https://github.com/automattic/zoninator/blob/trunk/CHANGELOG.md).

## Meta

 *  Version **0.10.2**
 *  Senast uppdaterat **7 månader sedan**
 *  Aktiva installationer **2 000+**
 *  WordPress-version ** 5.9 eller senare **
 *  Testat upp till **6.6.5**
 *  PHP-version ** 7.4 eller senare **
 *  Språk
 * [Croatian](https://hr.wordpress.org/plugins/zoninator/), [English (UK)](https://en-gb.wordpress.org/plugins/zoninator/)
   och [English (US)](https://wordpress.org/plugins/zoninator/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/zoninator)
 * Etiketter
 * [order](https://sv.wordpress.org/plugins/tags/order/)[post list](https://sv.wordpress.org/plugins/tags/post-list/)
   [post order](https://sv.wordpress.org/plugins/tags/post-order/)[posts](https://sv.wordpress.org/plugins/tags/posts/)
   [zones](https://sv.wordpress.org/plugins/tags/zones/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/zoninator/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  3 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/zoninator/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/zoninator/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/zoninator/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/zoninator/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/zoninator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/zoninator/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/zoninator/reviews/)

## Bidragande personer

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)
 *   [ WordPress VIP ](https://profiles.wordpress.org/wpcomvip/)
 *   [ pkevan ](https://profiles.wordpress.org/pkevan/)
 *   [ Bradford Campeau-Laurion ](https://profiles.wordpress.org/potatomaster/)
 *   [ Jeff Bowen ](https://profiles.wordpress.org/jblz/)
 *   [ nickdaugherty ](https://profiles.wordpress.org/nickdaugherty/)
 *   [ Josh Betz ](https://profiles.wordpress.org/betzster/)
 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/zoninator/)