When visitors is referred to your site from a search engine, the plugin is showing them related posts to their search on your blog.
Add this code (in your index.php or somewhere else):
<?php if (ls_getinfo('isref')) : ?> <h2><?php ls_getinfo('terms'); ?></h2> <p>You came here from <?php ls_getinfo('referrer'); ?> searching for <i><?php ls_getinfo('terms'); ?></i>. These posts might be of interest:</p> <ul> <?php ls_related(5, 10, '<li>', '</li>', '', '', false, false); ?> </ul> <?php endif; ?>
Requires: 2.0.2 or higher
Compatible up to: 4.3.4
Last Updated: 7 months ago
Active Installs: 1,000+
Got something to say? Need help?