I'm creating a Wordpress theme and I've created a page called Blog that is using the page-blog.php strong> slug page is also blog, where it will list all the posts of a CPT blog, where the same I configured the blog slug . But for some reason I can not make the paging work and also the uploading of the single-blog .
When paging works internals stop, and vice versa, to resolve this I had to change the CPT slug to posts .
However I wanted the url to look like this:
- Blog page with pagination: myite.com/blog
- Internal of the posts: miite.com.br/blog/titulodopost
Yes I have already marked the following options:
-
Has Archive = True
-
Hierarchical = True