WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Types - version 3.0 (2 posts)

  1. elyonline
    Member
    Posted 4 years ago #

    Morning all,

    I am getting a little confused with custom posts types and haven't seen too many articles available online.

    I understand the principles of Custom Post Types - version 3.0 but am at a loss on how I create a custom post type that also allows me to specify a particular category.

    I want to create a custom post type for books. I need to display title, post, thumbnail and add a default category of 'ebooks'.
    What code would I put in my functions.php to achieve this?

    Any help would greatly be appreciated.

    Many thanks

  2. vtxyzzy
    Member
    Posted 4 years ago #

    Lots of good info on custom post types in this Mashable article.

Topic Closed

This topic has been closed to new replies.

About this Topic