WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
[resolved] Custom Archive Template for Custom Post Type (3 posts)

  1. jacentabeau
    Member
    Posted 1 year ago #

    Hi there,

    I'm fairly new to WordPress so please bare with me. I know there is another post on this topic but I didn't entirely understand the solution.

    For example, I've created a custom post type named Flash Devices (flash_devices) to add products under this category. I wanted to customize the archives template from just looking like a blog post. I want it to just display all the products in that category. I tried making a custom archive template and named it archive-flash_devices.php but it doesn't seem to be linking properly and nothing happens.

    Thanks so much for your help!

    http://wordpress.org/extend/plugins/types/

  2. Srdjan
    Member
    Plugin Author

    Posted 1 year ago #

    Try to set 'has_archive' on Types post type edit page.
    If you named template right - it should work.

  3. Srdjan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry - marked as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic