[resolved] Custom Page Template not working (2 posts)

  1. Walton
    Posted 5 years ago #

    Just installed a test blog. No posts except Hello World. Tried to create a custom page template which is literally a copy of index.php from twenty ten (I want front page to show custom post types only and the blog part to be on a seperate page).

    Template Name: Blog
    <?php get_header(); ?>
    <div id="container">
    <div id="content" role="main">
    <?php get_template_part( 'loop', 'index' );
    </div><!-- #content -->
    </div><!-- #container -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    When I go to add page, the template drop-down shows the twenty ten default "one column no sidebar" template. But not the custom template.
    I even copied the one column template and renamed it "biteme" and uploaded it to the themes directory. Doesn't show up.

    Obviously missing something simple and stupid.

  2. Walton
    Posted 5 years ago #

    Apparently if you put the template file in a different installation of WordPress it doesn't work so good. Was putting it in my main blog's directory, not my test blog's directory.

Topic Closed

This topic has been closed to new replies.

About this Topic