Plugin Tips
Custom WP Plugin: Auto-Scroll Teaser
We all would love for our visitors to spend more time on our website and reduce our bounce rate. We have already covered a bunch of plugins (e.g. related posts) to accomplish that. For long posts, you may want to write a piece of code that encourages scrolling. Auto-Scroll Teaser is our approach to this. It automatically scores after a visitor has been still for 8 seconds.

Here is how the script works: it waits 8 seconds and scrolls one screen down when no activity is detected. It also displays a sticky banner at the bottom. You can change the amount of time it takes for this plugin to initiate a scroll. This is particularly great for long-form articles. To use this, you need to copy the code to your functions.php file.












