Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 143406

Build in WordPress gallery. Used to show multiple pictures in a grid.

0 votes
1 answer
134 views

Can't get the columns of galleries when the user set the column number to 3 if there are 2 g...

I'm detecting if the user has a gallery in his post: $gallery = get_post_gallery( $post->ID, False ); $gallery_images = explode( ',', $gallery['ids'] ); And at times I'd like to see how many columns … This only happens when there's a second gallery in the post. How is this possible? …
coolpasta's user avatar
  • 949