Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Post Gallery


Post Gallery lets you add a gallery of pictures, photos and videos to any post type; each gallery can be created and updated from within the post form, making it easier and more flexible than many other gallery plugins out there.

Galleries created with Post Gallery can be displayed using a shortcode or templating functions. Post Gallery comes with a light-box solution out-of-the-box; its superb design will let you customize it to function as you please.

Post Gallery comes built-in with a video importer that can be used across WordPress and will let you import videos from YouTube and Vimeo to your media library.

This plugin is fully customizable; designed to let you modify it and stylize it the way you want to.


  • Video support (YouTube, Vimeo and uploaded MP4).
  • Custom post galleries.
  • Easy to maintain.
  • Editable from within post edit page.
  • Turn on/off galleries per post type.
  • Internal file cache for speed optimization.
  • Fully customizable templates.
  • Un-enqueuable styles.
  • Light-box built-in.
  • Use of the newest wordpress media editor to upload and select images.
  • Adds video importer to wordpress media uploader, works all across wordpress.
  • Supports multiple galleries in display.
  • Supports guttenberg.

This plugin is very developer friendly, has many hooks that will let you extend and customize its functionality to meet your needs. Optionally we offer a pro extension with the following features:

  • Additional video support (Dailymotion and Twitch).
  • 7 professional and configurable slider layouts.
  • Ability to set custom clickable url per image.
  • Ability to add customizable text overlays per image.
  • Responsive videos.

You can opt to obtain these features here.

Who do I thank for all of this?


  • Gallery displayed using shortcode. (Theme BlogRock Core)
  • Gallery Image at full resolution using Swipebox (built-in).
  • Gallery management within post edit form.
  • Gallery metabox.
  • Use of the newest wordpress media editor to upload and select images.
  • Video importer.
  • Selecting a video previously imported to media gallery.
  • Simple customizable template.
  • Gallery Video playing using Swipebox (built-in).
  • Gutenberg support.


Este plugin proporciona 1 bloque.

  • Post Gallery


  1. Head to your WordPress Admin Dashboard and click at the options Plugins then Add new.
  2. Search for this plugin usign the search input or if have downloaded the zip file, upload it manually.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress.
  4. Configure the plugin at «Settings->Galleries».



Once activated, Simple Post Gallery requires you to head to settings and select the post types that will support galleries.

The settings page is located at the Settings option in the admin dashboard.

How to add a video?

This plugin will add a «Video Importer» that will let you to import YouTube and Vimeo videos into your media gallery; the videos imported can be added to the gallery or to any wordpress editor.

To import a video, click the button «Add Media», after WordPress Media Uploader shows up, click the option «Import Video» listed on the left sidebar and finally paste your video link in the input.

Look this plugin’s screenshots for reference.


There is a tab called Documentation in the Settings option.

How to modify the template?

There is a tab called Documentation in the Settings option, here it is explained.

Which WordPress versions are supported?

At the time this document was created, we only tested on WordPress 4.5, we believe, based on the software requirements, that any WordPress version above 3.2 will work.

Which PHP versions are supported?

Any greater or equal to 5.4 is supported.

Issues when migrating wordpress?

Clear plugin’s cache.

How to display more than one gallery?

Use shortcode’s ID attribute/parameter to display multiple galleries. The ID refers to the post ID holding the gallery.

Example: [post_gallery id=99] [post_gallery id=399]

How to use a different lightbox?

This tutorial explains how.


8 de noviembre de 2022
This is one of only two plugins that properly display both images and videos in the same gallery, and show the EXIF comments. I appreciate that the author(s) have kept so much capability in the free plugin! I also like the simplicity of the configuration. Unfortunately, the EXIF comments of the photos are not searchable in Wordpress. Another drawback of this plugin is that video thumbnails/previews are not shown in the gallery. Finally, imagine having to load 5,000 images/videos into your Wordpress Media folder - and what that will do to the usefullness of your Media selections for future posts. This problem is common to almost all gallery plugins. UPDATE One Year Later (11/8/2022): The plugin may be growingly incompatible with Wordpress 6.1+, as I saw this error today, and no updates have come in 2 years, so dropped from 4 stars to 3: WordPress version 6.1 Active theme: Baskerville (version 2.2.1) Current plugin: Post Gallery (version 2.3.12) PHP version 8.1.2 Error Details ============= An error of type E_ERROR was caused in line 368 of the file /usr/share/wordpress/wp-content/plugins/simple-post-gallery/app/Controllers/VideoController.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/share/wordpress/wp-content/plugins/simple-post-gallery/app/Controllers/VideoController.php:368 Stack trace: #0 /usr/share/wordpress/wp-content/plugins/simple-post-gallery/app/Controllers/VideoController.php(368): array_key_exists() #1 [internal function]: PostGallery\Controllers\VideoController->metadata() #2 /usr/share/wordpress/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-mvc/src/Engine.php(150): call_user_func_array() #3 /usr/share/wordpress/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-mvc/src/Engine.php(116): WPMVC\MVC\Engine->run() #4 /usr/share/wordpress/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-core/src/psr4/Bridge.php(204): WPMVC\MVC\Engine->action_args() #5 /usr/share/wordpress/wp-includes/class-wp-hook.php(308): WPMVC\Bridge->__call() #6 /usr/share/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #7 /usr/share/wordpress/wp-includes/post.php(6584): apply_filters() #8 /usr/share/wordpress/wp-includes/media.php(214): wp_get_attachment_metadata() #9 /usr/share/wordpress/wp-includes/media.php(954): image_downsize() #10 /usr/share/wordpress/wp-includes/media.php(1032): wp_get_attachment_image_src() #11 /usr/share/wordpress/wp-admin/includes/class-wp-media-list-table.php(428): wp_get_attachment_image() #12 /usr/share/wordpress/wp-admin/includes/class-wp-list-table.php(1527): WP_Media_List_Table->column_title() #13 /usr/share/wordpress/wp-admin/includes/class-wp-media-list-table.php(699): WP_List_Table->single_row_columns() #14 /usr/share/wordpress/wp-admin/includes/class-wp-list-table.php(1444): WP_Media_List_Table->display_rows() #15 /usr/share/wordpress/wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder() #16 /usr/share/wordpress/wp-admin/upload.php(388): WP_List_Table->display() #17 {main} thrown
6 de julio de 2018 1 respuesta
It's great to see active development and I can see there has been a substantial rewrite, However, there seems to be issues with the new code that break the WP CLI specifically cron.
5 de julio de 2018 1 respuesta
What a clean, easy-to-use, does-what-you-expect plugin! Put the code in one place in your template and voila! Very nice. Thank you.
21 de marzo de 2018 1 respuesta
If you want to have a gallery and use all your creativity and code the gallery you will do thousands of things with it =).
Leer todas las 10 reseñas

