Changeset 710657
- Timestamp:
- 05/10/2013 12:39:18 AM (13 years ago)
- Location:
- advanced-custom-fields-nav-menu-field
- Files:
-
- 2 edited
-
tags/1.0.0/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-custom-fields-nav-menu-field/tags/1.0.0/readme.txt
r710367 r710657 20 20 * ID for lightweight coding, 21 21 * Object for more involved programming, or 22 * HTML (generated from [wp_nav_menu]( )) for quickly displaying a menu.22 * HTML (generated from [wp_nav_menu](http://codex.wordpress.org/Function_Reference/wp_nav_menu)) for quickly displaying a menu. 23 23 24 24 I created this plugin because I needed to display a secondary menu that changed depending on what page you're on. Most of those pages were children of the same page, but then I had to throw a couple of Custom Post Types in there too. Because of the Custom Post Types, I couldn't just grab the top most parent for the current page and use [wp_list_pages](http://codex.wordpress.org/Function_Reference/wp_list_pages). So I did some research and decided to extend the functionality of my favourite plugin, [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/). Now when I create a new Page or Custom Post, I just select the menu from a drop down menu! -
advanced-custom-fields-nav-menu-field/trunk/readme.txt
r710367 r710657 20 20 * ID for lightweight coding, 21 21 * Object for more involved programming, or 22 * HTML (generated from [wp_nav_menu]( )) for quickly displaying a menu.22 * HTML (generated from [wp_nav_menu](http://codex.wordpress.org/Function_Reference/wp_nav_menu)) for quickly displaying a menu. 23 23 24 24 I created this plugin because I needed to display a secondary menu that changed depending on what page you're on. Most of those pages were children of the same page, but then I had to throw a couple of Custom Post Types in there too. Because of the Custom Post Types, I couldn't just grab the top most parent for the current page and use [wp_list_pages](http://codex.wordpress.org/Function_Reference/wp_list_pages). So I did some research and decided to extend the functionality of my favourite plugin, [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/). Now when I create a new Page or Custom Post, I just select the menu from a drop down menu!
Note: See TracChangeset
for help on using the changeset viewer.