Plugin info

Total downloads: 1,803
Active installs: 30
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/8/2016 (3309 days ago)
Added to WordPress: 9/21/2014 (11 years old)
Minimum WordPress version: 4.0
Tested up to WordPress version: 4.4.34
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3309 days ago • 1 reviews

22/100

Is Limit parameter for gallery shortcode abandoned?

Possibly abandoned (last update 3309 days ago).

Compatibility

Requires WordPress: 4.0
Tested up to: 4.4.34
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Loggedin – Limit Concurrent Sessions
Rating 4.9/5 (108 reviews)Active installs 8,000
GD bbPress Attachments
Rating 4.3/5 (26 reviews)Active installs 7,000
Title Limit for WooCommerce
Rating 4.7/5 (20 reviews)Active installs 5,000
User Posts Limit
Rating 5.0/5 (13 reviews)Active installs 4,000
Custom Post Limits
Rating 4.3/5 (6 reviews)Active installs 2,000
Limit Revisions
Rating 5.0/5 (5 reviews)Active installs 2,000

Description

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.

Installation

  1. Upload the gallery-limit.php file to the plugin directory.
  2. Activate the plugin.
  3. Done.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

2.0

Added offset parameter.

1.0

First release.