Hi,
I add a code in the helper main menu.php in order to add flag links for the website translation.
I add it just below this :
<div id=’header_meta’ class=’container_wrap container_wrap_meta <?php echo avia_header_class_string(array(‘header_social’, ‘header_secondary_menu’, ‘header_phone_active’), ‘av_’); ?>’>
Here is my code line :
<?php if(function_exists(“transposh_widget”)) { transposh_widget(array(), array(‘widget_file’ => ‘flags/tpw_flags.php’)); }?>
It’s working perfectly… However, I would like to have these flag links just next to the copyrights line and not above.
Can you please help me?
Thanks a lot!
Alexandra
Hey alexoua!
Your wanting to display it right next to the copyright text on the left side of the footer correct? If so then add this on line 108 in /enfold/footer.php.
if(function_exists('transposh_widget')) { transposh_widget(array(), array('widget_file' => 'flags/tpw_flags.php')); }
It should be placed right above this,
echo "<nav class='sub_menu_socket' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
Best regards,
Elliott
Hi Elliot,
thanks for your reply!