archive page for custom post type
-
Hello i’m having some issue using the archive template
i’ve set has_archive true, and wordpress is using the right template file
but is still misinterpreting the urlfor example
at the url https://myste.com/mypostype/2015/06/
is interpreted
print($wp_query->query); Array ( [mypostype] => 2015 [page] => /06 [post_type] => mypostype )
instead of
Array ( [year] => 2015 [monthnum] => 06 )
and when the archive is paged
example
https://myste.com/mypostype/2015/06/page/2/
or https://myste.com/2015/06/page/2/ for regular postsit returns 404
I’ve flushed permalink and saved again the post type settings
but no effect…Any ideas?
thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘archive page for custom post type’ is closed to new replies.