Title: custom loop post in a page
Last modified: August 19, 2016

---

# custom loop post in a page

 *  [takingweb](https://wordpress.org/support/users/takingweb/)
 * (@takingweb)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-loop-post-in-a-page/)
 * hi everyone. I’ve a question 4 u 4 a problem.
 * i have a custom page template with this loop:
    ` <div id="main-left">
 *  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1><?php the_title();?
   ></h1>
 *  <?php the_content(); ?>
 *  <?php endwhile; endif; ?>
 *  <?php
    $postslist = get_posts('numberposts=10&order=ASC&orderby=title&cat=96');
   foreach ($postslist as $post) : setup_postdata($post); ?> <div class="column"
   > <h2>" rel="bookmark"><?php the_title(); ?></h2> **i need to show a thumbnail
   of my post on the left of my content/excerpt with the "read more" tag** <?php
   the_content(__('Read more')); ?> </div> **I need to paginate my post in this 
   page; i have more than 10 post (30 and more) and need to have a pagination as"
   <<prev Page 1 of 2 | 3 | 4 | 5 ... next>>"
 *  <?php endforeach; ?>
 *  </div>
    <?php get_sidebar(); ?> <div class="clear"></div> <?php get_footer();?
   >
 * in bold i’ve write what i need. someone so kindly could help me? ^_^

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-loop-post-in-a-page/#post-1291220)
 * Hi,
 * Refer this article:
 * [http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query](http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query)
 * Thanks,
 * Shane G.
 *  Thread Starter [takingweb](https://wordpress.org/support/users/takingweb/)
 * (@takingweb)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-loop-post-in-a-page/#post-1291443)
 * thanks shane,i have tryed the solution on Codex page but it doesn’t work 🙁
 *  Thread Starter [takingweb](https://wordpress.org/support/users/takingweb/)
 * (@takingweb)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-loop-post-in-a-page/#post-1291540)
 * 🙁 nobody else?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom loop post in a page’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [takingweb](https://wordpress.org/support/users/takingweb/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/custom-loop-post-in-a-page/#post-1291540)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
