WordPress tutorials: List pages

Wpsnipp -Displays a list of WordPress Pages as links. It is often used to customize the Sidebar or Header, but may be used in other Templates as well. Adding this PHP code to your wordpress theme will display all of your pages in an unordered list.

 

 

 

<?php
wp_list_pages();
?>

Be Sociable, Share!

Leave a comment