WordPress.org

Support

Support » Plugins and Hacks » Custom Post Template » This theme has no available custom post templates.

This theme has no available custom post templates.

  • I have created a single-recipes.php file:

    <?php
    /*
    Template Name Posts: Recipes Post
    */
    ?>
    
    <?php get_header(); ?>
    
    <section id="primary">
    
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    		<?php  get_template_part( 'content', 'recipes' ); ?>
    
    		<?php albedo_content_nav( 'nav-below' ); ?>
    
    		<?php // comments_template( '', true ); ?>
    
    	<?php endwhile; // end of the loop. ?>
    
    </section><!-- #primary -->
    
    <?php get_footer(); ?>

    [Please post code between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    and a content-recipes.php file which is the post template and I’m still getting the “This theme has no available custom post templates.” message in the Edit dropdown.
    Any idea what I’m doing wrong?
    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘This theme has no available custom post templates.’ is closed to new replies.
Skip to toolbar