Customize Walker_nav_menu to show posts if item is category
I would like to customize the nav menu walker so that when it encounters a category it automatically makes the 5 most resent posts children of the menu item. Is there a way to dynamically add items to the menu object or it better to have a conditional in the start_el function?
Topic walker navigation menus Wordpress
Category Web