I thought with the Menu Replacement Settings I can add my own programming logic to a menu item.
Choose: Search Type
Custom Content: [myOnwSortcode]
(My Shortcode outputs an dynamic generated link.)
but nothing happes. Can it be that I misunderstood this function? Or is there a documentation how can I code my own shortcode that works with your Menu Replacement Settings?
If that not work, do you have another idea, how I can insert a menu item that use an URL, that I will generate by a function in the function.php I cannot use a static url.
- The topic ‘Menu Replacement Settings or other solution for setting an menu item with logic’ is closed to new replies.