Non page link in wp_list_pages
Question
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.
<ul>
<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>
</ul>
0
wp-list-pages
3 years
2020-06-07T02:11:49-05:00
2020-06-07T02:11:49-05:00 0 Answers
95 views
0
Leave an answer