Dynamic Latest Post in Nav Menu

By hijiri

★ 5.0/5 (3 ratings)300+ active installationsVersion 1.1.1

Add the link to dynamic latest post page, and the Archive page to Nav Menu.

Description

Add the link to dynamic latest post page, and the Archive page to Nav Menu.

Latest

The ‘Latest’ nav menu create the link to latest post page of Custom Post Type.
( orderby ‘menu_order’, ‘post_date’ )

When the new post is added, the link of ‘Latest’ is updated dynamically.

Archive

The ‘Archive’ nav menu create the link to the Archive page of Custom Post Type.

This Plugin published on GitHub.

Installation

  1. Upload ‘dynamic-latest-post-in-nav-menu’ folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the ‘Menus’ menu in WordPress.

Screenshots

Changelog

1.1.1

  • Support ‘wp_get_nav_menu_items’.
  • Add Japanese translation.

1.1.0

  • Support for Multisite( ‘switch_to_blog’ ).
  • ‘Latest’ nav menu orderby ‘menu_order’, ‘post_date’.

1.0.0

  • Initial Release