Hi skruglewicz.
I’m not sure how that would be related to ShiftNav, since the language selector is not inside ShiftNav and it doesn’t control the WPML output, but it looks like you only have one language selector now?
Thanks for the response.
the extra language selector code is placed within a body of class “shiftnav-enabled shiftnav-lock”
<body class="shiftnav-enabled shiftnav-lock">
<div class="shiftnav-wrap">
<div id="lang_sel_list" class="lang_sel_list_horizontal">
-- language Selector HTML is here---- not sure where this is coming from
</div>
</div>
<div class="header-wrapper">
language selector html here -- this is generated with a call in my header.php to <?php do_action('icl_language_selector'); ?>
</div>
I was able to stop the unwanted language by checking the following setting in the Shift Nav admin plugin>
on the “Toggle Bar” TAB
Display Toggle Bar [X] Uncheck this to disable the default toggle bar and add your own custom toggle
Not sure why this work?
ShiftNav added those classes to the body, and it wraps your content in a wrapper so that it can be pushed over. It doesn’t mean it is producing that content. It could be a sequencing issue, however, with the wrapper being added and then some language content not playing nice with that. If you want you can try disabling the Shift Body setting.
OK I figured out that it was a rough plugin that was activated by mistake. This was writing the extra content described above. Feel free to close this ticket. Thanks for your help, I’m sort of a newbie to Word press.
Glad you got it sorted out 🙂
Thanks for all your help. This should be going to production this week.
You’re welcome, best of luck with your launch! 🙂