WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Use walker only for a specific menu (1 post)

  1. gashface
    Member
    Posted 1 year ago #

    I have created a custom walker to display the post thumbnail and a menu description for nav menus, but I only want this to work for a specific menu... I can't seem to get this to work properly.

    I'm getting a lot of false variable errors coming from my header file. I suspect that it is not making the relation to the thumbnail variables etc. but I'm not sure why as my code worked before I added in the if statement to make sure I am targetting one specific menu, any ideas?

    http://pastebin.com/yq0fcX3a

Topic Closed

This topic has been closed to new replies.

About this Topic