- This topic has 11 replies, 4 voices, and was last updated 5 years ago by Tom.
-
AuthorPosts
-
April 18, 2019 at 6:09 am #872486Charlie
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
April 18, 2019 at 8:01 am #872710DavidStaffCustomer SupportApril 18, 2019 at 8:39 am #872739CharlieThanks, 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 SupportDo you have anything added to your GP Hooks?
April 18, 2019 at 9:41 am #872793CharlieOnly 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 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-modulesApril 18, 2019 at 11:57 am #872881CharlieThat 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 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?April 18, 2019 at 5:45 pm #873077CharlieYes 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 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
April 19, 2019 at 8:35 am #873604CharlieThat worked!
Tom, you’re awesome. Really appreciate it.
April 19, 2019 at 8:57 am #873624TomLead DeveloperLead DeveloperGlad I could help 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.