WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Types in Child-Themes (1 post)

  1. OffCourse2010
    Member
    Posted 2 years ago #

    Hi

    I have a website with the 'book' custom post type which is created through a plugin (instead of being in the functions.php file of the theme).

    How can I create a child theme of Twenty Eleven that:

    1) Includes 'book' in the latest posts in the homepage
    2) Includes 'book' and all its custom fields (like 'collection' and 'publisher') in the theme's free search
    3) Displays 'book' in a special way, meaning that it shows the book cover, published date and excerpt in the listings and then displays all the information from the book in a dedicated layout, just for book post type.

    Thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Topic