1. Home
  2. Docs
  3. Header (header.php)
  4. Top Navs
  5. Top Nav Scripts

Top Nav Scripts

<?php 
//get the active language
$getLang = pll_the_languages(array('raw'=>1));
$currLang = get_bloginfo('language');  
?>

description:
display the top navigation menu in bilingual, you can set or add new menu items for top menu in Appearance > Menus

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *