Tag Info

Hot answers tagged

3

Add order and/or orderby parameters to your shortcode. For example: [gallery columns="4" ids="310,309,311,312,315,314,313" order="DESC" orderby="ID"] https://codex.wordpress.org/Gallery_Shortcode#Options


1

The quick & dirty way, to set the title as caption, would be to use SQL (untested): UPDATE wp_posts SET post_excerpt = post_title WHERE post_excerpt = '' AND post_type = 'attachment' AND post_status = 'inherit' AND post_mime_type = 'image/jpeg' AND ID = 123 Here we target the jpeg image with ID ...


1

There is a simple solution for this. Let the gallery use the 5 column grid system and using the @media-queries we can alter it for tablet and mobile. I just tested it on your given URL and it works perfect. But try to remove any custom codes you have used before since I had to remove it in order to use the following code. /* For displaying 3 columns on ...



Only top voted, non community-wiki answers of a minimum length are eligible