Search Related Topics

This is a wordpress plugin that allows you to add related topics to your posts templates and 404 templates.

It looks at the topic name and then looks for similar topics in the database.


Using it in the 404 template:

Someone types in the wrong address, or it is incorrectly linked:
Step 1

You then get a list of related topics:
Step 2

The link in the list takes you to the topic that matched the incorrect one:
Step 3

You find your way to the topic you wanted:
Step 4


Using it in the posts template

You visit the topic you want:
Step 5

It finds related topics:
Step 6


Version 0.1:
->Easy intergration in your templates.
->Minimal requirements, the %post_name% variable in your mod_rewrite style address, does not work on index.php?p=… style addresses.

You can download it here

To use it, just add “<?php echo tm_searchrelated(); ?>” wherever you need related topics to be found.

The idea came from PK, so checkout thegoogleblog.com for other reads

6 Comments

  1. Pingback by The Google Blog » Blog Archive » Related Articles on August 23, 2005 10:37 am

    […] BIG thanks to Darryl for allowing me to be the first site to use this plugin. You can go grab it straight off his blog. Read more about the plug in here […]

  2. Trackback by Pretty Cunning on August 24, 2005 7:26 am

    And I keep my secrets well Move on and never tell

    I actually have real news for once. But I’m not posting it now. Would require effort and stuff, so instead I’ll continue surfing and leaving aimless comments on blogs while I wait for work to end so I can go home, and watch (and love) Sere…

  3. Comment by Fence on August 26, 2005 7:12 am

    Hi, cool plugin. Just wondering if there was a way to change the plugin so it looks for something else, not the topic name. the reason being that I tend to have quite long post titles, and so any words that are similar are seen as similar topics, when in fact they aren’t related as well.

    I use a plugin that assigns keywords to each post, could I alter the code to look for similar keywords instead?

  4. Comment by DocterMoo on August 26, 2005 9:01 am

    Hay,

    The plugin can be changed as there are a set of variables that control what is being searched for and displayed.

    if you change the $key variable to something else, then you can get it to display something other than the title.

    You can mess around with those variables to get different results.

  5. Pingback by wp-content » Blog Archive » Search Related Topics on September 24, 2005 1:32 pm

    […] Click Here For A Screen Shot More Info […]

  6. Comment by urolog on March 13, 2008 6:40 pm

    <a href="http://urologa.ru" rel="nofollow">
    уролог заболевания</a>

Comments RSS TrackBack Identifier URI

Leave a comment

  • Recently