Wordpress: How can I add url GET parameter to my main menu items

前端 未结 4 370
醉话见心
醉话见心 2021-01-12 17:25

I\'m trying to add a URL GET parameter to one of my main menu items in Wordpress(but I don\'t know how to). So, my approach was to detect a click event on the menu item, the

4条回答
  •  一生所求
    2021-01-12 18:02

    I would suggest to use custom menus in Appearance>Menus. It will help you to retain custom URLs with get parameters. You may read it here Wordpress Menu

提交回复
热议问题