描述
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.
螢幕截圖
安裝
- Upload ‘dynamic-latest-post-in-nav-menu’ folder to the
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to the ‘Menus’ menu in WordPress.
評價
2017年10月13日
Simple, but reliable. Works as advertised.
2017年8月10日
Works as described in latest Wordpress 4.8.1
貢獻者及開發者
修改日誌
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