Studiopress pushed out version 2.6.0 with extensive changes. Among these, they've "deprecated" the search function - among others - which has been around for quite some time.
This means that they've changed how the function works, and replaced it with a different function. This means that any site that had the old function installed has been broken. Why this decision was made, I'm unclear on.
Updated: We've been informed by Studiopress that this will be resolved with update 2.7.1.
Solution
Thanks go to the Genesis team for the quick response and suggested solution.
In your functions.php file, locate the following:
genesis_search_form ( false )
and replace it with:
get_search_form ( false )
This has been tested to work with:
- Foodie Pro
- Brunch Pro
- Cook'd pro
- Seasoned Pro
- Cravings Pro
Done For You
If you're uncomfortable editing your functions files, we can do this for you with the 15-minute quick fix service.
Incident Post-Mortem
[see: what is a post-mortem?]
Feast Design Co.'s themes are designed with work with the current version of the Genesis parent theme, and WordPress, at the time of development. This means for example, that version 3.2.0 (most recent release at the moment) was designed to work with Genesis prior to version 2.6.0.
All theme versions were not designed to work with 2.6.0, which is why issues such as this arise.
We'll keep an eye on future developments within Genesis to better prepare for this, where possible.
Future Proofing
Functionality like the search menu is something that belongs in a plugin with a paid subscription, which can be regularly updated without having to update an entire theme. In the future, this will live in the Feast Plugin (formerly known as "Nourish").
This will make resolving these sorts of issues much simpler in the future, as we can push out a plugin updates to fix the functionality easier, without you needing to re-download your entire theme.
Providing on-going fixes and support for functionality such as this, costs money and can only be maintained with an on-going subscription, via the Feast Plugin. For example, picking up on the missing search bar, troubleshooting the root cause, searching for solutions, attempting to fix it multiple ways, and publishing the fix took about 4 developer hours at $100/hour = $400. This stuff ain't cheap folks.
Themes will continue to receive updates for aesthetics.
[update 2019/07/23] WordPress' default get_search_form() is the only way to support multi-language plugins such as polylang: https://polylang.pro/always-use-get_search_form-to-create-search-forms/
Leave a Reply