Home Forums Flowfolio WordPress Theme Custom page link doesn't work from menu, but works when entered in address bar Reply To: Custom page link doesn't work from menu, but works when entered in address bar

#2871

Johnny
Participant

Hi,
1. find the menu id(assuming is 123)
2. add below codes to footer.php before body tag

<script>jQuery("#menu-item-123 a").click(function() { window.location.replace("http://where.to.go\"); return false;});</script>

Best

  • This reply was modified 4 years, 6 months ago by  Johnny.
  • This reply was modified 4 years, 6 months ago by  Johnny.