This topic has 9 replies, 2 voices, and was last updated 9 years, 11 months ago ago by Eva Kemp
Hi, I have installed the google translator plugin and am trying to add it to the header menu area.
The settings say to add this code to the header.php:
<?php echo do_shortcode(‘[google-translator]’); ?>
I did this, I added it in middle of this section on this page:
<div id=”st-container” class=”st-container”>
<?php echo do_shortcode(‘[google-translator]’); ?>
<nav class=”st-menu mobile-menu-block”>
But it just sits above the menu and floats way off to the top left corner as you can see on the site.
Where exactly in the header.php should I put it so it is within the main menu? Ideally I would like it to be on the far right side of logo in the white space, or in the actual menu itself.
Thank you so much for the help.
Hello,
The link to wp-admin panel gives 404 error.
Please provide us with the correct link.
Thank you.
Regards,
Eva Kemp.
Sorry Eva, I had a a security plugin enabled and gave wrong address.
I just moved it to another location in the header.php file, but it did not work. Unsure where to place it in this code.
Hello,
We don’t have permissions to edit header.php file.
Please change the file permissions or provide us with FTP credentials.
Thank you.
Regards,
Eva Kemp.
Oh sorry again, ok I have both – changed file permissions for this file so you can edit it directly in WordPress, or use the ftp details below, whatever is easiest for you…
Hello,
The login credentials to FTP are incorrect.
Please check them.
Thank you.
Regards,
Eva Kemp.
Hi,
Hello,
We’ve tested the code and unfortunately it can’t be added to the menu, but only the way you placed it in header.php.
Sorry.
Regards,
Eva Kemp.
The issue related to '‘google translator plugin’' has been successfully resolved, and the topic is now closed for further responses