Title: Limit parameter for gallery shortcode
Author: nboehr
Published: <strong>21 september 2014</strong>
Last modified: 8 december 2016

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/limit-parameter-for-gallery-shortcode.
svg)

# Limit parameter for gallery shortcode

 Door [nboehr](https://profiles.wordpress.org/nboehr/)

[Download](https://downloads.wordpress.org/plugin/limit-parameter-for-gallery-shortcode.zip)

 * [Details](https://nl.wordpress.org/plugins/limit-parameter-for-gallery-shortcode/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/limit-parameter-for-gallery-shortcode/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/limit-parameter-for-gallery-shortcode/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/limit-parameter-for-gallery-shortcode/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/)

## Beschrijving

By default, the gallery shortcode does not allow to limit the number of images displayed.
This makes sense when you for example include all images attached to a post like
this:

    ```
    [gallery id="4"]
    ```

When this plugin is activated, you may use:

    ```
    [gallery id="4" limit="3"]
    ```

and it will only display three images.

You can also use an offset parameter:

    ```
    [gallery id="4" limit="3" offset="1"]
    ```

Will display at most three images, starting at the second.

Note that this plugin is a little bit of a hack.

## Installatie

 1. Upload the `gallery-limit.php` file to the plugin directory.
 2. Activeer de plugin.
 3. Klaar.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Limit parameter for gallery shortcode” is open source software. De volgende personen
hebben bijgedragen aan deze plugin.

Bijdragers

 *   [ nboehr ](https://profiles.wordpress.org/nboehr/)

[Vertaal “Limit parameter for gallery shortcode” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/limit-parameter-for-gallery-shortcode)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/limit-parameter-for-gallery-shortcode/),
haal de [SVN repository](https://plugins.svn.wordpress.org/limit-parameter-for-gallery-shortcode/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/limit-parameter-for-gallery-shortcode/)
via [RSS](https://plugins.trac.wordpress.org/log/limit-parameter-for-gallery-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0

Added offset parameter.

#### 1.0

First release.

## Meta

 *  Versie **2.0**
 *  Laatst geüpdatet **10 jaar geleden**
 *  Actieve installaties **20+**
 *  WordPress versie ** 4.0 of nieuwer **
 *  Getest t/m **4.4.34**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/limit-parameter-for-gallery-shortcode/)
 * Tags
 * [gallery](https://nl.wordpress.org/plugins/tags/gallery/)[images](https://nl.wordpress.org/plugins/tags/images/)
   [limit](https://nl.wordpress.org/plugins/tags/limit/)[shortcode](https://nl.wordpress.org/plugins/tags/shortcode/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/limit-parameter-for-gallery-shortcode/advanced/)

## Waarderingen

 5 van 5 sterren.

 *  [  1 5 ster beoordeling     ](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/?filter=2)
 *  [  0 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/reviews/)

## Bijdragers

 *   [ nboehr ](https://profiles.wordpress.org/nboehr/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/limit-parameter-for-gallery-shortcode/)