Published Page List in WordPress


If you are ever looking for a quick and easy way to list all of the pages on your site that are published here is how I accomplished it.  It uses the WordPress get_pages() function to then output the title and permalink if the post status is published.


Submit a Comment

Your email address will not be published. Required fields are marked *