Unable to add extra elements to the main navi (wp_nav_menu_items)
Just out of luck, I tried adding the code to nav.php instead of the custom.php (which contains the functions.php in the Roots.io theme), and it worked like a charm. Also, being based on Boostrap 3, I had to add some classes and attributes for the dropdown to work. Here’s the final code, if anybody else … Read more