I have a website that displays a specific layout feature only on the homepage, and this is working fine. However, the client has suggested that they would like the website to be bilingual, and so I added a plugin to allow the transition between two languages.
Unfortunately, the plugin adds /?lang=cy
to the URL and I fear it's causing my layout feature to break.
The conditional is relatively straight forward:
if (is_front_page()){ ?>
RENDER HOMEPAGE FEATURE
<?php }
When I choose to switch language, the layout feature disappears.