Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php query_posts('post_type=page&order=ASC&post_parent=0');
- while(have_posts() ) : the_post(); ?>
- <a href="<?php the_permalink() ?>">
- <?php the_post_thumbnail(); ?>
- <?php the_title(); ?>
- </a>
- <?php endwhile;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement