Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Gardner

    (@jgardner03)

    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

    (@madvic)

    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.