WordPress.org

Forums

Tonic
[resolved] custom post type (2 posts)

  1. Prefrent
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic