CPT rewrite and Pagination
-
I’m using a custom post type for services, a list which is being displayed on a page with slug ‘services’.
I want list of services to be displayed as http://sitename/services/
and the single view of services as http://sitename/services/service-name
For this, I used
'rewrite' => ['slug' => 'services']but this causes the pagination to not work. What can I do?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘CPT rewrite and Pagination’ is closed to new replies.