List pages within a certain parent and show published month
Ok firstly, create a php file inside your theme’s folder and give it a name that won’t clash with any of the native theme template files, archive.php, index.php etc… (give it a unique name, something like page-list-by-month.php). Add the following code to that file. <?php /** * Template Name: Pages by Month */ get_header(); ?> … Read more