WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] single.php not working for custom post type (2 posts)

  1. masok88
    Member
    Posted 2 years ago #

    Hey,

    I'm using two post types on my site. The default and a custom one I've built.

    single.php works on my default posts but I can't for the life of me get it to work with the custom one I've made. I thought the page hierarchy would have it default to single.php? I even tried making single-typename.php file with no effect.

    Any idea what could be going wrong?

  2. masok88
    Member
    Posted 2 years ago #

    Weird, I went to the permalinks settings. Didn't do anything then went to the post types entries in admin and hit preview on a post and now it all works.. bizarre.

    http://wordpress.org/support/topic/custom-post-types-the-single-php-problem?replies=8

Topic Closed

This topic has been closed to new replies.

About this Topic