Customize Walker_nav_menu to show posts if item is category

Question

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?

0
, , jppower175 10 years 2014-03-31T14:20:22-05:00 0 Answers 55 views 0

Leave an answer

Browse
Browse