It's possible to create gallery not by id of images, but with url?

I don't want this

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

I want something like this

[gallery slug="http://example.com/wp-uploads/...", "http://example.com/wp-uploads/...", "http://example.com/wp-uploads/..."]

Is there some plugin? or anything?

Thanks for help



By default the gallery shortcode will only accept IDs or if left blank will default to current page.

You need to create a plugin and register your own shortcode or download one that already exists.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.