WPML fix for Gecka Submenu
-
I made this hack to make the plugin Gecka Submenu work with Polylang.
class WPML_Fix { function get_default_language() { return pll_default_language(); } } $GLOBALS['sitepress'] = new WPML_Fix();
Gecka calls for the method get_default_language via the global $sitepress. So there for this fix. Maybe there is a better solution?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WPML fix for Gecka Submenu’ is closed to new replies.