• pidi233

    (@pidi233)


    Hi! i would like to know if it is possible to have a list of pages, and each
    < li > with one image asociated to the post or page it links to.

    i want to have an image list, similar to a gallery thumbnails.

    i currently have this in my page template:

    <?php
    /* Template Name: Lista */
    ?>
    
    <?php get_header(); ?>
    
    <ul id="lista"><?php
      wp_list_pages('title_li=&child_of='.$post->ID.'');
      ?>
    
      </ul>
    
    <?php get_footer(); ?>

    thank you and sorry for my english!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘list pages with image’ is closed to new replies.