Gantry 5.2.2 Released

g5, release, joomla, wordpress
November 10, 2015, 12:00

Gantry 5.2.2 has been released, and it focuses primarily on optimization and bugfixes. We recommend this update as it resolves a number of issues that affected some sites after the 5.2.1 update.

About 5.2.2

This is a minor, but important update. This is especially true for WordPress users, which will benefit from a greatly improved page load time. It also adds a new |imagesize Twig Filter that returns width="X" height="Y" as attributes for images, as well as a notification message that appears in the event that a particle is missing on the front end.

We have also added a display that indicates the current level of a column in the Menu Editor. This will make keeping track of things while navigating through it a bit easier.

Known Issue (WordPress)

Gantry 5.2.2 enables Timber caching, which has the affect of significantly improving page load time. However, if you are actively editing your Twig files, there is a chance that the caching can prevent you from seeing your changes as expected. If this becomes a problem for you, we have a quick fix.

Navigate to wp-content/plugins/gantry5/src/classes/Gantry/Framework/Theme.php and edit line 364:

\Timber::$cache = true;

All you need to do is comment this line out using // as follows:

// \Timber::$cache = true;

This will disable the Twig caching and enable you to more quickly see your changes.

You can see a full list of changes made available in this update in the changelog.

Get Started with Gantry

If you have any problems at all with Gantry 5.2.2, please feel free to let us know by submitting an issue on the GitHub project, or by reaching out via the Gitter chat.

If you would like to check out the latest Gantry builds to get a glimpse at the latest developments in the Gantry project, we invite you to check out our CI Builds available for Joomla and WordPress. Additionally, we have CI builds available for download of the free Hydrogen theme.

Next Post Previous Post