Skip Navigation

[Resolved] More Posts button still displays on Archive after view is set to 'No Pagination'

This support ticket is created 5 years, 7 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Anthony 5 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1256121

I am trying to: display all posts of CPT

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

I expected to see: all CPT posts without a 'More ...' button

Instead, I got: all CPT posts WITH a 'More ...' button

#1256411
Screen Shot 2019-06-02 at 3.56.28 PM.png

Hi, unfortunately Views are not designed to be paginated by Jetpack or any other 3rd-party infinite scrolling system. The buttons that manage infinite scrolling actions on this page seem to be Jetpack, correct? Those buttons aren't integrated with Views. Views comes with its own built-in infinite scrolling system, but the trigger mechanism is automated by scrolling rather than by clicking a button. If you need assistance implementing Views infinite scroll without the button, let me know and I'll be glad to help out. If you'd like to see a "More results" button added to the software, I encourage you to submit a request here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

If you're interested in making something custom with your own custom code, there are some JavaScript event hooks built into Views to trigger your own code during the AJAX update lifecycle. In the View editor screen, find the JS panel in the Search and Pagination editor area (screenshot). Twirl it open, and then click "Frontend events". The system will help you create several different event hooks here. Use jQuery in the callback instead of "$".

#1256433

Since I didn't want the 'More' button, the more-to-the-point answer would've been:
The problem is with Jetpack's 'Infinite Scroll'. In Jetpack Settings > Theme enhancements > Infinite Scroll , select "Load more posts using the default theme behavior".
My issue is resolved now. Thank you!