Title: Theme menu layout broken by Polylang
Last modified: August 22, 2016

---

# Theme menu layout broken by Polylang

 *  Resolved [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/)
 * Hello,
    I am using the MediCure theme ([http://medicure.cmsmasters.net/](http://medicure.cmsmasters.net/)).
 * I have installed and activated the Polylang plugin and all sub-menu items in 
   the main menu are completely messed: [http://azvebdev4.tk](http://azvebdev4.tk)
 * As soon as i disable the plugin menu goes OK.
 * I have contacted theme authors, but they told me they can’t help me, because 
   they can’t ensure theme compatibility with every plugin.
 * Would you be so kind to take a look at my issue? If needed i could provide login
   data.
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857422)
 * Hello,
 * Could you try with a default theme like Twenty Fifteen + only Polylang activate.
   
   It works?
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857428)
 * I have tried other themes and menus are fine, but that’s the point, i need to
   use the commercial theme i bought 🙂
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857444)
 * > I have tried other themes and menus are fine,
 * Either Polylang and your theme are not compatible or you have a conflict with
   another plugin.
 * Is it work with your theme + only Polylang with all your other plugins *de-activate*?
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857452)
 * I have deactivated all plugins but Polylang, menu is still distorted.
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857517)
 * In Appearance > Menus > “Manage Location” tab: for the Theme Location “Primary
   Menu Russian”: did you select a menu?
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857586)
 * I guess that was it, i had to once to that tab and click save, then it got fixed.
 * Thank you a lot my friend, you saved me from from further long look for another
   plugin, so I’ll stick with it, if i will be able to have the language widget 
   displayed on my site.
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857599)
 * Yes, indeed now i have troubles have the language switcher show on home page.
   I have tried all template sidebars, and the widget shows only in traditional 
   sidebar, while top, middle and bottom sidebars don’t display it.
 * Again i contacted theme authors to ask for a good sidebar or position to publish
   the widget, and again they told me it’s a matter of the widget not being compatible
   with their theme, so they can’t help much.
 * Adding the language switcher to menu works fine, but i wanted to publish it as
   a widget.
 * Is there a way to hard-code it manually into template php, to a desired position?
   If so, which code should i try post in php file?
 * Thank again!
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857603)
 * > Is there a way to hard-code it manually into template php, to a desired position?
   > If so, which code should i try post in php file?
 * yes of course: [pll_the_languages](https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/).
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857604)
 * > it’s a matter of the widget not being compatible with their theme, so they 
   > can’t help much.
 * Could they explain what’s wrong in this widget? I believe that it is a very standard
   widget [using the Widget API as documented in the codex](http://codex.wordpress.org/Widgets_API)
   and so should be displayed correctly in any standard sidebar.
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857607)
 * Chouby, it does display fine in just sidebar, while not getting displayed in 
   top, middle and bottom sidebars, and unfortunately i don’t need it in the sidebar.
   
   This was their reply: “we can’t guarantee the theme compatibility with this widget/
   plugin at all. We can guarantee the theme proper functioning with widgets created
   by our developers, with basic WooCommerce widgets and basic WordPress widgets”.
 * Chrystl, could you please tell me in which php file should i include code from
   pll_the_languages page?
    Thanks!
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857614)
 * > could you please tell me in which php file should i include code
 * No idea I don’t know the theme and it’s not free available. Only your theme author
   can reply to your question.
 *  Thread Starter [AzMandius](https://wordpress.org/support/users/azmandius/)
 * (@azmandius)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857615)
 * I could share it with you if you’d be kind to have a look into it 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Theme menu layout broken by Polylang’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [AzMandius](https://wordpress.org/support/users/azmandius/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/theme-menu-layout-broken-by-polylang/#post-5857615)
 * Status: resolved