Title: Custom post type
Last modified: August 21, 2016

---

# Custom post type

 *  Resolved [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [12 years ago](https://wordpress.org/support/topic/custom-post-type-72/)
 * Hello,
 * It is possible to turn setting of cpt FAQ to “‘has_archive’ => true,” ?
    It’s
   for using template. (no shortcode) Thanks
 * [https://wordpress.org/plugins/arconix-faq/](https://wordpress.org/plugins/arconix-faq/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Gardner](https://wordpress.org/support/users/jgardner03/)
 * (@jgardner03)
 * [12 years ago](https://wordpress.org/support/topic/custom-post-type-72/#post-4963998)
 * Yes it is, though if you do that you will lose the default toggle functionality.
 * Add the following to your theme’s `functions.php` file:
 *     ```
       add_filter( 'arconix_faq_defaults', 'my_faq_defaults' );
       function my_faq_defaults( $defaults ) {
           $defaults['post_type']['args']['has_archive'] = true;
   
           return $defaults;
       }
       ```
   
 * Any customizations you may want to make to the layout of that new page could 
   be done by copying `archive.php` and renaming it to `archive-faq.php` and then
   making those changes.
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [12 years ago](https://wordpress.org/support/topic/custom-post-type-72/#post-4964002)
 * OK, cool a filter !
    For archive-faq.php, it’s done 😉
 * Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom post type’ is closed to new replies.

 * ![](https://ps.w.org/arconix-faq/assets/icon-256x256.jpg?rev=3050529)
 * [Arconix FAQ](https://wordpress.org/plugins/arconix-faq/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/arconix-faq/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/arconix-faq/)
 * [Active Topics](https://wordpress.org/support/plugin/arconix-faq/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/arconix-faq/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/arconix-faq/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [madvic](https://wordpress.org/support/users/madvic/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/custom-post-type-72/#post-4964002)
 * Status: resolved