[Resolved] apply masonry layout from WP Show Posts Pro to default WP image gallery

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support apply masonry layout from WP Show Posts Pro to default WP image gallery

This topic contains 5 replies, has 2 voices, and was last updated by  Tom 11 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #9745


    Hi Tom, I have a shot in the dark question here but is there any way to apply the masonry gallery layout from WP Show Posts Pro to the default wordpress gallery function?

    We’ve been looking for straightforward masonry gallery plugins but they all either offer too little, require their own proprietary admin panels, or load a ton of functions that aren’t needed.



    Hi there,

    Unfortunately, that wouldn’t work. I would bet there’s a simple solution/plugin out there that applies masonry to core WP galleries, though? Surprising that there isn’t.



    Thanks for confirming. And yes, there are lots of plugins but here’s what I’m finding:

    • They are poorly coded and load up the wp-options table with a lot of autoloaded rows
    • Actual functionality is limited and requires so much modification that it would be easier to code something from scratch.
    • The jQuery classes use common class names and throw a lot of conflicts.
    • They require a dedicated menu item and admin panel to use along with shortcodes instead of simply applying to default WP galleries.
    • All of the premium versions pack way too much into the featureset (which I get) and are overkill.

    Are you using a specific script for that functionality or did you code it from scratch? At the very least, if we do end up coding something ourselves and you’re using a specific script, it would be smart for us to pull the same resource.




    We’re using jQuery Masonry: https://masonry.desandro.com

    It’s super easy to initiate, and the script is actually packaged in with WP so you can enqueue it like this:

    add_action( 'wp_enqueue_scripts', function() {
        wp_enqueue_script( 'jquery-masonry' );
    } );


    Thanks so much for the tip, I’m sure we’ll just see about integrating it directly.



    No problem 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.