Generate navigation list from posts and pages
I want to show a vertical navigation bar on every page that looks something like this:
– article 1
– article 2
– article 3
– report 1
– report 2
Some of the sections are posts and some of them are pages. How can I generate a list (ul and li) in a specific order (first Home then Company, etc.) from the posts and pages?
- The topic ‘Generate navigation list from posts and pages’ is closed to new replies.