Tagged: custom widget
Hi,
Where should I insert the code, if I need the custom widget to be to the left of the menu or to the right of the menu (this is translation icons)?
Best regards,
Evgeny
Hi Speedskater!
Please go to Appearance > Editor and open helper-main-menu.php file and find
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', $addition, 'strong', true);
and add your code right below it. If you can post the code you would like to use ( please use pastebin.com in that case ) we can help you with how it should be implemented
Best regards,
Yigit
Hi Yigit!
Unfortunately, it didn’t work. Nothing appeared. But if I try to paste the code into header, I can see the changes.
Here is the code – http://pastebin.com/bTAMyfAq
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function custom_func() {
echo ztrans_generateLanguageSelectCode('text');
}
add_action('ava_after_main_menu', 'custom_func');
Cheers!
Josue
Thank you Josue! It worked!