View Single Post
Old 08-18-2015, 05:55 AM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,384
Quote:
Originally Posted by druid66 View Post
hey guys,
i got this small problem which piss me incredibly.
let's say i got images named 01amateur 02amateur 03amateur etc..

MOTHERFUCKING "gallery" in wordpress sorts it's in completely random order (random order option is not ON ofc..) so in my 1st row i may as well have 05amateur and after it 02amateur etc..

is there any script that i could use or plugin which would sort all my sorted badly images posts according to names?
The Gallery Magic does it in a right way. It uses the standard WP gallery image numbering like this:

[gallery ids="729,732,731,720"]

Find more here: https://codex.wordpress.org/Gallery_Shortcode

The plugin works just like this:

Manual Mode

Add a new post or open the existing one and click the “Gallery Magic Shortcode” button (marked with a red square on the picture below).



The “Gallery Magic” popup box will appear. Enter the URL of the HTML page which does contain a gallery you want to copy, then click the “Insert Gallery Magic Shortcode” button.



Now simple save or update the post and Vualá, your gallery is here:



Bunch Import Mode

This mode is very useful for importing a bunch of galleries from a plain text dump (e.g. CSV). Simple copy/paste your dump, set the formatting rules, adjust the post scheduler options and click the import button.

__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote