[wp-hackers] Adding new Menu Modules to Wordpress

BenderisGreat greglancaster71 at gmail.com
Thu May 22 05:57:15 UTC 2014


I have been making use of the code Nikola shared for a few months.  Recently
however I need to create tiered menu items.  That means generating fake
page_ids for the parent - I am stuck on if this is even possible.  

Could it be possible to use a string as the ID rather than an integer?  If
that was/is possible then I could use the title field. It does not seem to
work though.  So from my testing, it requires a real page_id attached to a
post.  

Does anyone know of a way to create a tiered nav_menu_item dynamically,
without creating a real page for each post item?



--
View this message in context: http://wordpress-hackers.1065353.n5.nabble.com/Adding-new-Menu-Modules-to-Wordpress-tp43267p43969.html
Sent from the Wordpress Hackers mailing list archive at Nabble.com.


More information about the wp-hackers mailing list