13 reputation
4
bio website
location
age
visits member for 10 months
seen Dec 3 '13 at 13:45

Jun
17
comment How to list recent posts in a wp nav menu?
ok I got it! ;)
Jun
17
comment How to list recent posts in a wp nav menu?
well your working solution as a mistake :D if( $item->ID === 45): it should end with a ; not with : can you correct it? And it's not the same script as mine! I'll post it later anyway ;)
Jun
17
comment How to list recent posts in a wp nav menu?
It worked finally. I'm going to post the final result in the next 3 hours. Thank you birgire
Jun
17
comment How to list recent posts in a wp nav menu?
Seems like it doesn't work :S I've inserted this: if( $item->ID === 45): // ADD THIS MENU-ITEM ID CHECKright above the "query the lasts" and changeded the foreach as you said... keeps the same dup!