Closed shrwnsan closed 11 years ago
I think you need to echo out the line in the clean.php file that cleans up the default WP gallery styles: lib/clean.php Line 21
Thanks @senlin. That seems to do it
// clean up gallery output in wp
//add_filter('gallery_style', 'reverie_gallery_style');
FYI: Jetpack Tiled Gallery works if the above is uncommented.
Sorry to bump an old topic!
Would there be a way to remove the reverie_gallery_style filter from a child theme? I am desperately trying to avoid modifying the core reverie theme.
@lifelikeneek I think that you could remove the filter?
add_filter ( 'gallery_style', 'my_gallery_style', 11 );
function my_gallery_style() {
remove_filter ( 'gallery_style', 'reverie_gallery_style' );
}
(untested, but I think it should be something like this if I'm not mistaken)
^ +1 to @lifelikeneek's solution. I think that'll work as well.
Just tried it. No such luck :(. Thanks @senlin and @stechico for the help though!
I edited the filter:
add_filter ( 'gallery_style', 'my_gallery_style' );
function my_gallery_style() {
remove_filter ( 'reverie_gallery_style' );
}
Trying to see if its everyone else. I'm using Compass so Foundation is up to 4.1.6 I think. I posted a gallery onto a post using
[gallery]
Which gives a default of 3 thumbnails from what I recall. However, it's displaying like so:
Source code looks normal to me. I haven't done any customization to the CSS other than the border:
Please do let me know if you get the same behaviour; and if you have any snippet of style rules to fill in to fix. Thanks in advance.