Add filter for Homepage URL ( Issue with language specific homepage WPML )
-
Hi,
We’re having a issue with InstaPage in combination with WPML.
Our homepage is set to a language page ” https://oururl.com/en ” and therefore all instapage pages start with the language url “/en”.But since we have a multilang site we want to create landing pages in multiple languages so this url can’t have the language in it.
Could you guys please add a filter to “InstapageCmsPluginWPConnector::getHomeURL” ?
If i can simply alter the $url var there to use get_site_url(); function this would be fixed for us.
I know this will result in us no longer being able to alter the homepage with a InstaPage but we weren’t planning on doing this so this is no issue for us.Thanks in advance,
Kind regards,
Lennart | Epicode
- The topic ‘Add filter for Homepage URL ( Issue with language specific homepage WPML )’ is closed to new replies.