Support » Themes and Templates » List page children as images

  • Ok, this code lists the children of a page parent:

    $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
    if ($children) { ?>
    <?php echo $children; ?>
    <?php } ?>

    It only lists the children as text links and not as images. What I want is to display images on every children on the list by using custom fields. URL of the images will be inputed in the custom field (for example ‘Image’) of every child page.

    Any suggestions? Thanks!

  • The topic ‘List page children as images’ is closed to new replies.