August 14, 2006
7:18 pm | Last updated: August 14, 2006 at: 7:34 pm

When visitors is referred to your site from a search engine, they are definitely looking for something specific - often they just roughly check the page they land on and then closes the window if what they are looking for isn’t there. Why not help them by showing them related posts to their search on your blog? This plugin/guide lets you do that, works with a long list of search engines!

Example: Try to search Google for Inline Ajax Posts, and click the link to this site - you will be get a page dispalying WordPress Plugin: Inline Ajax Posts Archive post. On the top of the sidebar, you will presented with a list of related posts right away!

Alternately you will find Related Posts at the end of each posts of this site.


How to implement:

  1. Download Landing sites v.1.3.1
  2. Unzip and upload the file to your wp-content/plugins folder.
  3. Go to your WordPress plugin administration and activate it.
  4. If you use WordPress 1.5.x you will have to run this SQL statement manually (eg. through phpMyAdmin):

    ALTER TABLE 'wp_posts' ADD FULLTEXT 'post_related' ( 'post_name','post_content' )

    Add the following code, where you want to show the related posts list:

    <?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 } ?>

undersigned

WordPress Plugin: Landing sites 1.3.1

Loading

Contextual Related Posts:

3 Responses | RSS comments on this post | Leave a comment»

  1. 1
    DG says#3 | November 17th, 2006 at 11:24 pm

    Hi Michael,

    Thanks for your sweet comments, I'm glad to hear it helped you. Please say Thanks to the Plugin author also.

  2. 2
    Michael Klusek says#2 | November 17th, 2006 at 10:41 pm

    I liked how you customized this template. Sweet.

  3. 3
    Michael Klusek says#1 | November 17th, 2006 at 10:38 pm

    Thanks alot. I spend many hours trying to get this to work. The apostrophes were key.

No Pingback yet

PingBack URI

Leave a Response

Comment Preview
« WordPress Plugin: iG:CoComment!!WordPress Plugin: Subscribe to Comments 2.0.4 »
Feed Icon

Subscribe via RSS or email: