Scroller - Addons
Visitors who open a post and press Back land on the same spot in your results, with every result they had loaded still there.
To see Scroller in action and pick a plan, visit the DirectoryScroller page.
What it does
On a post search page that uses the Load More button, a visitor may load three or four pages of results, open one, and then press Back. Without Scroller they return to the first page of results near the top, and have to press Load More again and scroll to find where they were.
With Scroller, pressing Back brings back every page of results they had loaded and puts the post they opened back where it was on their screen.
It works on any post type that shows a Load More button, such as events, workshops or resources. Member search pages are not covered yet.
Where it lives
In your DirectoryCustomize plugin admin: Plugins then DirectoryCustomize then My Widgets then Scroller. Open Configure to see its settings.
Setting up
Installing Scroller adds one line to your site's Additional Footer Code, so it runs on every page. There is nothing to place by hand. On pages without a Load More button it does nothing.
If the line is ever removed, put it back in BD admin under Settings, then Design Settings, then the Custom CSS / HEAD tab, in Additional Footer Code:
<?php echo widget("Directory Scroller"); ?>
It needs the Load More button switched on for the results, which you set per post type in your Brilliant Directories admin. A post type set to numbered pages already keeps its place, because each page has its own address.
Settings
- Scroller: turns it on or off for the whole site.
- Post types: the post types it works on. Leave it empty to use it on every post type that has a Load More button.
- Most Load More pages to bring back: the most pages it will reload when a visitor comes back. Each page takes about a second to load again. It starts at 20 and can be set from 2 to 50.
What visitors see
- They open a post from your results and press their browser's Back button.
- The results page reloads the pages they had loaded, one after another, then scrolls to the post they opened.
- If they arrived some other way, such as a new tab or a link, the results page opens at the top as usual.
Frequently asked questions
Does it change how my results look?
No. It uses your site's own Load More button and your own result cards. Nothing on the page is restyled.
Does it work if a visitor closes the tab?
No. It remembers the place for that browser tab only. Opening the results again in a new tab starts at the top.
What if new posts were added while they were reading?
It returns to the same position in the list, so if posts were added or removed in between, the spot may be a little off.
Still stuck?
Contact support and we will take a look at your site.