$child_pages = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = ".$post->ID." AND post_type = 'page' ORDER BY menu_order", 'OBJECT');
if ( $child_pages ) :
foreach ( $child_pages as $pageChild ) :
setup_postdata( $pageChild );
$thumbnail = get_the_post_thumbnail($pageChild->ID, 'full');
if($thumbnail == "") continue; // Skip pages without a thumbnail
?>
/home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 37
https://www.asfalt.tv/portofolio/" rel="bookmark" title="
Warning: Undefined variable $pageChild in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 37
Warning: Attempt to read property "post_title" on null in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 37
">
Warning: Undefined variable $thumbnail in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 38
/home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 40
endforeach;
endif;
?>
https://www.asfalt.tv/portofolio/" rel="bookmark" title="
Warning: Undefined variable $pageChild in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 37
Warning: Attempt to read property "post_title" on null in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 37
">
Warning: Undefined variable $thumbnail in /home/html/asfalt.tv/public_html/www/wp-content/themes/storjsros.sk/page-templates/full-width.php on line 38