• Resolved skruglewicz

    (@skruglewicz)


    Hi.
    On my site http://sandbox.ontegrity.com
    I am using WPML for multilanguage translations. I am using the language selector with a call in my header to <?php do_action(‘icl_language_selector’); ?>
    this creates a menu that i’ve styled to be over my navigation menu.

    If you go to the above site in normal browser now you will see 2 identical language menus. The one to the far right is not needed and I’m not sure how it is now showing up?

    Some how this started showing up and it is not being styled like the other one?

    HOpe this is enough information to describe the problem

    `

    https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author sevenspark

    (@sevenspark)

    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?

    Thread Starter skruglewicz

    (@skruglewicz)

    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?

    Plugin Author sevenspark

    (@sevenspark)

    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.

    Thread Starter skruglewicz

    (@skruglewicz)

    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.

    Plugin Author sevenspark

    (@sevenspark)

    Glad you got it sorted out 🙂

    Thread Starter skruglewicz

    (@skruglewicz)

    Thanks for all your help. This should be going to production this week.

    Plugin Author sevenspark

    (@sevenspark)

    You’re welcome, best of luck with your launch! 🙂

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

The topic ‘Content is being generated under’ is closed to new replies.