Support » Plugin: Polylang » Flags are hidden when using categories in menu

  • I created a small website and first I just had a simple navigation bar with 4 pages in each language. Everything worked perfect! Now I had to add a News Section and I created a news category, translated the category and created also some posts and translated a few of them. I added the two categories to the menu of each language but no flags appear… Did I forget something?

    https://wordpress.org/plugins/polylang/

Viewing 1 replies (of 1 total)
  • Thread Starter vanBersie

    (@vanbersie)

    Problem solved!

    I totally forgot how I embedded the flags – I used this line:
    <ul id="flags_list"><?php pll_the_languages(array('show_flags'=>1,'show_names'=>0));?></ul>
    and put it in the page.php file of my theme but forgot to put it in the archive.php file as well. Now it makes sense 😀

Viewing 1 replies (of 1 total)
  • The topic ‘Flags are hidden when using categories in menu’ is closed to new replies.