flyntwp / flynt

Component based WordPress starter theme, powered by ACF Pro and Timber, optimized for a11y and fast page load results.
https://flyntwp.com
MIT License
735 stars 84 forks source link

Menu item current not working #374

Closed adrianratajczak closed 3 years ago

adrianratajczak commented 3 years ago

Hello, I saw that this template https://github.com/flyntwp/flynt/blob/master/Components/NavigationMain/index.twig is using current for checking active menu state. But it doesn't work at all. It is not rendering any class for current menu item

edit: I need to create menu in WP first. It can't be just default menu provided from starter theme