• 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)
  • 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

    (@hoss9009)

    OK thanks… I’ll give it a whirl.

    Plugin Author chertz

    (@chertz)

    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

    (@hoss9009)

    Can you check out how I can get my single-EPT.php to show up as a grandchild?
    ie:
    https://domain.com/parent/custom-post/single-custom/

    It shows up as:
    https://domain.com/custom-post/single-custom/

    It skips the parent.

    Ideas?

    I just noticed a convo over at stack exchange which might give you a clue:

    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.