-
AuthorPosts
-
April 14, 2014 at 7:37 pm #33472
Hi,
First I would like to thank for a great theme. I love it very much…Thanks for all your team!
I’m using integrity light theme. After I checked forum, I couldn’t find anything regarding Google Language Translator plugin. Could you please show me (give instructions:), how to make flag icons of Google Language Translator plugin to appear in the Topbar or in the header Menu area (right or left side of it – and I also need help adjusting flag’s positioning up, left, right and down). This plugin works perfect with header widget, but I don’t want to use widgets for this.
Thanks in advance for Your help.
Vaidyz
April 16, 2014 at 3:18 am #33794Hi there!
Thank you for using the theme!
You can insert the google language translator code on framework > views > global > _navbar.php. If you don’t mind, please post a screenshot on where exactly you want the plugin to show on the header. Also, include the code on your reply. We’ll be happy to assist you once we have a better understanding of what it is you’re trying to accomplish.
Cheers!
April 17, 2014 at 7:20 pm #34590Hi,
Thank you so much for your reply … Now, I did everything what I wanted 🙂
Have a good week-end,
VaidotasApril 17, 2014 at 11:43 pm #34671Glad we could help. If you have any questions, let us know.
April 24, 2014 at 11:39 am #36792Hi, I’m using the mqTranslate plugin and i want to put the flags on the header, how can I do it?
Thanks.April 24, 2014 at 7:52 pm #36974Hi Antonela,
You can follow these steps, though can’t support you more than these.
1. Duplicate your /x/framework/views/global/_topbar.php into your child theme (eg. /x-child-{YOUR STACK}/framework/views/global/_topbar.php )
2. Edit your new _topbar.php and find this code :<?php if ( get_theme_mod( 'x_topbar_content' ) != '' ) : ?> <p class="p-info"><?php echo get_theme_mod( 'x_topbar_content' ); ?></p> <?php endif; ?>
then replace it with :
<p class="p-info"> <?php if ( get_theme_mod( 'x_topbar_content' ) != '' ) echo get_theme_mod( 'x_topbar_content' ); ?> <?php echo qtrans_generateLanguageSelectCode('both'); ?> </p>
3. Save and upload.
Hope this helps.
-
AuthorPosts