Colaboradores y desarrolladores

«Post Gallery» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Post Gallery» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


Release Date – 27 Jun 2020

  • Fixed bug related to imported videos on WordPress >= 5.4
  • Framework files updated.
  • Code refactor.


Release Date – 9 Feb 2020

  • Framework files updated.
  • Fixed reported issue related to WP-CLI and BlockController.
  • Comments refactored.


Release Date – 20 December 2019

  • Hook parameters added on settings view for customization.
  • Framework update.
  • Updated documentation inside the plugin.


Release Date – 5 December 2019

  • Framework updated with cache and log configuration hooks.
  • Custom Swipebox updated to version 1.4.7.


Release Date – 4 December 2019

  • WordPress 5.3 compatibility test.
  • Bug, alerts and notices fixing.


Release Date – 5 September 2019

  • Framework update.


Release Date – 27 June 2019

  • Framework update.


Release Date – 21 May 2019

  • Framework upgrade.
  • Swipebox updated.


Release Date – 16 March 2019

  • Framework upgrade.


Release Date – 4 March 2019

  • Framework upgrade.


Release Date – 16 January 2019

  • Small bug fixes.


Release Date – 13 December 2018

  • Gutenberg support.
  • WordPress 5.0 tested.


Release Date – 28 November 2018

  • WPMVC cache/log folders changed.
  • File permissions issues fixed for various hosting servers.
  • Framework update.


Release Date – 2 October 2018

  • Fixes reported issue related to resource loading.


Release Date – 12 June 2018

  • Framework updated.


Release Date – 5 June 2018

  • Lightbox2 removed completely (after almost three months of compatibility support).
  • Missing lightbox2 assets error gone.


Release Date – 5 June 2018

  • Replaced mp4 image placeholder.


Release Date – 5 June 2018

  • Bug fixes.
  • Added more customizable hooks.
  • Full MP4 support.


Release Date – 29 May 2018

  • Fixes video bug generated on version 2.2.1.


Release Date – 28 May 2018

  • Shortcode now supports post ID as attribute (Ability to display multiple galleries in a post).


Release Date – 26 May 2018

  • Uploaded MP4 support added (without light-box).
  • Loader displayed when media is being added to gallery.


Release Date – 23 May 2018

  • Localization supported (via
  • Deprecated Lightbox2 notice removed.


Release Date – 6 April 2018

  • Shortcode button actions added (Ability to copy shortcode into clipboard and/or to insert shortcode into content).
  • Tested with WordPress 4.5.9


Release Date – 31 March 2018

  • Framework updated.
  • Hot fix for php 5.4 compatibility.


Release Date – 30 March 2018

  • Hot fix for php 5.4 compatibility. Reported 2nd issue.


Release Date – 29 March 2018

  • Hot fix for php 5.4 compatibility. Reported issue.


Release Date – 27 March 2018

  • More suttle (less intrusive) promotional pro formats.
  • Updated assets.


Release Date – 27 March 2018

  • Fixes centered video icon position (multiple themes tested).


Release Date – 23 March 2018

  • Switches from Lightbox2 to Swipebox as light-box solution, for more information read this article.


Release Date – 22 March 2018

  • Fixes bug when saving embed sizes.
  • Updates WordPress Media Uploader script to latest version.


Release Date – 22 March 2018

  • Adds video support.
  • Adds Video Importer to WordPress Media Uploader.


Release Date – 20 March 2018

  • Adds custom resolution method on attachments.
  • Switched to WordPress MVC framework.
  • More customizable hooks.


Release Date – 13 February 2018

  • Fixes CSS class on post gallery template.
  • Fixes issue caused when handling images with the same name.
  • Tests compatibility with WordPress 4.9.4.


Release Date – 15 June 2017

  • Refactored tag names.
  • Added customization hooks.
  • Javascript dependencies updated.
  • JS window variable postGallery added during admin dashboard.


Release Date – 8 June 2017

  • Fixes issue caused when handling images with the same name.
  • Cache settings tab added.
  • Framework updated.


Release Date – 23 July 2016


Release Date – 6 June 2016

  • Attachment model casting (array|json) improvents.
  • Documentation Github Gist examples fixed.