WordPress.org

Ready to get started?Download WordPress

Forums

add php writing ability into custom mennu URL to wp_nav_menu (1 post)

  1. arpitap
    Member
    Posted 4 years ago #

    what walker class I need to write to add ability of writing php code into custom menu URL?

    example :

    I would like to add custom URL as
    http://www.siteurl.com/?HotelID=<?php echo $_session['HotelID']

    Someone told me I can do that using walker class, but I am not so good to write that class.

    Anyone can help me what I should write in there?

    Any help would be very much appreciated.

    Thanks in advace.

    Arpita

Topic Closed

This topic has been closed to new replies.

About this Topic