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.
Comments
`
<?php if ($zpmas_infscroll) { ?>
<?php if (getNextPageURL()) { ?>">Next Page <?php } ?>
<?php } else {<br />
if ( (hasPrevPage()) || (hasNextPage()) ) { ?>
<?php printPageListWithNav("← ".gettext("prev"), gettext("next")." →"); ?>
<?php } ?>
<?php } ?>
`
to just this:
`
<?php if ( (hasPrevPage()) || (hasNextPage()) ) { ?>
<?php printPageListWithNav("← ".gettext("prev"), gettext("next")." →"); ?>
<?php } ?>
`