- This topic has 11 replies, 4 voices, and was last updated 3 years, 11 months ago by
Tom.
-
AuthorPosts
-
April 18, 2019 at 6:09 am #872486
Charlie
Howdy guys!
Love love love the theme, but I’m having an issue with something:
In Posts > All Posts in the admin area, I can only see 7 out of the 173 total posts that the site has. No pagination is shown to other posts. If I set the filter to All Dates and All Categories and filter that way, still no luck.
When I disable the GeneratePress plugin every post shows up just fine, so it seems it is indeed a GP issue.
Any ideas?
BTW I’m using GP Premium 1.8.0-rc.2
Cheers and thanks a million!
Charlie
GeneratePress 2.2.2GP Premium 1.7.8April 18, 2019 at 8:01 am #872710David
StaffCustomer SupportHi there,
can you try #2 here:
https://docs.generatepress.com/article/debugging-tips/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 18, 2019 at 8:39 am #872739Charlie
Thanks, David. I don’t see any errors in my log, but I do have some more data if this helps.
The 7 posts that ARE showing were brought in separately from 167 other posts that were brought in a month earlier. The 7 newest posts were brought in via a Posts Only export, while the other 167 were brought in by an All Content export.
When viewing these newest 7 posts, I see that their Featured Images (in the post edit page) are currently thinking/loading and never showing. Not sure if that has anything to do with it…a bad export or something?
April 18, 2019 at 9:40 am #872792David
StaffCustomer SupportDo you have anything added to your GP Hooks?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 18, 2019 at 9:41 am #872793Charlie
Only some footer and headers scripts…that’s it. One for Facebook Pixel and the other for Google Analytics.
April 18, 2019 at 10:43 am #872838Leo
StaffCustomer SupportHmm can you disable the add-on one by one and see which one is causing the issue?
https://docs.generatepress.com/article/installing-gp-premium/#activate-your-modulesDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 18, 2019 at 11:57 am #872881Charlie
That was a good question…I’d forgotten GP had separate components. But yeah it looks like activating the Blog component is the issue.
April 18, 2019 at 4:04 pm #873041Tom
Lead DeveloperLead DeveloperHmm, the Blog module shouldn’t have any effect on your Posts area in the Dashboard.
It sounds like
pre_get_posts
is in play, but the Blog module doesn’t use that hook. Do you have any custom functions added to the site at all?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 18, 2019 at 5:45 pm #873077Charlie
Yes I am in fact using that function based on this forum post:
I used that solution to fix the odd post number resulting from using featured posts. Perhaps there’s a better way to do that?
April 19, 2019 at 8:32 am #873602Tom
Lead DeveloperLead DeveloperAha, can you try the updated code?: https://generatepress.com/forums/topic/make-first-post-featured-leads-to-uneven-number-of-remaining-posts/#post-724602
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 19, 2019 at 8:35 am #873604Charlie
That worked!
Tom, you’re awesome. Really appreciate it.
April 19, 2019 at 8:57 am #873624Tom
Lead DeveloperLead DeveloperGlad I could help 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.