You need to declare 'has_archive' => true
in the arguments array you pass to register_post_type()
. The default value is false
, which means that WordPress does not generate an archive index for the post type.
You need to declare 'has_archive' => true
in the arguments array you pass to register_post_type()
. The default value is false
, which means that WordPress does not generate an archive index for the post type.