Rooms Rooms 1 Rooms 2 Rooms 3 Rooms 4
Rooms is the parent page and I want to display only the first child page.
Currently, I am using the code:
<?php $args = array( 'child_of' => 4, 'title_li' => '', 'sort_column' => 'post_date' ); $pages = wp_list_pages($args);
It is fetching all the child pages. I am new to Wordpress coding and so need help.