Resources

Subscribe

  • Subscribe

Similar posts, Wordpress plugin

Posted by Mg | December 14, 2007 .

I finally added Similar posts plugin for my Wordpress.

Thanks to rmarsh.com for this simple and easy to install plugin. Similar posts plugin displays a list of posts which are related or similar to the current post. I added it under every single post,  with <?php similar_posts(); ?> code.

With this plugin you will help your visitors, to find similar posts on your sites. So they can read helpful post and they will stay more time on your site. Here is the installing method and downloading link:

You can download this plugin here.

INSTALLATION:

Simple way:

  1. Upload the whole plugin folder (Similar_Posts) to your /wp-content/plugins/ directory.
  2. Go to your admin Plugins page and activate Similar Posts.
  3. Put <?php similar_posts(); ?> at the place in your theme files where you want the list of similar posts to appear
  4. If you want to add the code under single post you need to:
  • Open singlepost.php
  • Put <?php similar_posts(); ?> under <?php the_content(); ?> (</div>, </div>)

Full way:

  1. Upload the whole plugin folder (Similar_Posts) to your /wp-content/plugins/ directory.
  2. Go to your admin Plugins page and activate Similar Posts. This will automatically add an index to your posts table to enable fast full-text matching. If the plugin reports that there was a problem creating the full-text index first try deactivating and reactivating the plugin.In the unlikely event of a continuing problem you can create the required index manually using phpMyAdmin or any other MySQL administration utility. Add the index by hand or run the following SQL query:ALTER TABLE `wp_posts` ADD FULLTEXT `post_similar` ( `post_title` , `post_content` )

    Note: You may have chosen a different table prefix, e.g., ‘wp1_’ rather than ‘wp_’. If so change ‘wp_posts’ above to match.

    Note: The full-text index is only supported for MyISAM tables. If wp_posts is in another format you will have to restructure it:
    ALTER TABLE `wp_posts` TYPE=MYISAM

  3. Put <?php similar_posts(); ?> at the place in your theme files where you want the list of similar posts to appear. Lorelle on WordPress has a good guide to modifying themes for plugins. If you are using a widget-ready theme the plugin can be placed from the widget admin page.
  4. Use the admin Options|Similar Posts and Manage|Similar Posts pages to set all the available options. Note: You must be logged in with the capability to manage options to be able to access the admin pages–in the role of administrator (Wordpress 2+) or user level 8 or above (before version 2). Alternatively, the options can be overridden by passing a parameter to the similar_posts template tag.

You can find more info on original site, rmarsh.com .

adsadsadsadsads

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments