Escape NextGen Gallery
PHP
Switch branches/tags
Nothing to show
Latest commit 9bf80fb Jul 28, 2014 @kovshenin kovshenin Merge pull request #12 from soulseekah/patch-1
Wrong plugin tag
Permalink
Failed to load latest commit information.
README.md Create README.md Dec 22, 2013
composer.json Lose trailing comma. *sigh* Dec 18, 2013
escape-ngg.php Wrong plugin tag Jul 28, 2014
wp-cli.php Implement progress bar. Dec 19, 2013

README.md

Escape NextGen Gallery

This plugin will scan through all your posts and pages for the [nggallery] shortcode.

It will loop through all images associated with that gallery and recreate them as native WordPress attachments instead. Finally it will replace the [nggallery] shortcode with the [gallery] shortcode native to WordPress.

Instructions

  1. Backup!
  2. Activate the plugin and browse to yourdomain.com/wp-admin/?escape_ngg_please=1
  3. When you're done you can delete the gallery dir, and the wp_ngg_* tables in your database. Keep the backups though.

Limitations

  • doesn't work with shortcodes other than [nggallery]
  • doesn't work when more than one gallery on page

Notes

@uses media_sideload_image to recreate your attachment posts.

Compatible with wp-cli.