lance_kidd wrote:
Code: Select all
<?php wp_nav_menu(array('menu' => '144')); ?>
I don't think that it would be too hard for someone who knows a little about WP, but if anyone has some extra time and can help, here is the page that describes what can be added to the code above:
http://codex.wordpress.org/Function_Ref ... p_nav_menu
Hi, as far as I am aware you are trying to add another value to the array:
So surely as a guess never having used this function with wordpress you would create something like this:
Code: Select all
<?php wp_nav_menu(array('before' =>'your text here' , 'menu' => '144')); ?>
My guess would be that this array option built into Wordpress will only display text for the parent link etc before the dropdown function or display the same text for each and every link in that particular menu you are selecting '144'. So my suggestion not really knowing about this built in Wordpress function is you will have to extract the creation dates from the database first, then display the menu using some type of foreach statement so each individual menu link is displayed with its own created date.
Again dont hold me to this as I have never used this function for Wordpress.
There is another option but it depends if your article links you are using will change etc. If you have created a menu manually with set links to display certain articles then check out the custom menu page for Wordpress and you can add the date yourself to the link tag and title tag. That way your links/text have the date you created them on.
http://en.support.wordpress.com/menus/
I hope this helps out in some way.
Best wishes