September 4, 2016 at 2:20 pm #689
I somehow can’t get pagination to work inside custom post types. Please take a look here. ThanksSeptember 4, 2016 at 11:48 pm #691
Hmm, not sure why that would happen.
Regular or AJAX pagination?
Can you share the code you’re using to create the CPT (using pastebin or something similar)?
Thanks!September 5, 2016 at 12:55 am #692
This is the code im using to register new CPT http://pastebin.com/ae6vWUr3. Both regular and ajax pagination don’t seem to work.
Come to think of it, the problem might not be with CPT but the way im setting up things. I want to have a pizzeria menu categories created as a WPSP list and in each category i will like to display another WPSP list of woocommerce products from a specific category.September 5, 2016 at 10:55 pm #694
Hmm, can’t see anything wrong with the CPT.
I don’t believe it’s possible to use WPSP to display categories? Unless you’ve discovered a part of the plugin I didn’t mean to write?September 6, 2016 at 12:44 pm #700
With categories i meant food categories as per the food menu, sorry i wasn’t clear on that. Let me explain to you my set-up better:
I have a WPSP list that shows posts from a certain Post category as seen here. Each of those posts will show a WPSP list of products from a certain woocommerce product category as seen for example here
Anyway to make the pagination work in this setup or might you know a better way i can go about this? ThanksSeptember 6, 2016 at 9:35 pm #702
It’s so cool to see different implementations like this 🙂
Can you try the latest files?: https://github.com/tomusborne/WP-Show-Posts
I’m not seeing any reason why it wouldn’t work.September 7, 2016 at 12:51 am #706
This awesome plugin gives us so much options and variations, thank you !
Still can’t get the pagination to work unfortunately, will give it a try on a clean install and let you know. Thanks so farSeptember 8, 2016 at 12:49 pm #727
I got it to work albeit in a different set-up. I used pages in the first wpsp list (showing only certain page-ids) and each of those pages will show a wpsp list of a certain product category.
Thanks.September 9, 2016 at 12:07 am #729
Awesome, glad you found a solution 🙂March 8, 2017 at 5:38 am #1715March 8, 2017 at 6:18 pm #1721
Have you tried re-saving your permalinks in “Settings > Permalinks”?March 9, 2017 at 2:05 pm #1723
I think there must be something messed up with the code im using to genereate my CPTs. I have tried many times re-saving the permalinks to no avail. As i don’t require the wpsp hooks and other helpful styling for current project i’m considering using default GP blog and hopefully this problem goes away. Will let you know. Thanks so far !March 10, 2017 at 1:12 am #1731
By looking at a plugin you recommended on GP support forum i found the problem was my code. I was missing
, 'with_front' => truein my rewrite. Major headache solved, i wont be bothering you for a while now. Thanks very much for your help and understanding.March 11, 2017 at 12:05 am #1734
Ah! Glad you found a solution! Thanks for sharing 🙂
- You must be logged in to reply to this topic.