Forums

PHP help with WP Nav Menus (1 post)

  1. lance_kidd
    Member
    Posted 9 months ago #

    I trying to get some help with a little php code so that my menu will display what I want it to.

    I have the exec php plug-in and have been able to call my custom menu up on the page that I wanted it by using:

    <?php wp_nav_menu(array('menu' => '144')); ?>

    What I want is for the date that I add something to the menu to show up before the tag. I read that you can have some text there, or that you can call the date by setting get_date() to either true or false by adding this (somehow) to what I already have, but I have no idea how to write it.

    $before =>

    My theme (suffusion) already has each menu item and the ul and li tags wrapped in divs so that I can modify the output any way that I like. Hope this makes sense. Thanks!

Reply

You must log in to post.

About this Topic

Tags