Tagged: x
-
AuthorPosts
-
April 18, 2016 at 8:51 pm #889144
MishoParticipantHi!
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!
April 18, 2016 at 8:52 pm #889145
MishoParticipantThis reply has been marked as private.April 19, 2016 at 5:31 am #889737
ZeshanMemberHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-889144 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
