Tag Archives: menus

List All Posts In WordPress Navigation Menu

You may remember that last week, I’ve been dabbling in the world or WordPress navigation manus hacking around and looking into how to get dynamic Custom Post Type Archives in WordPress Menus.

I got directed towards a related and highly interesting question by @topher1kenobe. Couldn’t stop thinking about an easy and viable solution, so decided to go ahead and code it up.

List All Posts In Nav Menus WordPress

I know WordPress can automatically add pages to a custom menu, but can we have one where it’ll automatically add posts from a custom content type?

Continue reading



Custom Post Type Archives in WordPress Menus?

I was setting up a development WordPress environment under a non-root directory on a remote server this morning. Created a couple of custom post types and, as usual, was about to create separate pages for them (more on the technique later). This usually works out quite well, however, I decided to take another well-known route – use their existing archive pages via their slugs. Went over to the Menu and, obviously, found no Custom Post Type archive metabox that I could create a Menu item from. Custom Post Type posts – sure. Custom Taxonomies? Yes, Sir. Custom Post Type archives? …

WordPress Custom Post Type Archives in Menu

And, of course, I couldn’t take the thought off my mind all day (probably won’t sleep tonight figuring out). How does one set up a proper archive page menu item? There are, generally, two approaches to this (+1 hackish one). If you know of more, do share, please.

Continue reading