- This topic has 16 replies, 4 voices, and was last updated 4 years, 4 months ago by
Tom.
-
AuthorPosts
-
May 14, 2021 at 9:10 am #1780519
Svetoslav
Hi guys,
We have the latest GeneratePress and GP Premium, and we believe that after the last update our “Load More” button has stopped workin on the archive/category pages. Now, when it is clicked, it simply jumps the page back to the top.
May 14, 2021 at 10:52 am #1780623Leo
StaffCustomer SupportHi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know 🙂
May 14, 2021 at 11:09 am #1780650Svetoslav
Hi Leo,
I copied the site to staging and disabled all plugins. Unfortunately, it is still the same. I am sending you a direct link to the staging environment in the private section.
May 14, 2021 at 11:14 am #1780654Svetoslav
I am adding login details to the staging environment in the private section, incase you want to poke around on the back end. For some reason, I am not seeing any click handlers for that button when I check the Event Listeners in Chrome Dev tools.
May 14, 2021 at 11:15 am #1780655Leo
StaffCustomer SupportI’m seeing a couple of scripts that aren’t coming from GP:
https://www.screencast.com/t/PSEWw6RxTqAny idea where that’s coming from? Can you disable them to test?
Thanks.
May 14, 2021 at 11:17 am #1780657Svetoslav
Just disabled them. Same thing 🙁
Sorry
May 14, 2021 at 11:24 am #1780667Leo
StaffCustomer SupportWhat if you activate the parent theme?
May 14, 2021 at 11:29 am #1780673Svetoslav
It works with the parent theme activated. Can you find a solution for the child theme as well? basically, I don;t see any of the generatepress scripts loaded when the child theme is active.
May 14, 2021 at 11:47 am #1780703Svetoslav
I found an old version of GP Premium – 1.8.3 and everything works normal.
May 14, 2021 at 12:58 pm #1780760Tom
Lead DeveloperLead DeveloperHi there,
Can you install the latest version so I can see the issue?
May 14, 2021 at 1:14 pm #1780780Svetoslav
Hi Tom,
The latest plugin has now been activated. Thanks for looking into this.
May 14, 2021 at 2:49 pm #1780848Tom
Lead DeveloperLead DeveloperAre you using any custom templates in your child theme?
Specifically, do you have this hook?: https://github.com/tomusborne/generatepress/blob/3.0.3/footer.php#L59
May 15, 2021 at 4:21 am #1781357Svetoslav
Hi Tom,
I have a few custom functions and utilize the following hooks: generate_before_footer_content(insert custom section before the footer columns), generate_footer (to control footer widget widths and insert custom content after them via a custom hook added).
I have a copy of footer.php in my child theme and the generate_after_footer action is there. I have checked all my custom code and I am not attaching to this hook from any of my functions.
I hope this answers your question.
May 15, 2021 at 7:31 am #1781816David
StaffCustomer SupportHi there,
can you temporarily disable your Child Theme to see if the issue is removed.
If it does then it is mostly likely the changes to the footer.php that you have made.May 17, 2021 at 3:15 am #1784055Svetoslav
Hi David,
Thank you for you response. If you would have spend a bit of time to browse trough the thread, you would have found out that we already established that when parent theme is activated, then everything works.
My footer.php changes have been working for years and trough many updates of GP Premium. At this stage the only thing that changed and that has broken the site is the new version of the plugin. I am happy to amend my code, as long as I understand what is causing this.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.