Linking to pages as nav links w/o using the page name
-
Greetings all,
I’m building a theme that uses the pages as navigation links. I’d like the end user to be able to change the names of the pages w/o the nav links breaking. Each nav link is uniquely styled rather than lending itself to uniform
- ‘s, so I didn’t use wp_list_pages().
My solution to this was to figure out the ID of the pages and retrieve the page links using their ID’s, then link to those ID’s directly in my theme. That works great, as long as the end user doesn’t delete the page 🙂
But, I’m wondering if someone has a better solution to this?
Thanks
NorthK
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Linking to pages as nav links w/o using the page name’ is closed to new replies.