Premium WP Themes Code SnippetsTipsWP ThemesXOXO News
March 31, 2012
Code Snippets

If you’re going to use WordPress as a CMS, then you’ll definitely want to display all of the pages in your blog. Just displaying all of the pages is really quite simple.

To do this, you want to get all of the pages, and then for each one, print out a link to it. Like this:

That’s the basics of it. Once you get that going, you’ll probably want to add some styling. Also, if you want to use drop down menus, then you’ll want to create a page hierarchy. But we’ll cover that in a later post.

Happy Blogging!

Share
Connect with us!

Leave a Reply