Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    You don’t want to do relative menu links, you’ll always end up with 404 errors when a link is followed from somewhere unanticipated.

    It is possible to create dynamic menu items where the links change based on which hotel the visitor originally started on. But not through the admin menu interface. This would be a custom coded solution. The wp_nav_menu() function has several filters where one can influence what gets shown in the resulting menu output. Besides filters, a custom walker object can be specified. A custom walker class is probably the best way to achieve your goals, but it’s also the most involved to code.

    Thread Starter jorghe55

    (@jorghe55)

    I know that i could work writing code and I think also how make it, but is an external work and my customer ask me to create a website without using custom code if possible.

    I try to learn the wp_nav_menu and try also to make something.

    Thanks a lot anyway .

    J

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to customize menu with relative link’ is closed to new replies.