Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1161376
    Microtax
    Participant

    Dear X-Team,

    I started to create a page, which should be in 4 different languages. Currently I’m using polylang as plugin. http://www.microtax.ch/de/home/

    Now I would love to have a language switcher above the menu in the top bar. See for example the following site:
    http://www.vollgeld-initiative.ch/
    Can you please help me to realize this.

    Thanks in advance
    Jonathan

    I’m using wordpress 4.6 and x-theme version 4.6.1; however I set up a child theme.

    #1161408
    Christian
    Moderator

    Hey there,

    That would require template overriding. You will need to copy _topbar.php located in wp-content\themes\x\framework\views\global to the same folder structure in your child theme wp-content\themes\x-child\framework\views\global. Open the copied file and put your code above, inside or below the line.

    <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>

    Please refer to your plugin’s documentation or contact the plugin author to learn what code to use. Please note that actual integration and issues arising from customizations falls outside the scope of our support. In such case, you might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thanks.

    #1170930
    Microtax
    Participant

    Thank you for your answer.

    #1170952
    Rupok
    Member

    You are welcome!

  • <script> jQuery(function($){ $("#no-reply-1161376 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>