Title: [Plugin: WP Easy Post Types] Single-post.php explained
Last modified: August 19, 2016

---

# [Plugin: WP Easy Post Types] Single-post.php explained

 *  [hoss9009](https://wordpress.org/support/users/hoss9009/)
 * (@hoss9009)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/)
 * I would LOVE if someone could hash out the single-post.php/404 issue.
 * I CANNOT get it to work for me with “pretty URLs”.
    I DO have multisites enabled
   and I’m not sure if that’s the problem.
 * ANY help would be over appreciated.
 * Thank you,
    Eric

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

 *  [imgr8](https://wordpress.org/support/users/imgr8/)
 * (@imgr8)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568441)
 * Hi,
 * I don’t know exactly what the problem is with your template but the way I used
   Easy Posts was to display the list on a template page which I created like :
 *     ```
       <?php
       /*
       Template Name: NewType
       */
       ?>
       <?php get_header() ?>
   
           <div id="page">
       	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                   <h1 class="entry-title"><?php the_title(); ?></h1>
                   <?php the_content(); ?>
   
                   <?php global $wp_query;
                   $page_num = $paged;
                   if($pagenum='') $pagenum=1;
   
                   $wp_query = new WP_Query("showposts=10&post_type=webinteractive&post_status=publish&paged=".$page_num);
   
                   while ($wp_query->have_posts()) : $wp_query->the_post();
                       echo '<h1 class="entry-title">';
       				the_title();
       				echo '</h1>';
   
                   endwhile; ?>
   
                   <div class="navigation"><p><?php if (  $wp_query->max_num_pages > 1 ) : ?>
       				<div id="nav-below" class="navigation">
       					<center><?php wp_pagenavi(); ?></center>
       				</div><!-- #nav-below -->
       <?php endif; ?></p></div></div>
           </div><!-- #container -->
   
       <?php get_footer() ?>
       ```
   
 * This is not the exact one I used but you can get the idea and when the link was
   clicked, the single-newtype.php was called to display the post.
 *     ```
       <?php get_header() ?>
   
           <div id="page">
       	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                   <h1 class="entry-title"><?php the_title(); ?></h1>
                   <?php the_content(); ?>
       	</div>
           </div>
   
       <?php get_footer() ?>
       ```
   
 *  Thread Starter [hoss9009](https://wordpress.org/support/users/hoss9009/)
 * (@hoss9009)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568538)
 * OK thanks… I’ll give it a whirl.
 *  Plugin Author [chertz](https://wordpress.org/support/users/chertz/)
 * (@chertz)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568555)
 * We’ve released an updated plugin with a number of updates included in it. Version
   1.0.1 is now available as a download. Thanks.
 *  Thread Starter [hoss9009](https://wordpress.org/support/users/hoss9009/)
 * (@hoss9009)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568588)
 * Can you check out how I can get my single-EPT.php to show up as a grandchild?
   
   ie: [http://domain.com/parent/custom-post/single-custom/](http://domain.com/parent/custom-post/single-custom/)
 * It shows up as:
    [http://domain.com/custom-post/single-custom/](http://domain.com/custom-post/single-custom/)
 * It skips the parent.
 * Ideas?
 *  [memelab](https://wordpress.org/support/users/memelab/)
 * (@memelab)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568616)
 * I just noticed a convo over at stack exchange which might give you a clue:
 * [integrating-a-custom-post-type-into-a-page-hierarchy](http://wordpress.stackexchange.com/questions/13308/integrating-a-custom-post-type-into-a-page-hierarchy)
 * good luck!

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

The topic ‘[Plugin: WP Easy Post Types] Single-post.php explained’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-post-types.svg)
 * [WP Easy Post Types](https://wordpress.org/plugins/easy-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-post-types/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [memelab](https://wordpress.org/support/users/memelab/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-easy-post-types-single-postphp-explained/#post-1568616)
 * Status: not resolved