Display list of child pages published in the current month only
-
Hi,
Is it possible to display, on a parent page, a list (with title and featured image) of it’s child pages that were published in the current month?
I know at least how to call all children from the current page, but I’m having trouble with the rest:
<ul> <?php global $post; $current_page_parent = ( $post->post_parent ? $post->post_parent : $post->ID ); wp_list_pages( array( 'title_li' => '', 'child_of' => $current_page_parent, 'depth' => '1') ); ?> </ul>
thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Display list of child pages published in the current month only’ is closed to new replies.