WordPress.org

Support

Support » How-To and Troubleshooting » parent page showing child pages' as thumbnails

parent page showing child pages' as thumbnails

  • Hi,
    I’m trying to create a parent page displaying only thumbnails of child pages.
    So far I have managed to create a list of pages but I can’t figure out how to:
    1. add thumbnails to pages without displaying it on the actual page
    2. Go from displaying a list to displaying only thumbnails (no titles or excerpts, just images)

    Here is what I have on my parent page template:

    <blockquote><div id=”entry”>
    <?php the_content(); ?>

    <?php
    $children = wp_list_pages(‘title_li=&child_of=’.$post->ID.’&echo=0′);
    if ($children) { ?>
    <ul class=”pagelist”>
    <?php echo $children; ?>

    <?php } ?>

    </div></blockquote>

    I have searched on the forums but since I’m new to wp I would really appreciate some extra help.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘parent page showing child pages' as thumbnails’ is closed to new replies.
Skip to toolbar