Posts by danyno45

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

It worked, thanks a lotttt Makins :)

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

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[0];

    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

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says
Hello everyone, Its been a week i am reading and trying every code that i have found on the net to “Show list of Child pages and Featured Image on Current Page” i really tried everything and nothing seems to work. I am using the Avada theme. Please help thank you in advance
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;
    ?>
36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

Love it!!! Main navigation: Bolder font

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

Congrat!!!

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

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. :x:x:x:x:x:x:x:x:x

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says
36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

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?
I just contacted my theme author. Waiting for a reply.
36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

Hi everyone, any fix on this issue?

36 posts
  • Has collected 100+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
danyno45 says

Love the design

by
by
by
by
by
by