Query posts inside custom post type
-
Hello friends,
this is my first post here and im sorry that i have to start it with a question (i’m very new to wordpress).
I’ve managed to create a custom post type “Product” with many custom fields. I also have written my own template and made a page where i can list all my products. When a user clicks on a product, he gets to the single product page where all custom fields are shown. That’s working great! Now on the same site (single “product”), i want to show the user all articles which i’ve tagged with the products name.
I’ve also managed to do that but here comes the issue:
How to enable paging on the single product?
When i add “/page/2/” at the end of the URL of my single “product” (so it looks like localhost/product/testproduct/page/2/) it jumps back immediately to the previous url (without the paging).Is there a way to do this? Any info would be helpful!
Thank you very much!
-ScienArtic
- The topic ‘Query posts inside custom post type’ is closed to new replies.