- This topic has 11 replies, 4 voices, and was last updated 2 years, 1 month ago by Tom.
April 18, 2019 at 6:09 am #872486Charlie
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.
BTW I’m using GP Premium 1.8.0-rc.2
Cheers and thanks a million!
CharlieGeneratePress 2.2.2GP Premium 1.7.8April 18, 2019 at 8:01 am #872710DavidStaffCustomer Support
can you try #2 here: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 #872792DavidStaffCustomer SupportApril 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 #872838LeoStaffCustomer Support
Hmm 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-modulesApril 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 #873041TomLead DeveloperLead Developer
Hmm, the Blog module shouldn’t have any effect on your Posts area in the Dashboard.
It sounds like
pre_get_postsis in play, but the Blog module doesn’t use that hook. Do you have any custom functions added to the site at all?April 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 #873602TomLead DeveloperLead Developer
Aha, can you try the updated code?: https://generatepress.com/forums/topic/make-first-post-featured-leads-to-uneven-number-of-remaining-posts/#post-724602April 19, 2019 at 8:35 am #873604Charlie
Tom, you’re awesome. Really appreciate it.April 19, 2019 at 8:57 am #873624
- You must be logged in to reply to this topic.