It worked, thanks a lotttt Makins
You’ll need to run with this, but it should help point you in the right direction. Put this in the loop for your page (in page.php):$page_query = new WP_Query(); $all_pages = $page_query->query( array('post_type' => 'page') ); $page_children = get_page_children( get_the_id(), $all_pages ); $current_page = $page_children; echo '<ul>'; echo '<li>' . get_the_post_thumbnail( $current_page->ID, 'thumbnail' ) . $current_page->post_title . '</li>'; echo '</ul>';
Thank you so much for your reply… Could you please reply with the whole block code i need to add to page.php. Thanks
Thats my last try
<?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 ); ?> <div class="child-thumb"> <?php echo get_the_post_thumbnail($pageChild->ID, 'thumbnail'); ?> <a href="<?php echo get_permalink($pageChild->ID); ?>" rel="bookmark" title="<?php echo $pageChild->post_title; ?>"><?php echo $pageChild->post_title; ?></a> </div> <?php endforeach; endif; ?>
Love it!!! Main navigation: Bolder font
Same here with the Tranda theme (same author), I had to erase a full week of work because of a BUG on there end that my client noticed that i couldn’t fix myself i try to reach the author for 48 hours with no answers…. BTW Now its been 5 days and they still didn’t answer any of anyone questions, of course i bought another theme and worked for 30 hours straight to be able to meet my client time-frame.
MVPThemes saidI just contacted my theme author. Waiting for a reply.
I had the exact same issue after the Wordpress 3.5 release, which forced me to remove the XML data from my themes. How are other authors providing dummy content if this is the case? Are they providing an SQL database or something?
Hi everyone, any fix on this issue?