Post Type Slug and paging
-
Hello,
REALLYYYY hoping someone can put me out of my misery. So… I have a custom post type with “Post Type Slug” : “clients”
I have created a custom page archive, as I wanted to include intro text, etc. so this is named “page-clients.php” and powers my client page which is of course accessible via /clients/ which in turn feeds my custom post type “clients” posts. All this is perfect.
So my archive page is /clients/ and a client detail page is /clients/client-name-here/
The PROBLEM is once paging kicks in… it has “page not found” when you go to any of the paged links ie : “/clients/page/2/”
I see some people are saying that you can’t have the same slug, ie I should have /clients/ for my custom archive page, then for the individual pages have something like /client/client-name-here/ BUT I don’t want that :(, I want to be able to use :
/clients/ (my custom archive page)
/clients/page-name-here/ (my individual client pages)
/clients/page/2/ (my paging on the archive page)I have seen others achieve what I want so I know it must be possible. Can anyone at all help with this, save my weary brain cells further grief 🙂
The topic ‘Post Type Slug and paging’ is closed to new replies.