WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Custom Post Templates] No templates display in post template dropdown (10 posts)

  1. sommerinhamburg
    Member
    Posted 4 years ago #

    Using "Custom Post Templates" Plugin an WP 2.9.

    Display like description says "Custom Post Templates" dropdown in post edit, but only shows standard template (single.php).

    Using

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

    but trying anything else. Even trying different post template plugins without solving this. CanĀ“t use costum template for posts, but still have to.

    Anyone an idea?

  2. MichaelH
    Member
    Posted 4 years ago #

    Please provide a link to download that plugin and I'll add the proper tag to this thread so the plugin author might see this thread.

  3. sommerinhamburg
    Member
    Posted 4 years ago #

    Thanks.
    Author: Simon Wheatley Plugin in WordPress Directory

  4. MichaelH
    Member
    Posted 4 years ago #

    Does the fix in the thread listed below help?
    http://wordpress.org/support/topic/343139?replies=10

  5. sommerinhamburg
    Member
    Posted 4 years ago #

    Thank you for that. But I saw found these hack yesterday and used it without succeeding!

  6. MichaelH
    Member
    Posted 4 years ago #

    Just wondering if this is your problem?

    From Simon's example he is suggesting using:

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

    where you are using `Template Posts: Name
    `

  7. sommerinhamburg
    Member
    Posted 4 years ago #

    Knowing that. But even this won't help ...

  8. Simon Wheatley
    Code for the People
    Posted 4 years ago #

    @sommerinhamburg - Which theme are you using? Are you still having the problem?

  9. chrispalle
    Member
    Posted 4 years ago #

    Having the same problem- not able to change from drop-down. Was working fine before 2.9 update.

    Tried the patch from the moderator's link and that doesn't help. It did stop the fatal it was throwing, though.

    Just tried the moderator's suggestion for using

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

    And it works. :-)

    edit:
    Actually, it's because "Posts" is in there now. There would be better compatibility if I didn't have to have two indicators (one for Posts and Pages).

    Thanks!

  10. George Appiah
    Member
    Posted 4 years ago #

    Actually, it's because "Posts" is in there now.

    "Posts" has always been in there, not just now.

    There would be better compatibility if I didn't have to have two indicators (one for Posts and Pages).

    Then how does WP know that the template is for posts, and not pages? Remember... whereas custom page template is built-in, custom post template is not.

Topic Closed

This topic has been closed to new replies.

About this Topic