I've been trying this for some time and didn't get no clear answer.
I need to display 11 recent posts inside one of my menu items. My menu is like:
ITEM 1 · MAMBA · ITEM 3
I need to display post titles and respective url's when rollover MAMBA. I got this code from Joeyjoejoe's Category menu item and its last 10 posts as sub-menu but pasted as is I can get recent posts for all submenu items as categories.
I had to change it a bit to appear only in MAMBA:
$category_ten_last_posts = array( 'showposts' => 11, 'category_name' => 'mamba',
and the target item:
$post->menu_item_parent = 45;
saddly the code started to repeat the recent posts list, in a duplicated maner:
My question here is how to list a controlled number of recent posts from a choosen category to a specific Menu Item?
Thank you for all the help you can give.
Best regards. H.