Skip to main content
9 events
when toggle format what by license comment
Mar 19, 2014 at 8:49 vote accept Seraphithan
Mar 14, 2014 at 13:45 answer added Howdy_McGee timeline score: 0
Mar 14, 2014 at 8:20 comment added Seraphithan That wouldn't remove the gallery from the_content() though, or would it? The page is supposed to display the gallery, than a bit further down the_content() without displaying the gallery again. But I don't want to mess around with the handling of the shortcode to much since on other pages the gallery will have to work the usual way.
Mar 13, 2014 at 17:47 history tweeted twitter.com/#!/StackWordPress/status/444167905425752064
Mar 13, 2014 at 16:34 comment added Howdy_McGee I'm not sure what you mean by specific template - why not just put get_post_galler() inside that specific template?
Mar 13, 2014 at 16:23 comment added Seraphithan I currently use get_post_galleries_images but supply the ID from a different page. Would this or get_post_gallery still work if I were to modifiy the shortcode to not return anything when a specific template is used?
Mar 13, 2014 at 15:24 review First posts
Mar 13, 2014 at 15:26
Mar 13, 2014 at 15:15 comment added Howdy_McGee You can use get_post_gallery($id) - WordPress Codex - Otherwise, you would probably have to make a custom plugin, The Gallery is supposed to work in-tangent with The Content but with the function above, you can strip it out and ignore any extra content.
Mar 13, 2014 at 15:07 history asked Seraphithan CC BY-SA 3.0