WordPress.org

Ready to get started?Download WordPress

Forums

Tonic
[resolved] custom post type (2 posts)

  1. ignitrium
    Member
    Posted 6 months ago #

    I've created a custom post type and duplicated single.php and archive.php to create single-custom.php and archive-custom.php but I'm still getting a 404 error when I try to view it.

  2. c.bavota
    Member
    Theme Author

    Posted 5 months ago #

    Is your post type called "custom"? If not, make sure to follow the instructions here:

    http://codex.wordpress.org/Post_Type_Templates

    Also, you probably have to re-save your permalinks to activate the new rewrite rule for your custom post type.

Reply

You must log in to post.

About this Theme

About this Topic