• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Calgary Wordpress and Genesis Web Development
  • Home
  • News
  • Portfolio
  • Services
  • Contact
  • Code Samples
  1. Home
  2. StudiopressBlog
  3. Genesis 2.5.1 Now Available

Genesis 2.5.1 Now Available

June 8, 2017 By StudioPress Blog

Genesis 2.5 Now Available

Today, we’re releasing Genesis 2.5.1, which addresses a few issues that have been reported since Genesis 2.5 was released. In addition, Genesis 2.5.1 has also been tested and is compatible with the latest WordPress 4.8 update.

Layout API

In Genesis 2.5, we introduced a Layout API that allowed developers to register a layout with different types depending on context. You can register and apply a layout to, for instance, only category archives, or only for a specific author’s archives, etc.

However, there was a problem with the method we used for determining layout priority internally. That has been fixed, and everything should work fine in Genesis 2.5.1.

Exclude Posts Widget Setting

In the featured post widget, if you selected the option to exclude posts that had already been displayed, there were certain circumstances where this wouldn’t work. We fixed the issue that was causing the problem.

Deprecated Constants

In Genesis 2.5.0, we deprecated several unnecessary constants. When switching to the references in the Genesis source away from these deprecated constants, we missed a few that caused some issues for users in some circumstances. We removed the internal references to those constants, eliminating the possibility for Genesis to throw an error as a result.

Double Loading of Files

In Genesis 2.5.0, we tried to switch to the use of require rather than require_once for files. However, if a child theme or plugin tries to include a core Genesis file, it will throw an error. Therefore, we switched back to require_once in Genesis for the future.

Attribute Filters Running Twice

Because of the use of the Markup API to output opening and closing tags now, filters on attributes can run twice (on opening and closing) for a given context. This is usually not a problem, but in certain cases it was causing issues. For those cases, we have limited the filter to only running on the opening tag.

This blog was originally posted on Studiopress.com This post is in no way associated with Kembel.ca. For more posts by this author, please click here.

Filed Under: StudiopressBlog

Address

23 Walden Place SE
Calgary Alberta
T2X 1Y5

Hours

*By Appointment Only

Copyright © 2025 Kembel Web Design ยท Log in