• Ahjort

    (@ahjort)


    As the title says a default single post template is not possible to have. I would like to add the:

    <?php
    /*
    Single Post Template: Default
    */
    ?>

    to my single.php file but that doesn’t do the trick. And it can’t be that I have to go through all of my posts to select the single.php from the template select dropdown.

    What do I do?!?!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tom

    (@jeffreeeeey)

    You don’t need to add that to the default post template as it automatically uses single.php

    It’s important to note that the current version of this plugin is broken. Download version 1.3 and use that instead, it should fix your problem.

    Thread Starter Ahjort

    (@ahjort)

    I have now removed the new version and installed the 1.3. But that version doesn’t have the template selection in the post backend.. hmm.

    Tom

    (@jeffreeeeey)

    For the default post template you don’t need to add:

    <?php
    /*
    Single Post Template: Default
    */
    ?>

    …because WordPress automatically looks for, and uses single.php.

    For the template selection widget to appear in the back-end you need to have an alternative post template, in which you do need to define the template name:

    <?php
    /*
    Single Post Template: YOUR TEMPLATE NAME
    */
    get_header(); ?>

    If you only have the default post template in your theme folder (no alternative templates) the template selection widget won’t appear in the back-end

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin won't work with a default single post template!!!!’ is closed to new replies.