What does the most recent 5 posts in a category have to do with the custom menu?
I would like to have links to the recent posts in my navigation dropdown menu. Should I do it some other way?
The only way that I can think of for achieving this easily is to use the Page Links To plugin and updating the redirection manually every time you publish a post.
Other than that, you’d have to code a get_posts Loop and construct your own custom menu.
Ok,then I won´t change to wordpress custom menu. This is my menu now what should I do th achieve what I want?
[Code moderated as per the Forum Rules. Please use the pastebin]
You’d still need to code a get_posts Loop and construct your own custom menu. Or use the Recent Posts widget if your menu is widget-aware.
This is my nav menu now:
http://pastebin.com/qMjidwxn
What should I add in the loop to display 5 recent posts from a specific category?
Something like http://pastebin.com/bD7p9hxt should work.
Thank you very much I will try that.
I’m interested in using custom menus this way as well because I have to use custom menus with the jQuery Vertical Accordion Menu: http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-accordion-menu-widget/
I want to list the three most recent posts in a particular category. Can you recommend an alternate way of doing this? With a custom menu, I have to manually pick the posts that should display in the menu rather than having them display automatically based on date. I’d prefer not to have manually update my menu so often, so am definitely looking for suggestions.
A custom post type shows up as a meta box in the custom menus, right? Could I use that to show all posts of a certain custom post type?