Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #889144
    Misho
    Participant

    Hi!

    I am finishing the transfer of the site from VC to Cornerstone, and will move it to the live server.

    All this time I had the topbar language switcher on the new site, but now it disappeared.

    I still have this in the topbar.php in the Child theme:

    <?php if ( x_get_option( 'x_topbar_display', 0 ) == 1 ) : ?>
    
      <div class="x-topbar">
        <div class="x-topbar-inner x-container max width">
          <?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
          <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
          <?php endif; ?>
          <?php do_action('icl_language_selector');?>
          <?php x_social_global(); ?>
        </div>
      </div>
    
    <?php endif; ?>

    I have also tried `<?php do_action(‘wpml_add_language_selector’); ?>.

    But nothing works. It is not there.

    I also have this css:

    #lang_sel_list {
        float: right;
        margin-top: 15px;
        margin-left: 10px;
    }

    But it won’t show up even if I remove all the CSS.

    Do you guys have any idea how to get it back?

    Thanks!

    #889145
    Misho
    Participant
    This reply has been marked as private.
    #889737
    Zeshan
    Member

    Hi Misho,

    Thanks for writing in!

    The code is working in your topbar, but it’s not outputting the languages names (see: http://prntscr.com/au41dh). I’m not sure but it looks like an issue related to WPML. I’d recommend contacting WPML support concerning the issue.

    Thank you!

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