Pagination for Custom Post Types on Home Page
-
Hi.
I use Custom Post Type to list projects on Home page.
My template home page loop is :[Code moderated as per the Forum Rules. Please use the pastebin]
I use Custom Post Type UI plugin to register the custom post type.
Permalinks are set like this :/archives/%post_id%
The “older projects” link correcly displays on home page but links to nothing :
https://mywebsite/page/2
I know that It should be
https://mywebsite/my_home_page_slug/page/2
to work properly but I don’t know how to set this up on home page.Any help would be great.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Pagination for Custom Post Types on Home Page’ is closed to new replies.