Return to Snippet

Revision: 43018
at March 15, 2011 07:26 by ToddSmithSalter


Initial Code
global $post;
wp_list_pages("exclude=$post->ID&title_li=<h2>" . __('List of Pages') . "</h2>");

Initial URL

                                

Initial Description
This lists all the pages that are "Published", excluding the current one. Useful for a sitemap template.

Initial Title
List all pages excluding the current one

Initial Tags
wordpress

Initial Language
PHP