Member
Member
NaturalEnquirer   09-07-2011, 15:22
#1

I have enabled content from news items as well as images to be returned in a search. If infinite scroll is not enabled, the news items do apepar at the end of the first page.

With infinite scroll enabled, the items appear after the first batch of images are fetched and then followed by additional images as they appear. Is there any way to have the news items all at the top (or bottom)? Intermixed with the images just doesn't look pleasing to me ... Or perhaps have option to disable infinite scrolling on search pages which might be easier to implement.

Member
Member
gjr   10-07-2011, 01:14
#2

[quote]Or perhaps have option to disable infinite scrolling on search pages which might be easier to implement.
[/quote]
When infinite scroll is disabled in the options, it is disabled in search as well so you should see normal pagination. Are you not?

Member
Member
NaturalEnquirer   10-07-2011, 15:46
#3

Yes it works fine with infinite scrolling disabled globally, but I really like it for my other pages. Is there some code for me to incldue on the search.php page to disable the infinite scrolling just in the search pages?

Member
Member
gjr   11-07-2011, 02:12
#4

To remove infinite scroll from search only, open up the search.php theme file. Starting on line 111, change:

`

            ">Next Page 

`

to just this:

`

`

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.