Site logo

[Resolved] Load More not working on Category pages

Home Forums Support [Resolved] Load More not working on Category pages

Home Forums Support Load More not working on Category pages

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #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.

    #1780623
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?

    Let me know 🙂

    #1780650
    Svetoslav

    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.

    #1780654
    Svetoslav

    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.

    #1780655
    Leo
    Staff
    Customer Support

    I’m seeing a couple of scripts that aren’t coming from GP:
    https://www.screencast.com/t/PSEWw6RxTq

    Any idea where that’s coming from? Can you disable them to test?

    Thanks.

    #1780657
    Svetoslav

    Just disabled them. Same thing 🙁

    Sorry

    #1780667
    Leo
    Staff
    Customer Support

    What if you activate the parent theme?

    #1780673
    Svetoslav

    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.

    #1780703
    Svetoslav

    I found an old version of GP Premium – 1.8.3 and everything works normal.

    #1780760
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Can you install the latest version so I can see the issue?

    #1780780
    Svetoslav

    Hi Tom,

    The latest plugin has now been activated. Thanks for looking into this.

    #1780848
    Tom
    Lead Developer
    Lead Developer

    Are 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

    #1781357
    Svetoslav

    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.

    #1781816
    David
    Staff
    Customer Support

    Hi 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.

    #1784055
    Svetoslav

    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

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.