WordPress.org

Ready to get started?Download WordPress

Forums

Single Post Template
Bug? 3.1.2. not functioning.. :( (4 posts)

  1. mayb101
    Member
    Posted 3 years ago #

    I get the meta box and am able to set the template. But then I go to view the page output and it didn't use the template :(

    I modeled the template after the One column, no sidebar template provided with Twenty Ten for pages. I made the specified header alteration. But it won't stick. Any thoughts?

    Note: When I apply the page provided by Twenty Ten, it sticks to pages I apply the template too; which is obviously the out the box behavior. So I though the post version might look the same, but it doesn't even render.

    http://wordpress.org/extend/plugins/single-post-template/

    <?php
    /*
    Single Post Template: My Awesome Template
    Description: This part is optional, but helpful for describing the Post Template
    */
    
    get_header(); ?>
    
    		<div id="container" class="one-column">
    			<div id="content" role="main">
    
    			<?php
    			/* Run the loop to output the page.
    			 * If you want to overload this in a child theme then include a file
    			 * called loop-page.php and that will be used instead.
    			 */
    			 get_template_part( 'loop', 'page' );
    			?>
    
    			</div><!-- #content -->
    		</div><!-- #container -->
    
    <?php get_footer(); ?>
  2. swamyg1
    Member
    Posted 3 years ago #

    Did you ever sort this out? I'm having the same problem.

  3. louiserouse
    Member
    Posted 2 years ago #

    Same problem, 3.1.4,
    Choose my template in the Single Post Template drop-down on the new post editor page (or indeed the edit previous posts editor page) and when ever you press "publish" or "update" the dropdown box goes back to default, and no template is set.

  4. crs1138
    Member
    Posted 2 years ago #

    [+1]

    I'm having the same problem.

    WP 3.2.1
    Single Post Template 1.3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic