/ Published in: PHP

This lists all the pages that are "Published", excluding the current one. Useful for a sitemap template.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
global $post; wp_list_pages("exclude=$post->ID&title_li=<h2>" . __('List of Pages') . "</h2>");
Comments
