This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Cactus Masonry Plus


What is Cactus Masonry Plus

Cactus Masonry Plus allows you to build a responsive, efficient, and very highly customizable gallery on your WordPress website. With this plugin you can either build a gallery of your post thumbnails or represent a WordPress gallery from a given post using our masonry layout technology.

This plugin is designed to be lightweight, so it doesn’t unnecessarily slow down your site. As a result, Cactus Masonry Plus is shortcode powered, which means that no inbuilt design menu is available. Instead, we have provided an interactive Shortcode Builder, hosted on our website. So, now we’re slowing down our site, not yours.

Getting Started

Cactus Masonry Plus is powered by shortcodes. Shortcodes are lines of text enclosed within square brackets. Within these brackets, you provide instructions on how the plugin should run. As this can be quite complicated, we have provided a Shortcode Builder to help you generate the shortcode you need, without any of the hard work.

Simply visit our Shortcode Builder, select the options you want, preview the result, and copy the shortcode back onto your website. You can place your shortcode within any post, page, or anywhere else your theme allows. When you preview the page, you should see a working masonry gallery.

Getting Help

Now, we all run into problems every now and again. You may find a bug in the plugin, have a feature request, or simply get stuck on how to set things up. If you do, check out our Support Forum. Here, you can get all the help you need to build a responsive masonry gallery for your website.


It’s free! Although, if you do like the product, and feel that it is worth it, any donations would be greatly appreciated… no pressure though.


  • The front page gallery visible at The shortcode generated by the Shortcode Builder was [cactusMasonry margin=”5″ width=”33.333%” maxWidth=”350px” minWidth=”200px” maxHeight=”400px” imageQuality=”medium” lazyLoad=”true”]

  • A thin horizontal layout generated by the Shortcode Builder

  • An example of the “metabelow” theme in the Shortcode Builder. Note that the boxes below can be styled and coloured using CSS.

  • A columnar layout generated by setting a pixel width for each image in the Shortcode Builder

  • An example of the gallery’s box sorting algorithm in the Shortcode Builder. Here width limited images have been used with shrinkToFitFactor=”0.2″. This allows larger images to shrink to better fill gaps. The blank images belong to pages without featured images. These images could be removed from the results by specifying withoutThumbnail=”false”.


සැප්තැම්බර් 3, 2016
Hey, I’m the author, so this is probably a bit biased. But I can leave a review here, so why not. Anyway, this plugin is coupled with the support site. Essentially, this plugin is shortcode driven. Just activate the plugin, and generate the shortcode you want on the support site. Paste the code onto your page and your good to go. I firmly believe that this plugin provides the fastest and most flexible masonry gallery layout available on WordPress. If you want a beautiful masonry gallery on your site, I’d look nowhere else. If you do have an issue or a feature request, just contact our support to get your issue resolved. [Mod note: Links redacted from reviews]
සැප්තැම්බර් 3, 2016 1 reply
Love the plugin. Works great! Looks great! The bug we found was removed by bortpress in less than an hour!
සැප්තැම්බර් 3, 2016 1 reply
Resulting gallery is clean and functional. The best thing about this plugin for a non-expert is the clear instructions and the extremely useful short code generator. The instructions and generator explain not just what it does, but a little about how, as well. Great for novice and headache-free for experts. Support is quick and clear.
Read all 4 reviews

Contributors & Developers

“Cactus Masonry Plus” is open source software. The following people have contributed to this plugin.


Translate “Cactus Masonry Plus” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


  • Fixed an issue that stopped the dateFormat parameter from working correctly

  • Fixed an issue with html character replacing in post titles

  • Fixed the links in the readme file

  • Fixed a bug that caused some lowercase orderby parameters to fail
  • Fixed a bug that caused results to be returned in reverse order on each page

  • Fixed a bug where pretty pagination permalinks would break the pagination

  • Fixed an issue where images were being rendered too tall with maximum widths set
  • Fixed a rare issue where the gallery may appear with scrollbars due to theme conflicts
  • Added an offset to the lazyLoad function such that the gallery will load images up to 1000px beyond the end of the window
  • Fixed an issue with lazyLoading WP gallery based galleries
  • Fixed a bug that was causing the linkAction parameter to fail when set to anything other than post
  • Enabled the linkAction method on WP gallery based galleries
  • Fixed an issue that could cause percentage width bricks to wrap when they shouldn’t. For example, 50% width bricks may not fit together side-by-side.

  • Fixed a JavaScript bug that could break the gallery on some sites

  • Added banner images and screenshots to the repository

  • Added ‘Getting Started’ page to WordPress dashboard

  • Fixed a bug that sometimes causes one brick to flow over another brick
  • Fixed a bug where the post data box would appear even when it had no content
  • Fixed a bug that caused the post linking behaviour to fail or work unpredictably
  • Updated the readme
  • Added some screenshots to the WordPress plugin repository

  • Fixed numerous sizing and spacing bugs.
  • Added lazy load support

  • Major improvement to image scaling and sizing under a variety of conditions. Fixed how max heights are handled.
  • Added the ability to include category names in the search result meta box.

  • Fix for a potential issue that may cause the plugin to fail to activate under certain conditions

  • Added a new theme which enables the data box to be positioned below each brick
  • Added the ability to specify where each brick links to when clicked. This can either be set to the post, the full sized image, the large sized image, the medium sized image, the thumbnail sized image, or nowhere at all.
  • Added the ability to have the author’s name behave like a link when clicked – linking to the author’s URL.
  • Added infinite scroll for large galleries.
  • Fixed a bug that could cause the gallery to fail if certain new and upcoming parameters were set to false.
  • Fixed an issue where a blank numerical parameter could cause the gallery to fail.

  • Fixed a major bug that prevented the ‘includedPostIds’ and ‘excludedPostIds’ parameters from functioning
  • Improved the efficiency of the plugin’s filtering of the ‘includedPostIds’ and ‘excludedPostIds’ parameters when empty
  • Moved script tags to the footer for content prioritized page loading and to improve SEO

  • Updated WordPress repository tags
  • Updated logo for WordPress repository
  • Updated readme header information
  • Updated compatability information

  • Fixed issue with incorrectly referenced JS in initial release
  • Changed install directory to match the directory assigned by WordPress

  • Styling fix to stop pagination from being cropped from the gallery when displayed on some pages
  • Documentation links updated to match new documentation website
  • Documentation updated to reflect the plugin’s feature set

  • First beta release.

  • Initial concept build