Title: add posts in page
Last modified: August 21, 2016

---

# add posts in page

 *  [tkappas](https://wordpress.org/support/users/tkappas/)
 * (@tkappas)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/add-posts-in-page/)
 * Good afternoon.
 * I was to ask if it is possible to make a page that contains diferent posts and
   it is like an index. I mean I want to make a new page in my site, that I will
   put few posts (articles) that I want to categorize in tables.
 * Is there any plugin or any other way I cat do that?

Viewing 1 replies (of 1 total)

 *  [Altaf Hussain Patel](https://wordpress.org/support/users/altafhpatel/)
 * (@altafhpatel)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/add-posts-in-page/#post-4935725)
 *     ```
       <?php
       /**
        * Template Name: Flyers Page
        *
        * The template for displaying all pages.
        *
        * This is the template that displays all pages by default.
        * Please note that this is the WordPress construct of pages
        * and that other 'pages' on your WordPress site will use a
        * different template.
        *
        * @package WordPress
        * @subpackage Twenty_Ten
        * @sin
        * Selectable from a dropdown menu on the edit page screen.
        */
   
       get_header(); ?>
       <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri();?>/flyercss.css" />
       		<div id="container">
       			<div id="content" role="main">
   
       			<?php
   
       //$loop = new WP_Query( array( 'post_type' => 'flyers', 'posts_per_page' => 3 ) );
       			while ( have_posts() ) : the_post();
       			?>
       			<div class="flyer">
       			<div class="thumb-fly"><?php the_post_thumbnail('full');
       			  ?></div>
       			  <h3 class="flyertitle"><?php the_title(); ?></h3>
       			  <p><?php the_content(); ?></p>
       				<?php  echo the_category(); ?>
       								<h5><?php echo get_the_author(); ?></h5>
       <?php
       			endwhile;
   
       			?>
       			</div>
   
       			</div><!-- #content -->
       		</div><!-- #container -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
   
       try this .. make a page and choose this custome template for this ...
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘add posts in page’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/fifteen/2.1.9/screenshot.png)
 * Fifteen
 * [Support Threads](https://wordpress.org/support/theme/fifteen/)
 * [Active Topics](https://wordpress.org/support/theme/fifteen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/fifteen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/fifteen/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Altaf Hussain Patel](https://wordpress.org/support/users/altafhpatel/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/add-posts-in-page/#post-4935725)
 * Status: not resolved