I have a trivial bit of code in my child theme’s header.php that displays a different metaslider depending on whether the page in question is_home() or not.
if (!is_home()) { echo do_shortcode("[metaslider id=746]"); }
Simple, right? After the update, the home page never triggers is_home as being true. This is made more clear by the following changes to my code:
if (is_home()) { vantage_render_slider(); } else { echo do_shortcode("[metaslider id=746]"); }
In this case, only the ELSE statement is ever executed.
Any ideas? The only thing that’s changed is updating Page Builder.
Thanks!
Hi Strika
Due to some new rules for themes hosted on WordPress.org, we needed to make changes to how Page Builder handles home pages so that we could make our themes comply with the new rules.
You should be able to fix the issue by changing is_home() to is_front_page(). This should properly detect the new Page Builder home page.
Please let me know if this works for you.
Absolutely beautiful; it works perfectly again!
Thanks so much!
Fantastic! Glad to have your site back on track.