WordPress.org

Forums

This theme has no available custom post templates. (5 posts)

  1. ontargetpro
    Member
    Posted 3 years ago #

    I copied the file single.php, which is the file used by my template to show a single post. Saved it as frontpagepost.php (in the same directory as index.php for my theme) and put this at the top of the file:

    <?php
    /*
    Template Name: FrontPage
    */
    ?>

    I used the plugin "Custom Post Template" so I could easily choose the template. But I get the message that "This theme has no available custom post templates". I'm using a custom theme.

    Help?

  2. phemistokl
    Member
    Posted 3 years ago #

    i help you. If you copy a post put

    <?php
    /*
    Template Name Posts: YourName
    */
    ?>

    If you copy a page put that

  3. thestormtrooper
    Member
    Posted 3 years ago #

    I've got the same problem here, it just says: This theme has no available custom post templates.

    This is since I upgraded to WordPress version 3.3

    My custom templates are in with my index.php etc etc so not sure what the problem is?

    Any ideas?

    Thanks.

  4. thestormtrooper
    Member
    Posted 3 years ago #

    I've somehow solved this problem?

    I tried deactivating it and then reactivating it. This never solved the problem. However... a day later it seems to have appeared again as an option, I can only assume I uninstalled or deactivated another plugin that was interfering with it.

    Is now resolved somehow anyway.

  5. LaurynJ
    Member
    Posted 3 years ago #

    I have followed the same procedure as the OP but I'm getting the same error. I've tried deactivating and reactivating the plugin but it's still not working for me. I'm using version WordPress 3.3.

    Ontargetpro, have you been able to get it to work??

Topic Closed

This topic has been closed to new replies.

About this Topic