Skip Navigation

[Resolved] Load more button in views no longer working with WordPress 5

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1181689

I am trying to create a Load more button functionality as per these instructions: https://toolset.com/forums/topic/load-more-button-3/

Link to a page where the issue can be seen: hidden link

This worked perfectly until the upgrade to WordPress 5, when it behaves as you can see now on the site, where when you click the load more button the first time it loads three more in place of the existing items, and then subsequent clicks result in additional items loading below.

I want it to always load three more items below, including on the first click.

#1182040

Hello,

I have tried the "Load more" button in my localhost with a fresh wordpress installation(5.0.3) + the latest version Toolset plugins, there isn't the same problem as you mentioned above.

I have checked it in your website, and see some JS error in Chrome console window, for example
email-sign-up-form-7?format=js&source=widget:3617 Uncaught ReferenceError: an_javascript_translation is not defined

Since the functions depends on Javascripts, I suggest you fix it first:
1) Please deactivate all other plugins and switch to WordPress default theme 2019, and test again
2) If the problem is fixed, try to locate the problem plugin/theme by activating other plugins one by one