Support » Themes and Templates » Custom Post Types in Child-Themes

Custom Post Types in Child-Themes

  • OffCourse2010



    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

  • The topic ‘Custom Post Types in Child-Themes’ is closed to new replies.