Non page link in wp_list_pages


I would like a navigation something like this.

Home – People – About – Services – Contact

Home, About, Services and Contact are all pages.

People DOES NOT have a page, I would like to use this link to open a second Navigation.

Is it possible to add a link in wp_list_pages that doesn’t link to a page.

Is it also possible to add a id to this link that doesn’t have a page.

I would like the code to look something like this.

      <li><a href="Wordpress link">Home</a></li>
      <li id="people"><a href="No Page">People</a></li>
      <li><a href="Wordpress link">About</a></li>
      <li><a href="Wordpress link">Services</a></li>
      <li><a href="Wordpress link">Contact</a></li>
Simon Cooper 3 years 2020-06-07T02:11:49-05:00 0 Answers 95 views 0

Leave an answer