Pagination does not work with custom post type
-
Hello. I create custom post type and want to use with with PiP, I suddenly got a problem with pagination, it does not recognize ?page=2 /2/ types of url which are generated by a plugin. It sends me 404 page in response.
I know that custom post types causes some issues with pagination and I looked through snippets which are supposed to solve that sort of problem. I expected that is already included in plugin, but it seems like it does not.Do you have any idea how to fix pagination problem with custom post types in your pluging? Perhaps I should add some filter, but I have no idea where I should plug it in.
Details: I have none hierarchical post type – ‘news’, it is called by a shortcode [ic_add_posts post_type=’news’ template=’post-news-page-item.php’ showposts=’4′ paginate=’yes’ orderby=’date’ order=’DESC’] That worked fine when I used simple built in wordpress ‘post’ post type and called them by built in taxonomy ‘category’. But it does not want to work with custom post type.
- The topic ‘Pagination does not work with custom post type’ is closed to new replies.