Select Page

Automatically show child pages and custom fields WorldPress

This code will allow you to automatically show child pages including custom fields in this case one called ‘desc’ You will need to add this code to your template file for example page.php <?php $child_pages = $wpdb->get_results("SELECT * FROM...