<?php
$child_pages = $wpdb->get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = “.$post->ID.” AND post_type = ‘page’ ORDER BY menu_order”, ‘OBJECT’); ?>
<?php if ( $child_pages ) : foreach ( $child_pages as $pageChild ) : setup_postdata( $pageChild );
$i+=count($pageChild); ?>
<a href=”<?php echo get_permalink($pageChild->ID); ?>” rel=”bookmark” title=”<?php echo $pageChild->post_title; ?>”> <?php echo get_the_post_thumbnail($pageChild->ID, ‘full’); ?></a><br/>
<h3><a href=”<?php echo get_permalink($pageChild->ID); ?>” rel=”bookmark” title=”<?php echo $pageChild->post_title; ?>”><?php echo $pageChild->post_title; ?></a></h3>
<?php endforeach; endif; ?>
0
Good https://is.gd/tpjNyL
Good https://shorturl.at/2breu
Awesome https://t.ly/tndaA
Very good https://rb.gy/4gq2o4
Awesome https://is.gd/N1ikS2
Good https://is.gd/N1ikS2
Good https://is.gd/N1ikS2
Good https://is.gd/N1ikS2
Awesome https://is.gd/N1ikS2
Very good https://is.gd/N1ikS2
Very good https://is.gd/N1ikS2
Awesome https://is.gd/N1ikS2
Very good https://is.gd/N1ikS2
Cool partnership https://shorturl.fm/FIJkD
Cool partnership https://shorturl.fm/a0B2m
https://shorturl.fm/TbTre
https://shorturl.fm/5JO3e
https://shorturl.fm/9fnIC
https://shorturl.fm/a0B2m
https://shorturl.fm/68Y8V
https://shorturl.fm/TbTre
https://shorturl.fm/FIJkD
https://shorturl.fm/5JO3e
https://shorturl.fm/YvSxU
https://shorturl.fm/oYjg5
https://shorturl.fm/A5ni8
https://shorturl.fm/N6nl1
https://shorturl.fm/TbTre
https://shorturl.fm/m8ueY
https://shorturl.fm/uyMvT
https://shorturl.fm/VeYJe
https://shorturl.fm/YZRz9
https://shorturl.fm/DA3HU
https://shorturl.fm/LdPUr
https://shorturl.fm/DA3HU
https://shorturl.fm/JtG9d
https://shorturl.fm/fSv4z
https://shorturl.fm/ypgnt
Get paid for every referral—enroll in our affiliate program! https://shorturl.fm/x68ld
Drive sales, earn big—enroll in our affiliate program! https://shorturl.fm/z90pT