Wordpress plugin: Related Posts

This Wordpress plugin lets you manually select related posts using a nifty AJAX powered search utility. A powerful tool for boosting pages per visit and SEO.

Download the Related Posts plugin

Current stable version: 2.3

Features

  • Easily find entries that might be related to the one you are writing with an integrated AJAX powered search utility,
  • Easily add and remove relations with a single click. No page reloads, no pop-ups
  • Automatically display a list of related posts underneath your posts content. No need to add any PHP tags in your template files, but several functions available for advanced users.
  • The relationship created works reciprocal, which means that if post A is added as related to post B, post B is automatically added as related to post A as well (this option can be turned off easily through the settings panel)
  • Widget support
  • Flexible customization of the way the related posts are displayed

Screenshots

screenshot-1

screenshot-2

screenshot-3

Installation

  • Download the plugin and unzip,
  • Put the related-posts folder in your wp-content/plugins folder,
  • Activate the plugin through the Wordpress admin,
  • Related posts will be placed underneath your posts/pages content automatically (after you have selected them manually in the write/edit post screen). You can change this and some other settings through the plugins options page under Settings > Related Posts.
  • For advanced implementation, there are a couple of API functions available.

Customization

There are several options for customizing the way related posts are displayed on the plugins settings page.

For customizing with CSS: the list will be displayed as a <ul> within a container <div id="related-posts">

API functions

  • Place this code in your template files (probably single.php) where you want the list of related posts to be displayed:
    <?php MRP_show_related_posts(); ?>
  • To get the output HTML without displaying it use this function:
    <?php $related_posts_html = MRP_get_related_posts_html( $post_id ) ?>
  • If you’re looking for further integration; this function will return the IDs and titles of related posts:
    <?php $related_posts = MRP_get_related_posts( $post_id ); ?>

    It will return an array like
    $related_posts[related_post_id]->related_post_title

Change Log

2.2

  • Added optimized SQL for related posts query provided by Peter Raganitsch
  • Added option for turning reciprocal function off provided by Brock Boland
  • Fixed some layout issues in Wordpress 2.7
  • The search tool now searches in post title and post content.

2.1.1

  • Solved an issue with shorthand PHP tags.

2.1

  • Solved an issue where in WP 2.6 relationships with revisions were created when editing a post.

2.0

  • Added the option to display related posts underneath your post content automatically
  • Added the extended customization options for the way the list of related posts is displayed:
    • Using a custom title
    • Choosing the HTML header element (h1, h2, etc.) of the title for the related posts section
    • Custom message to display when there are no related posts, with the option no displaying anything at all (no text, no code)
  • Added widget support
  • Added support for adding related pages

1.1

  • Fixed a small issue with the paths to the .js and .css files which made the plugin break on blogs that reside in subdirectories.

To Do

  • Language support
  • Displaying post meta information with related posts (categories, tags, date, number of comments)

Credits

A big thank you goes out to:

  • Peter Raganitsch for sharing his ancient SQL kung fu and thoroughly improving the speed and accuracy of this plugin.
  • Brock Boland for sharing his amazing improvements on the reciprocal function.

Donate

Has this plugin saved your day? Are you using it for a commercial project? Cool! But please consider a donation for my work. I am a professional just like you, so putting work in this plugin means missing money somewhere else!

Comments (234)

  • Lazy

    June 26, 2008 (10:00 pm)

    Hi,

    really usefull plugin and i will sure give it a try tomorrow.

    have a nice evening,

    Chris

  • Microkid

    June 26, 2008 (10:01 pm)

    Cool thanks!

    Let me know how it works out.

  • baron

    June 27, 2008 (12:02 am)

    hi. Thanks for plugin

    perfect.

    Regards

  • Chris

    June 27, 2008 (1:38 am)

    Very nice plugin. Can’t wait for widget support. It would be excellent to have this functionality in the sidebar. Thanks.

  • Dave

    June 27, 2008 (11:19 am)

    Hi there, just trying out your plugin and love the idea but can’t get the search to return any posts?

    Am I doing something wrong?

  • Microkid

    June 27, 2008 (11:25 am)

    Hi Dave,

    Any change your blog sits in a subdirectory? Something like:

    http://www.example.com/blog/

    I noticed some problems occur with the javascript there.

  • Dave

    June 27, 2008 (11:32 am)

    Could be, it is sat in a subdirectory (http://dave/wordpress) but is set to run from the same directory it’s installed in.

  • Microkid

    June 27, 2008 (11:39 am)

    Yeah, there’s a little bug that creates problems in that case. I’ve quick fixed it, can you try download the plugin again from here

    http://downloads.wordpress.org/plugin/microkids-related-posts.1.0.zip

    and the see if it works?

  • Dave

    June 27, 2008 (11:52 am)

    Thanks MK — works a treat now.

    One point, your example code above references “RP_show_related_posts();” while the actual functions start with “MRP”.

    Thanks again for the quick responses — reciprocal linking is a great addition!

  • Microkid

    June 27, 2008 (11:55 am)

    You are very right, thanks.

    The plugin was named “Related Posts” before, but I had to change it because that name was taken in the Wordpress plugin directory :)

  • Trackback by Leonaut.com

    Related Posts…

    This Wordpress plugin lets you manually select related posts using a nifty AJAX powered search utility….

  • autworld

    June 27, 2008 (4:46 pm)

    great work, nice plugin!

  • Aydın

    June 27, 2008 (8:29 pm)

    Thanks for the plugin but it doesn’t work on my site. I’ve read he comments and seen subdomain issue, I downloaded the new file but it still doesn’t work. Any suggestions?

  • Aydın

    June 27, 2008 (8:37 pm)

    It’s alright, I added my subdomain folder name to mikrokids-related-posts.php file line 186 & 187, now it works perfect…
    Thanks for that great plugin…

  • Charlie

    June 28, 2008 (3:26 am)

    I’m having a problem with this, I have the plugin activated and I’ve added the line of php code to the single.php file where I want the list to appear and all I see after refreshing is “none” where the article links would appear. Did I miss something?

  • Microkid

    June 28, 2008 (1:09 pm)

    Aydin, could you clarify a little? Did get_bloginfo(’siteurl’) not work correctly? What WP version are you running? Can you give me the url?

    Hi Charlie, when there are no related posts added yet to your post, the plugin will display “none”.

  • Dale Ryan

    June 28, 2008 (3:03 pm)

    Doesn’t seem to work with pages. . . just posts. Would it be difficult to expand it to include pages?

  • Microkid

    June 28, 2008 (3:16 pm)

    Hi Dale,

    Support for pages is on it’s way. Actually, I’m thinking it would be great if you could relate anything to anything; pages, links and posts. What do you think?

  • Pingback by Rauru Blog » Blog Archive » 最近の WordPress plugin

    [...] Microkid’s Related Posts plugin [...]

  • Cukrzyca i pompa insulinowa

    June 28, 2008 (7:38 pm)

    Great plug in!
    I’m used similar plug in from Terong many years ago but it was not compatible with wp 2.3 up.
    Great idea, thanks a lot!

  • Slash

    June 28, 2008 (11:31 pm)

    Hi,

    Great plugin. When there are no related posts added yet to a post, the plugin will display “none”. In the next version, will it possible to display nothing at all, no text, no code ?

  • Microkid

    June 29, 2008 (1:04 am)

    Hi Slash,

    I was thinking about that, being able to edit what appears when there are no related posts. Pretty sure I will manage to include that with the next release.

  • ariwolu

    June 30, 2008 (5:27 am)

    Hi
    I’m ari
    I use related post in my wp
    but I still confuse how to use it, can u explain more.
    With a picture or screenshot maybe?
    Thankz

  • rexsky

    June 30, 2008 (7:39 am)

    hi. Thanks for plugin,I will try it ….If has some questions,I will report it …

  • Pingback by Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 6/30

    [...] Microkid’s Related Posts [...]

  • Saijo George

    June 30, 2008 (7:58 am)

    Nice work , was after something like this for a while

  • Pingback by WordPress Plugin Releases for 6/30 | BlogBroker24-7

    [...] Microkid’s Related Posts [...]

  • Saijo George

    June 30, 2008 (8:24 am)

    Its doesn’t work . In the Post edit page , when u type in the search word it just stays blank.

    Already tried the new link that was posted , also tried to edit the mikrokids-related-posts.php file line 186 & 187 and manually added the blog url with out the trailing slash. Still nothin. :(

  • Pingback by Wp Wordpress » Blog Archive » WordPress Plugin Releases for 6/30

    [...] Microkid’s Related Posts [...]

  • Pingback by Wp Wordpress » Blog Archive » Weblog Tools Collection: WordPress Plugin Releases for 6/30

    [...] Microkid’s Related Posts [...]

  • Aydın

    June 30, 2008 (11:05 am)

    Aydin, could you clarify a little? Did get_bloginfo(’siteurl’) not work correctly? What WP version are you running? Can you give me the url?

    get_bloginfo(’siteurl’) didn’t work. I think it just calls “blog url”. My site sits on a subdomain as “../blog” and i added my subdomain folder name after php code and it works fine now. My edited code is:
    '';
    echo '

    Hope it helps.
    By the way, My blog runs on WP 2.5.1

  • Aydın

    June 30, 2008 (11:07 am)

    Ups, code didn’t show up… Adding it again:

    script type="text/javascript" src="'.get_bloginfo('siteurl').'/blog/wp-content/plugins/microkids-related-posts/microkids-related-posts.js">

  • Microkid

    June 30, 2008 (11:20 am)

    Aydin, thanks. Sorry the code isn’t showing up correctly in your comment. But don’t bother , I know what you mean :)

    I’m going to look into it.

    Saijo, I think this should fix your problem too, give me a sec.

  • Microkid

    June 30, 2008 (11:32 am)

    Saijo, can you try downloading this version and see if it works?

  • Saijo George

    June 30, 2008 (12:39 pm)

    Will do it and report back ASAP

  • Saijo George

    June 30, 2008 (12:44 pm)

    Works Fine now , Gr8 work mate …

  • Microkid

    June 30, 2008 (1:25 pm)

    Thanks Saijo, I’ve updated the plugin. Great feedback guys.

  • moserw

    June 30, 2008 (1:56 pm)

    Might be just what I was looking for. Hope it does sticky function well and is customizable to the degree I want. Thanks.

  • Microkid

    June 30, 2008 (1:59 pm)

    Hi moserw, please let me know here if you have any feature requests.

  • Saijo George

    June 30, 2008 (2:13 pm)

    Its customisable and goes well with google ads on post , I have placed Link Ads + Recent Post together . Now lets wait and see how the traffic reacts to it .

    The best features are :

    1) U can select the requires post ( way better than automatic selection based on tags , content )

    2 ) The relationship created works reciprocal, which means that if post A is added as related to post B, post B is automatically added as related to post A as well ( this is a time saver and a gr8 feature )

  • Atlanta Wedding Photographer

    June 30, 2008 (2:50 pm)

    I have been looking for a related posts plugin and I am glad that I came across this site it looks like this is going to be what I am looking for . The problem though: I down loaded the plugin and installed it so that I can see it and search and select the related posts but it doesn’t come up. I saw the link that we have to put in the “theme files.” Where would those exactly be?

  • Pingback by Wp Wordpress » Blog Archive » New Wordpress Plugin Releases

    [...] Microkid’s Related Posts [...]

  • Microkid

    June 30, 2008 (3:02 pm)

    Hello there Wedding Photographer,

    This depends on what Wordpress theme you use. You have to place the code somewhere in one of the theme files that load when a post is viewed (i.e. single.php). This code retrieves and shows the related posts.

  • stratosg

    June 30, 2008 (3:21 pm)

    hey thx for a nice plugin!

  • Atlanta Wedding Photographer

    June 30, 2008 (3:57 pm)

    I’ll put it in the single.php (i know that I have that one) and see what happens later today. I have the “Natural Essence” theme. http://www.peterdoylephotography.com/storyboard

    thanks again.

  • Microkid

    June 30, 2008 (4:47 pm)

    Alrighty Atlanta, put it somwhere below `the_content()` in single.php and you should be ready to go. You can customize the appearance using CSS.

    I think it might be useful for a lot of people to add an “automatically add below posts content” option in the next release.

  • Ruud

    July 1, 2008 (2:55 am)

    Very great plugin..
    But is there any limitation for ‘numerous of related post’ each article that post since “if post A is added as related to post B, post B is automatically added as related to post A as well” ?

    If I have twenty article that related to post A it that mean the A post will have 20 link related post. Too much.
    Thanks before for nice plugin..

  • Saijo George

    July 1, 2008 (4:20 am)

    The beauty of this plugin is that u can add the related post manually , so out of that 20 related post u might have on your blog , if u wish only 2 to show up u can do that by only added those 2

  • Pingback by WordPress Plugins: Related Posts at WordPress Today

    [...]   Related Posts,手工提供“相关文章”列表。   类似“相关文章列表”的插件有不少,不过大部分都是依靠算法来自动匹配的,事实上由于中文的特殊性,有时候这些插件看起来更像是“随机文章列表”。所以,不如还是人工来决定吧。本款插件会在Post页面的选项中增加一个”Related Posts”选项,它提供一个即时效果的搜索框,可以自己输入关键词来搜索文章,然后添加入列表。 [...]

  • Pingback by Skylog » Blog Archive » links for 2008-07-02

    [...] Wordpress plugin: Related Posts This Wordpress plugin lets you manually select related posts using a nifty AJAX powered search utility. (tags: wordpress plugin) [...]

  • atlanta wedding photographer

    July 2, 2008 (6:21 pm)

    okay,,,, I put the code “somwhere below `the_content()` in single.php ” and I now see the related posts only when I am writing the post and not when I view it. Is there anything else that I need to check. I’m sorry that I can’t get this settled.

  • Microkid

    July 3, 2008 (11:45 am)

    Hi Atlanta,
    Did you use the first or the second code mentioned above? You should use the first.

  • Flector

    July 3, 2008 (11:57 am)

    It’s not work with russian titles (AJAX search). Can you fix this problem?

  • atlanta wedding photographer

    July 3, 2008 (4:57 pm)

    Here is the code:

    Posted in

    what do you think

  • atlanta wedding photographer

    July 3, 2008 (4:58 pm)

    ok so you don’t see it ….. i put it under the content and I used the first code you have on there

  • Microkid

    July 3, 2008 (7:23 pm)

    Hi Atlanta,

    I checked out which theme you are using, looks like you’re using a customized version of Natural Essence, correct? If so, the code should be placed underneath somewhere around line 21.

    Replace

    < ?php the_content('Read the rest of this entry »'); ?>

    With

    < ?php the_content('Read the rest of this entry »'); ?>
    < ?php if( function_exists("MRP_show_related_posts") ) MRP_show_related_posts(); ?>

    Let me know if that works.

  • Pingback by Все о Wordpress » Архив блога » Плагины для Wordpress 04.06.2008

    [...] Microkid’s Related Posts [...]

  • Pingback by Wordpress Related Posts plugin 2.0 release candidate

    [...] receiving overwhelming responses to the first release of the Related Posts plugin for Wordpress, I have tried to implement a range of new features as requested by my loyal [...]

  • Pingback by Essential WordPress Plug-ins (urbanmainframe.com)

    [...] Microkid’s Related Posts: Manually add related posts with an Ajax locator. [...]

  • Pingback by Плагин WordPress "Microkid's Related Posts" для вставки "связанных" записей.

    [...] плагина: Microkid (http://www.microkid.net/) Страница плагина: (http://www.microkid.net/wordpress/related-posts/ Рассматриваемая версия: 1.1 от 01.07.2008 Совместимость с [...]

  • maddler

    July 8, 2008 (11:41 pm)

    Great plugin! I was about to write something by myself using themes/PHP/custom fields, you saved my life! :D

  • Cy

    July 9, 2008 (12:30 am)

    I am sorry to say that I cannot get it to work. The code just shows up as text under post. I’m sure the problem is with me. I carefully went over your instructions to Atlanta but that didn’t help. I stayed glued to this page in hopes that you add the option you spoke of up a few comments. Maybe that will do it for the newbie like me. Thanks.

  • maddler

    July 9, 2008 (12:32 am)

    is it the code correctly enclosed among

  • maddler

    July 9, 2008 (12:33 am)

    sorry… that was supposed to be:
    is the code correctly eclosed among <? and ?&gt> ?

  • Microkid

    July 9, 2008 (12:37 am)

    Maddler – You’re welcome :)

    Cy – Try downloading this version of the plugin – it’s not officially released yet, but it has a feature of automatically adding the related posts to your content.

    Make sure you completely uninstall and remove your current install of the plugin before installing this one. And please let me know if this solves your problem.

  • Cy

    July 9, 2008 (4:28 am)

    Thank you Microkid for responding. I have PlugInstaller. After deactivating the Microskids Related Posts I have an option to uninstall. When I do click uninstall a page pops up saying “cannot load”. Can I just use my FireFTP and take the plugin out or is that not the way to proceed? Thanks for your patience.

  • Microkid

    July 9, 2008 (4:16 pm)

    Cy,

    Yes, just delete the entire folder from the plugins folder. Then upload the new version.

  • cy

    July 9, 2008 (6:34 pm)

    Microkid,

    It worked perfectly!. Again, thank you for your time helping me out. I have researched all “related posts” type plugins and this is the very best for newbies like me. I’m sure advanced users will like it too. The reciprocal feature is really nice. By the way I using WP 2.5, self- hosted.

  • Microkid

    July 9, 2008 (7:09 pm)

    Thanks cy, glad to help :)

  • Pingback by Related Posts version 2.0 released

    [...] have released the Wordpress Related Posts plugin version 2.0. It has a lot of cool new features so make sure you [...]

  • moserw

    July 10, 2008 (7:41 pm)

    I installed it a couple of days ago and it worked well showing 10 related posts. Now it says “None” to every post. What could be wrong? BTW I changed my theme, but have done everything the same way in inserting the code as in the previous theme. Any help would be much appreciated.

  • Microkid

    July 11, 2008 (1:02 am)

    moserw,

    Are you running v2.0? If not, please check if installing the new version will solve your problem (see above for the download link)

    It probably has something to do with your new theme. Version 2.0 automatically adds the related posts to your content so there shouldn’t be any dependancies with themes.

  • Cy

    July 11, 2008 (7:54 am)

    May I add that I was validating my blog with W3C and found several plugins that were creating errors. Your plugin was NOT among them and I thank you for that.

  • Shirley

    July 11, 2008 (2:59 pm)

    Great plugin. I especially appreciate the ‘API Functions’.

  • Microkid

    July 11, 2008 (3:06 pm)

    Thanks Cy, Shirley,

    I’ve tried to create a plugin that has all the features for both basic and advanced users, so I’m happy it’s appreciated :)

    If there’s anything else you would like to see as a feature, please let me know and I will look into it.

  • Pingback by 12 Wordpress Plugins for Writers | Byzantine Roads

    [...] MicroKid’s Related Posts- Lets you search your posts and manually add related posts to posts. Posts. Posts Posts.  ( Not Spam) [...]

  • Susan

    July 12, 2008 (4:13 pm)

    Great plugin…except that it doesn’t seem to support Chinese at all. Thus I can only apply it to the posts with English titles.

    May I ask for a function that I can add related posts by typing IDs or sth else, if non-English search is difficult?

  • Microkid

    July 12, 2008 (6:13 pm)

    Hi Susan,

    I’ll put support for Chinese characters on my list. I know there are some problems with cyrillic alphabet as well. I’ll look into it for the next version.

  • Justin

    July 18, 2008 (6:23 pm)

    great plugin. any chance at adding the ability to completely customize the related post output? it would be great to be able to include an article thumbnail, title, and excerpt.

  • Microkid

    July 18, 2008 (8:46 pm)

    Hi Justin,

    If you want you can use this function to grab all the post ID’s:


    < ?php $related_posts = MRP_get_related_posts( $post_id ); ?>

    Using the get_post() function you could get any data you need from the related posts.

  • Dale

    July 19, 2008 (7:54 pm)

    Hello. Great plugin, I really like it and like the idea of being able to selectively include only the related posts I want. I installed it for the first time today, after upgrading my site to WordPress 2.6. I did notice something a little odd… When I display a related post, links back to the original post appears multiple times. For example, if you click one of the related posts listed on this post…

    http://www.afewgoodpens.com/blog/2008/07/18/site-updates-4/

    … you’ll see duplicated links back to the original. I was just reading that WordPress introduced post revision tracking in 2.6, and if you pass the mouse over the duplicate links, you’ll see they reference the revisions. I’m looking into turning the revision level off, but also wanted to let you know about the problem (if you don’t already).

    Thanks and thanks for the good work…. I’m planning to go back through a lot of my posts and set up related post links, and this plugin is a great help.

    Dale

  • Microkid

    July 19, 2008 (11:28 pm)

    Dale – Thanks, I hadn’t noticed this yet.. I’ll look into it right away. Definitely something to do with the revisions.

    Good to hear you find it useful :)

  • Microkid

    July 20, 2008 (1:46 am)

    I solved the issue in version 2.1, you can download it here.

  • Dale

    July 20, 2008 (3:20 am)

    Oh, man, you’re great … just installed version 2.1, cleaned up the duplicates, and created a new related posts reference … it worked beautifully. Thanks tons for taking care of this so quickly!

    Dale

  • Dale

    July 21, 2008 (12:45 am)

    Hello again. A question about your plug-in…. In the features list above, you say:

    “The relationship created works reciprocal, which means that if post A is added as related to post B, post B is automatically added as related to post A as well.”

    I was wondering how it’s designed to work when I add more than one relationship. That is, if I add two related posts (Post #2 and Post #3) to Post #1, should Post #2 automatically show Post #1 and Post #3, and Post #3 show Post #1 and Post #2?

    I hope that makes sense….

    Thanks!!

    Dale

  • Microkid

    July 21, 2008 (9:10 am)

    Hi Dale,

    I understand what you mean, but no it doesn’t work that way. Post 1 and 2 might be related on one subject, and post 1 and 3 on another. So this doesn’t necessarily mean that 2 and 3 are related.

  • Dale

    July 22, 2008 (3:10 am)

    Hi, MK… Thanks for the response. What you are saying makes sense, and I thought it might work that way … just wanted to be sure before I linked up a bunch more posts.

    Thanks again for your attention and quick followup; I really do appreciate it.

    Bye for now,

    Dale

  • atlanta wedding photographer

    July 22, 2008 (10:54 pm)

    I got a little furstrated so i just deleted it now I calmed down and put it back up again. I figured out what was happening. It seems that the space between in the “< ?php” that you gave was causing the problems. I now have it up but the related posts are only showing when you click on the indivdual blog and they are showing up twice. Is there something that I did? Thanks for your time. here’s the link: http://peterdoylephotography.com/storyboard/the-business-of-relationships/

  • Microkid

    July 23, 2008 (1:11 am)

    Atlanta,

    Glad you got it working. Where did the space show up? Sorry about that causing you so much trouble.

    With the release of version 2.0 I added the functionality of the related posts being added to your posts content automatically. So no need to insert the code – well, except when you want to change the location of the list. You are now looking at the same list twice because its added automatically plus you’ve added the code.

    So, either turn of the “automatic” function through the settings or get rid of the code.

    Right now the plugin doesn’t add the list automatically to your post excerpts on the home and archive pages. Would be a good feature for a future release maybe. If you want it anyway, just add the before mentioned code to the index.php, archive.php, and, if it exists, category.php files of your theme. Same way, right underneath the_content() or the_excerpt(), either one should be in your theme files.

  • Murad

    July 23, 2008 (6:25 am)

    i’ve been looking for this since it appeared on the dashboard widget. but really took time as i think the search in the wordpress plugin page is bit crooked.

    im novice but i think this is what ppl need .. thanks a lot.

  • Atlanta Wedding Photographer

    July 23, 2008 (2:41 pm)

    Dude….thanks a bunch…finally got everything situated. took out it showing twice and only had to put the code in the index.php so that it shows up on the front page. thanks again!!!!

  • Heather

    July 23, 2008 (3:12 pm)

    My blog is in a subdomain: blog.peacockandpaisley.com. I tried Microkid Related Posts 1.0 and tried adding http://blog.peacockandpaisley.com to lines 186 and 187, as mentioned above, but no related posts are showing up. I’m using the Firebug theme, but when I switched between themes, the plugin still didn’t seem to be working. Looking forward to using your plugin! Thanks for the help.

  • Microkid

    July 23, 2008 (3:20 pm)

    Hi Heather,

    The 186/187 fix was for an older version, it’s not necessary for the current version.

    It seems the related posts list is appearing underneath your post content correctly. Does the related post tool show up on your write post page?

  • Andrew

    July 26, 2008 (4:01 am)

    When I try to activate the plugin, I get a “fatal” error message:

    Parse error: syntax error, unexpected $end in/Library [etc.] / microkids-related-posts/microkids-related-posts.php on line 482

    I am very new to WordPress, so I’ve probably done something stupid, but I have managed to install and activate other plugins. Any help much appreciated.

  • Microkid

    July 26, 2008 (10:26 am)

    Hi Andrew,

    I might have a solution – can you download and install this version and tell me if it works?

  • Andrew

    July 26, 2008 (11:55 am)

    No, I get the same error, but now at line 485.

  • Microkid

    July 26, 2008 (12:16 pm)

    Ok … this one should do the trick. Please download it and let me know.

  • Andrew

    July 26, 2008 (1:50 pm)

    Yes! That did it. Thanks. Now I just need to figure out how to make it work. When I’m writing a post, I should be able to type in a tag in the “Search posts” box, under “Related Posts”, and that will show a list of posts with that tag. Is that right? I’m not seeing any related posts right now. I’m going to play with it some more.

  • Microkid

    July 26, 2008 (2:04 pm)

    The search tool will match whatever you fill in on the titles of your posts.

    I think in a future version I’ll add matching on post content and/or tags as well.

  • Andrew

    July 26, 2008 (2:07 pm)

    Ok, I got it working by replacing this bit in lines 76 and 77:

    “‘.get_option(’siteurl’).’/

    with the location of my blog. Is the subdomain issue? My blog is located in a folder called “blog” that sits in my root folder.

    Anyway, thanks for the plugin and for the help.

  • Microkid

    July 26, 2008 (2:08 pm)

    hmm .. that shouldn’t be happening. What version of the plugin are you using?

  • Andrew

    July 26, 2008 (2:12 pm)

    Version: 2.1.1rc2

    Thanks for the explanation about how it matches.

  • JesusCrunk.com

    July 31, 2008 (3:51 am)

    Related Posts<- I want to change this to Discography

    * 116 Clique – 13 Letters
    * 116 Clique – The Compilation Album

  • Vorenus

    July 31, 2008 (7:10 am)

    The AJAXY crap doesn’t work in Firefox 3. Test it and you’ll see how the search for posts doesn’t show any posts (but it does in Safari).

  • Microkid

    July 31, 2008 (8:24 am)

    JesusCrunk:
    Check the plugins settings in the WP admin.

    Vorenus:
    It should work in FF3 (I use it daily actually). Maybe something else is the problem?

  • Vorenus

    July 31, 2008 (10:30 am)

    It just started working. I can’t explain it. Perhaps it wasn’t loading the .js file before.

    Anyway, I apologize for my hostile tone earlier.

  • Microkid

    July 31, 2008 (10:34 am)

    No problem. I’m not a very big fan of Ajax as a solution to everything either. It just seemed like the best solution here.

  • Perband

    August 2, 2008 (12:23 pm)

    Great Plugin! But how can I change the font-size of the label “Related Posts”?

  • Perband

    August 2, 2008 (1:30 pm)

    Ok, I found it :) . But I have a second question: Would it be possible not only to search the titles of former posts? It would be more handy, if also the tags are searchable and/or the body of the post. Maybe it would be a good idea, to prepopulate the field “Related” with some data, eventually with the posts, which have one of the tags.

  • Microkid

    August 2, 2008 (2:59 pm)

    Hi Perband,

    An option for suggestions definitely seems like a useful feature. Good idea — I’ll look into in.

  • Pxl_Buzzard

    August 2, 2008 (4:02 pm)

    Thanks for the great addon Microkid. I was just wondering what new features were added in version 2.1.1?

  • Microkid

    August 2, 2008 (4:08 pm)

    Sorry, no new features. I only fixed an issue that would make the plugin crash when shorthand php tags are not allowed. If you weren’t having problems, then there’s no reason to update really.

  • Pxl_Buzzard

    August 2, 2008 (4:10 pm)

    Thanks for the quick reply, and it’s nice to see that you’re still active with the project and the people that use it.

  • Microkid

    August 2, 2008 (4:12 pm)

    Cool, I’m just happy I can give something back to a great community.

  • KrzysztofUW

    August 2, 2008 (7:34 pm)

    Great work! This plugin is very practical but on each entry should be a number of comments and the search should be more configurable. Anyway really true respect for your work :)

  • Adam Wulf

    August 8, 2008 (4:49 am)

    love it!

    mega dittos for being able to link to pages as well. thanks for the plugin, gj!

  • Pingback by Some Thoughts On WordPress 2.6 (and Plugins Galore) - Part Two | afewgoodpens.com

    [...] Microkid’s Related Posts is one of my favorite plugins, and I will gradually deploy it all throughout the site, including archive articles. This plugin adds related post functionality to the WordPress Write pages, letting you search through your posts by keyword and include a list of related posts. I like this particular plugin because connecting posts is partly automated and partly manual, giving me control over the relationships I want to create. And, for more fun, if you are writing Post A and create a related entry to Post B, the plugin automatically updates Post B to contain the related post link back to Post A. Grrreeeaaatttt You can see an example of this plugin in action at the end of this article. [...]

  • Pingback by Wordpress 2.6 ile uyumlu eklentiler | alpibo

    [...] Microkids Related Posts 2.1 [...]

  • Robert Irizarry

    August 15, 2008 (11:36 am)

    I love the control this plugin provides. Very cool.

    However, I was wondering why you didn’t use the same code names Related Posts uses? It seems to be the defacto standard and this way your plugin is a drop in replacement in themes which already support that version. An example of this approach is Yet Another Related Posts Plugin (YARPP).

    Regardless, thanks for the great work.

  • Adey

    August 24, 2008 (12:36 pm)

    Looks like a useful plugin. It would be ideal if you could add any link from anywhere, rather than just search matches. Doesn’t seem to be possible

    Thanks

  • CircleReader

    August 26, 2008 (4:00 am)

    A fantastic plugin – thank you very much!

    I just noticed that it is cross-liking my unpublished draft posts. Yikes! That means that people can see my drafts while they are still under construction. Not good–my collected thoughts are rough enough as it is…

  • Jenny

    August 28, 2008 (9:40 pm)

    Hi MicroKid,

    Thanks for sharing this plugin.

    I tried it, but what I got is this:

    “Related Posts

    None”

    I have put the entire folder (9 files) in this folder:
    …/wp-content/plugins/Related Posts/

    I use self-hosted WP version 2.5. What am I doing wrong?

  • Microkid

    August 30, 2008 (12:10 pm)

    Hi Jenny,

    The plugin does not create relations automatically. Did you build any relations through the manage/write post page?

  • Jenny

    August 30, 2008 (10:28 pm)

    All my posts are tagged, therefore several related posts should appear, but says “none”. Please help.

  • Microkid

    August 31, 2008 (12:26 am)

    Again, the plugin does not create relations automatically. The whole idea is that you can create relations manually, through the edit/write page. Check out the screenshots and instructions above for help.

  • schikowski

    September 1, 2008 (11:14 am)

    Hello Microkid,
    After searching for 3 days I have finally found your amazing plugin. Thank you for the excellent work!
    I was wondering whether there is a way to manually sort the links that come up.
    Right now it seems they are sorted alphabetically by default, and if there are numbers (post 1, post 2), the highest number will be on top, no matter in which order I choose them.

    Thanks in advance for your thoughts!
    Regards,
    schikowski

  • schikowski

    September 1, 2008 (1:38 pm)

    Hey,
    I just found that using the plugin breaks my admin panel (bottom) when editing a Page.
    Have you experienced this as well?
    WP 2.6
    Thanks!!
    schikowski

  • Microkid

    September 1, 2008 (3:20 pm)

    Circlereader – Can it be that this is happening with posts that were published before? Because you shouldn’t be able to select drafts.

    Schikowski – That would be a cool feature, manually adjusting the order of the related posts. I’ll put it on my list :)

    I’ve never noticed any problems with the admin panel footer. Perhaps a compatibility issue with another plugin? Can you try disabling a couple and see what happens?

    Thanks for your feedback guys.

  • CircleReader

    September 2, 2008 (3:39 am)

    It happens when I am drafting a new post and relate it to another, previously published post. When I hit save, the related posts appear on the previous post before I publish the new post. Clicking on the related posts link from the older post to my draft displays the unpublished, in progress post.

    (I’d set up an example for you, but I’m having some other technical difficulties with my blog right now. :( )

    +1 on searching tags and content as well as titles. Thanks for your help!

  • tata

    September 2, 2008 (6:21 am)

    This plug-in is precisely what I’m looking for. However, I do most of my composing using Windows Live Writer and would have to edit my posts after publishing in order to use your plug-in effectively.

    Any chance that you will also create a plug-in for WLW?! :D

  • tata

    September 2, 2008 (6:41 am)

    Okay, I’ve just completed some editing and my goodness, it looks simply fabulous. Thanks so much for the hard work you put into this plug-in and sharing it with us! My next post about blog resources is linking to this page!

    Thanks again, Microkid!

  • Microkid

    September 2, 2008 (8:14 am)

    CircleReader – Ok got it, that’s something that needs to be fixed a.s.a.p.

    Tata – thanks for the love :) As for Windows Live Writer – sorry, not a chance ;)

  • bad

    September 2, 2008 (9:42 pm)

    hi,

    I’m using it on two sites, it works perfect on the first one, but on the other one, the related post ajax function doesn’t show posts when I’m trying to search. This is when making a post or editing the post.

    latest wordpress version is used, as well as latest version of the plugin. None of them is in a subdirectory and is hosted by one company.

    Any ideas?

  • Pingback by My Favorite WordPress Plug-ins | I'm beautiful like me.

    [...] recently, I have found a most excellent plug-in: Micro*Kid’s Related Posts Plug-in. It’s ridiculously easy to use and looks quite fabulous, too. It does not find related posts [...]

  • Pingback by Yuki’s Blog » WordPress で使用している Plugin

    [...] Microkid’s Related Posts [...]

  • Pingback by Must install wordpress plug-ins for your new blog! | TechZoomIn

    [...] Microkid’s Related Posts-Manually add related posts to show the related posts under your every post.This will give good results to increase your page views count. [...]

  • jean lyon

    September 20, 2008 (11:25 am)

    Hi
    Great plugin and thanks a lot for your hard work !
    Just one question : is it possible to show on a page (single) a sub selection of related posts: my posts have related posts which are related :
    - links
    - books
    - stories
    I would like to automatically retrieve these related posts and show them in 3 differents spots when post appears on single page.
    How to achieve this ? is it possible with your plugin ? Could I use your plugin and then do a seach ?
    Jean from France

  • Microkid

    September 21, 2008 (10:37 pm)

    Salut Jean,
    Are these subjects you are making a sub selection on categories on your blog? Perhaps you could use the MRP_get_related_posts function (see the API functions above) to get all the ID’s. Then you would have to get the category of each post, some way, and order them by it.

    I think it’ll be useful for a lot of people to have the MRP_get_related_posts() function return more data than just the ID and title. I’m putting it on the feature request list for version 3.0

  • jean lyon

    September 22, 2008 (7:42 am)

    Hi
    Thanks for answer
    Using the MRP_get_related_posts function is probably the answer I will give it a try and keep you posted on my progresses. This function could be returning more data, it is a good idea for future version 3.
    Thanks for help
    Jean from France

  • Pingback by FOR WORDPRESS - New Wordpress Plugin Releases

    [...] Microkid’s Related Posts [...]

  • Saijo George

    October 11, 2008 (7:27 am)

    Got a feature request for the future version. Is it possible to shown only say X related post in this section. If there are more than X related post then any X random post ( from the selected related post ) is shown

  • Pingback by 10 Ways to Improve Navigation in WordPress

    [...] Related Posts: What better way to get people to stay on your blog than by recommending to them “related posts” that you’ve written?! All it takes is a plugin like Related Posts. [...]

  • Pingback by 10 Ways to Improve Navigation in WordPress | Wordpress Blog Services

    [...] Related Posts: What better way to get people to stay on your blog than by recommending to them “related posts” that you’ve written?! All it takes is a plugin like Related Posts. [...]

  • Pingback by 10 Ways to Improve Navigation in WordPress | How To WordPress

    [...] Related Posts: What better way to get people to stay on your blog than by recommending to them “related posts” that you’ve written?! All it takes is a plugin like Related Posts. [...]

  • Microkid

    October 15, 2008 (8:15 pm)

    Hi Saijo George,

    Why would you want this? Are you worried you will have to many links on your page?

  • Saijo George

    October 16, 2008 (2:56 am)

    Hi Microkid

    thanks exactly right. Its got a lot to do with the way I have integrated the related post in to my site eg : http://www.1800pocketpc.com/2008/09/15/non-animated-wallpaper-pack-for-pocket-pc-pack-3.html

    If there are say related post say around 10-20 the layout will be messedup. but if only say 6-7 are shown @ any given time it will look well presented.

  • Daniel Dumas :: Mr Night Man

    October 20, 2008 (11:42 am)

    thanks for this very great plugin! :)

  • Pingback by Words from the Source » Blog Archive » Navigating the Blogosphere

    [...] left with the post details and the comment form. Useful navigation for these pages could be listing related posts, most popular posts, or most commented posts. With these features a user can jump directly to [...]

  • Klaus

    October 26, 2008 (10:41 am)

    Great plugin! Will be using it in my relaunch :-)

  • createmo

    November 2, 2008 (6:58 am)

    Thank you for your website :)
    I made on photoshop backgrounds for myspace or youtube and even more
    my backgrounds:http://tinyurl.com/6rbxmr
    take care and thank you again!

  • Natural

    November 9, 2008 (6:53 pm)

    I can’t get one post to show up. It always says none. how does it find the related posts. thanks.

  • microkid

    November 16, 2008 (9:27 pm)

    @Natural,

    You have to manually select the related posts, it doesn’t work automatically. Please check the instructions in the post above.

  • GYM G

    November 19, 2008 (4:50 am)

    RE: If you want you can use this function to grab all the post ID’s:

    Using the get_post() function you could get any data you need from the related posts.

    More example code please for us who are not so php Savvy

    Would love to see the code with permalink, thumbnail etc..

    Here’s my old code using WP thumbnail:

    <img src=”ID, “thumb_archives”, true); ?>” alt=”ID, “thumb_archives”, true); ?> thumb_archives” />

    <a href=”" rel=”bookmark”>Custom Field LabelID, “Custom Field1″, true); ?>

  • GYM G

    November 19, 2008 (4:51 am)

    Unable to paste complete code, this site strips it all from my post

  • music lovers group

    November 20, 2008 (12:00 am)

    At the beginning I’m gonna use it with related posts plugin that uses the tags than after a while I’m gonna remove that plugin and only use this one.
    I hope not to mess up things.
    Thanks for the plugin !

  • snackosaurusrex

    November 25, 2008 (1:42 am)

    Hi Microkid,
    Thanks for the plugin and all the help! I’ve installed the newest version on my wordpress and tried the suggestions you made in the comments, but still can’t seem to figure it out. When I search for a related post, I see this:

    Warning: require(../../../wp-config.php) [function.require]: failed to open stream: No such file or directory in /home/snacko5/public_html/wp-content/plugins/microkids-related-posts/mrp-search.php on line 8

    any ideas? thank you!

  • Steven Vachon

    December 9, 2008 (10:28 pm)

    Great plugin. However, it’d be great if you had a “Related Links” feature as well. Would work the same, only difference would be links are custom added using a nearly identical interface.

  • Pingback by Karina Myers » Blog Archive » Wordpress Plugins Round-up You Shouldn’t Miss For Anything

    [...] Related Posts: I have this plugin installed in my site, it’s very useful and light which is always a plus. It creates an effective system of related content; this plugin will let you manually select related posts, and turn your blog into an extended network of intertwined information. Selecting related posts is fully integrated, which makes it very easy to adopt it in your publishing workflow. [...]

  • Pingback by Microkids Related Posts version 2.2 released - Microkid.net

    [...] out the full release notes. Update the plugin through your Wordpress admin or download it from the Wordpress plugin [...]

  • pete

    December 16, 2008 (5:08 pm)

    i cant seem to get this to work with wordpress 2.7 i have used MRP_show_related_posts(); on my single.php file and it always returns no related posts. is this a 2.7 issue?

  • Microkid

    December 16, 2008 (5:11 pm)

    Hi Pete,
    Hm… Are you using version 2.2? In this version there is a new option to show relations reciprocal or not, check under the plugins settings page in your wp-admin. Make sure it’s set to “yes” and see if it works then.

  • pete

    December 16, 2008 (5:23 pm)

    Hi Mikrokid,
    Thanks for the quick reply and your suggestion was a great help,
    thanks.

  • Topher

    December 17, 2008 (3:01 am)

    Great plugin – super useful. I was overjoyed when I found it.

    One question – I am finding that the search will not include posts that have not gone live yet. Is that the correct behavior?

    Thank You!

  • Microkid

    December 17, 2008 (8:18 am)

    Topher,

    Yes, you don’t want drafts to appear as related posts do you? :)

  • Topher

    December 17, 2008 (2:35 pm)

    Good point :) Though my issues is that I am using WP as a CMS to run a “news” site. So if I create two posts that are set to go live tomorrow, I can link them to previous live posts, but not to each other, until one of them goes live. So there are several issues – 1. I can link a future post to current posts, which means readers will be able to access the future post if they click the “Related Posts” link. 2. Inability to link two future posts.

    I completely recognize that these features are outside of the scope of this plugin, and my use is fairly non-standard.

    I may try to see if I can set the output of the plugin to exclude posts that are not “live” and also to allow the admin interface to show “not live” but “published” posts (i.e. no drafts).

    Thanks for all your work!

  • Adam Goldsztajn

    December 23, 2008 (5:57 am)

    Just wanted to say, thank you for finally building a related-posts plugin that actually does works like a real human would want one to! frankly there seem to be dozens of related post plugins that do nothing accurately and this lets one build the related posts part oneself…something crucial for my website. Again, really appreciate the work.

  • stefan

    December 29, 2008 (10:36 am)

    just stumbled upon your plugin. it’s absolutley fantastic and exactly what i need for my current project.

    thx

  • stefan

    December 29, 2008 (3:04 pm)

    i’ve experienced a strange phenomenon. i have a page and to this page i relate a post and everything works great. but when i make some changes on the post, the relation disappears (i’m not using reciprocal relations)

  • Saijo George

    January 5, 2009 (6:52 am)

    Is there an option for the related post to only search the title ( like in the previous versions ); the new version searches both tile and content.

    May be there can be an option so users can select which option they require :)

  • Henrik - Web Designer

    January 8, 2009 (12:43 am)

    Many thanks for this. It’s perfect. Easy to install and configure.

  • Pingback by Bittersweet Blog » Blog Archive » Mes Plugins et Thème Wordpress

    [...] Microkid’s Related Post (2.2) => Un plugin des plus utile, qui s’est révélé caché au fin fond du net (6h de recherches intenses !) Avec lui tu pourras choisir manuellement les articles similaires pour coller au mieux au sujet de tes articles. Il y a tout un tas d’option qui font de ce plugin un must-have ! [...]

  • Soumendra Jena

    January 18, 2009 (7:06 pm)

    I have been trying to achieve this functionality since ages.
    Tried a lot of such plugins,but none of them worked..

    Dude,you are a life-saver. Just your plugin works for related Posts and no one else.
    How can i say thanks. TAHNKS THANKS THANKS :)

  • Microkid

    January 18, 2009 (10:45 pm)

    Stefan – Are you still experiencing this problem? I’ve tried to reproduce it but everything seems to work fine here.

    Soumendra – That’s really nice of you, thanks for letting me know :)

  • CircleReader

    January 19, 2009 (9:16 pm)

    Hi, MK –

    I’ve been using this happily for some time, but now the search function has simply stopped, preventing me from selecting new related posts. The blog is NOT in a subdirectory. I’m using Firefox 3.1b2, but the problem is persists in Google Chrome and Safari as well. The old relations were not affected.

    I even deleted the table (I have a backup) and started fresh with a new install (version 2.2, as before), but no luck. The search seems to be just plain dead.

    Any clue as to where to look for the bug? I’d really like to be able to use your plugin!

  • Microkid

    January 19, 2009 (9:50 pm)

    Hi CircleReader,

    The search uses a php file for the ajax functionality. What happens if you call this file directly? Any PHP errors?

    http://www.example.com/wp-content/plugins/microkids-related-posts/mrp-search.php?mrp_s=keyword

  • CircleReader

    January 20, 2009 (12:16 am)

    I get a “file not found” message when I plug that address into the browser address bar (if that is how I should “call the file directly” ?). Just an ordinary WordPress 404, no ugly PHP errors that I can see. Or is there somewhere else–some other error log–I should be looking to see them?

    Seems a little odd, since I can see the file is there in my FTP client…

  • Pingback by Pages/Visit - Page 2 - Website Babble Webmaster Forums

    [...] could also use this Awesome plug-in and make control of which related posts will be added. PLUGIN here. GOodluck!!! __________________ Graphikcat’s BLOG(Free Photoshop [...]

  • Pingback by Best related post plugin

    [...] Plug-in which I want to share with you – dear Wordpress Blogger! The  name of that plug-in is  Microkid’s Related posts and I already like it [...]

  • Pingback by Microkid’s Related Posts

    [...] the official plugin homepage for Microkids Related Posts for more info and [...]

  • stefan

    February 1, 2009 (12:59 pm)

    hi microkid, sorry for answering so late. i have still the same problem. i have page and i want to relate posts. but when i make some changes to the post the page as no relation to the post anymore. my source looks like this:

    $related_posts = MRP_get_related_posts( $post->ID );
    if(!empty($related_posts)) {
    foreach($related_posts as $key => $value) {
    $related_post = get_post($key);

    }
    }

    thx in advance for your support

  • Razakius

    February 1, 2009 (5:54 pm)

    I love the plugin, has been exactly what I’m looking for in a related posts plugin. However, there seem to be a number of annoyances with this version. Am running 2.2 of the plugin and 2.7 of wordpress. On the related plugin screen, the right part with the scroll bar seems to be cut off which makes it difficult to scroll down, though I have figured out that i can click on the window and do page up and down to move around.

    My second issue is a tad more serious. When doing a search it initially works fine showing the related topics. However, after a few seconds the list refreshes as if no search was done at all. This is more than a little annoying as me selecting a related post becomes a race and scrolling doesn’t work well at all.

    If these issues get fixed, I think this is one of my favorite plugins. I think it is a great idea and thanks for giving it to us.

  • Microkid

    February 1, 2009 (6:28 pm)

    Stefan, I’ve located the problem, I’ll look into it right away. Keep an eye out for an update the next couple of days.

    Razakius, I can’t seem to figure out what’s causing your problems. What brower are you using?

  • stefan

    February 1, 2009 (6:41 pm)

    microkid, thank you so much .. if there’s anything i can do in order to help you, don’t hasitate to contact me

  • Microkid

    February 1, 2009 (9:40 pm)

    Stefan, I’ve released version 2.3, it should fix your issue. Please check it out.

    Razakius, were you using Internet Explorer 6? Version 2.3 should fix your problem, although I urge you to upgrade to Internet Explorer 7, or even better Firefox.

  • stefan

    February 2, 2009 (8:57 am)

    now it works great. thank you so much

  • Sinema

    February 12, 2009 (3:41 pm)

    greet work thank you

  • Pingback by 10 Ways to Improve Navigation in WordPress | Free Sex = HIV

    [...] Related Posts: What better way to get people to stay on your blog than by recommending to them “related posts” that you’ve written?! All it takes is a plugin likeRelated Posts. [...]

  • Pingback by inforedesign » Blog Archive » Ручное добавление схожих записей в WordPress

    [...] ссылки на схожие. Недолгий поиск в Гугле привел вот к такому плагину, который делает именно это – позволяет автору [...]

  • stefan

    February 20, 2009 (6:14 am)

    just noticed a little bug (ok calling it a bug is exaggerated). the plugin cannot find related posts in the backend search, when the search term contains german chars like ä, ö, ü. is there a way in order to fix this?
    thx in advance

  • Pingback by Related Posts von Microkid - WP Plugin Archive

    [...] Wordpress Plugin Related Posts von Microkid können manuell über ein AJAX Suchtool Related Posts eingefügt werden. [...]

  • Eathan

    March 1, 2009 (12:45 am)

    i’m giving the plug in a try. It shows the title.. “related posts”.. but it shows none..

    I’m using wp 2.71 is there something that i need to edit?

  • Eathan

    March 1, 2009 (12:59 am)

    Got it fixed…

  • Berin Szoka

    March 6, 2009 (11:54 pm)

    This is just what I’ve been looking for! It would be nice, though, to be able to rearrange the order of related posts once you’ve selected them.

  • education blog

    March 8, 2009 (6:30 am)

    very nice plugin l was searching. thaNKS.

  • Spoon

    March 9, 2009 (10:21 am)

    First I wanted to mention that this is an excellent plugin. I do have a question regarding the list. I am usning the php line of code in one of my pages so the related paosts appear where I want them to. Everything is fine and I even have everything working with my css file. However, I can’t seem to remove these bullets from the list. I tried {list-style-type: none;} in the css file that I associated with the plugin, but only the color, font size, etc… obeys these instruction. Any suggestions? These bullets are nasty. ;(

  • Microkid

    March 9, 2009 (10:29 am)

    Spoon try adding the !important option, like this:


    #related-posts {
    list-style: none !important;
    }

  • Spoon

    March 9, 2009 (10:38 am)

    @Micro: Thanks for the speedt response. However, I tried that as well as other vaiations and still no dice. It’s been ripping my brain apart.

  • Microkid

    March 9, 2009 (10:45 am)

    It’s a CSS issue so it’s hard to say. Maybe the bullets aren’t regular bullets, but instead generated by background images. Try adding


    #related-posts li {
    background: none !important;
    }

  • Spoon

    March 9, 2009 (10:56 am)

    Nah, still no good. Just to set the scene…I used the php line of code you provided and placed it in my single.php page. Then what I did was add a css class to that line of php code in the single.php page and controlled the fonts, color, etc… from the theme css file. Everything works fine, but the only thing is I can’t use the “list-style-type: none” like I usually do. Perhaps I should not have used a css class infor this php line and instead controlled it for your css style?

  • Spoon

    March 9, 2009 (11:31 am)

    Update: You were close with your suggestion, however, this here actually worked…

    #related-posts li {
    list-style-type: none;
    }

    Now I just need to figure out how to correct the left margin.

  • Lewis

    March 13, 2009 (2:08 am)

    Thanks for this plugin, I’m just getting started with WordPress.

    I’m wondering what happens when an entry has a lot of related posts, do they all get listed or can there be a limited random selection?

  • Marie

    March 17, 2009 (11:53 pm)

    Thank you for nice plugin.
    I really love it !

  • mupet

    March 18, 2009 (8:06 pm)

    Amazing, nice plugin, very useful

  • Pingback by Karina Myers » Blog Archive » Plugins para Wordpress: Administracion, Seguridad, Estadisticas de tu Blog y Más!

    [...] listo los plugins esenciales para tu experiencia en Wordpress. Plugins como Related Posts que te permite escoger que enlaces quieres mostrar como recomendados al pie de tu articulo, entre [...]

  • Kim Flournoy

    March 29, 2009 (3:25 am)

    Hi there, is there any way to just relate pages to other pages? It seems like you can link pages to posts and vice versa, but not straight pages to pages. (We’re using Wordpress as a CMS, if you can’t tell.)

    -Kim

  • Microkid

    March 29, 2009 (12:54 pm)

    @Kim you should be able to. Note when searching for related items in the admin, pages are marked [Page] <pagename>

  • Kim Flournoy

    March 29, 2009 (6:08 pm)

    It wasn’t working before, but I disabled and re-enabled, and now it’s working fine, go figure. Thanks, this is great!

  • Berin Szoka

    March 29, 2009 (6:10 pm)

    Microkid: Is there any way we can change the plug-in so that it will list posts in reverse-chronological order (most recent first)? This would be a great option to include in the plug-in but knowing how to hack the plugin would be great, too.

  • Microkid

    March 29, 2009 (6:37 pm)

    @Berin Szoka
    This feature is indeed due for the next release. In the meantime you could try adding an ORDER BY clause to the query, which starts somewhere around line 211 in microkids-related-posts.php

  • Berin Szoka

    March 29, 2009 (6:47 pm)

    Awesome. Thanks!

  • theinternetmademedoit

    April 1, 2009 (3:12 pm)

    I had some issues getting this plugin to work initially. Turns out I had renamed the directory I placed in “Plugins” causing the AJAX search tool to not load properly. It LOOKED like everything was in order, but I wasn’t getting any search results. Once I realized my mistake, I reinstalled the plugin, kept the directory name intact (i.e. “microkids-related-posts”), and and it’s now working perfectly. Thanks!

  • marajasa

    April 7, 2009 (7:41 pm)

    Great plugin, Microkid, just what I was looking for! I want to use it in a widget-sidebar. Three questions: And: Is there a possibility to add your plugin twice? Is there any way to add a different linkttext than the now used title of the post I link to? Is there any possibility to add external links manually?
    - Mara

  • ray

    April 14, 2009 (1:33 am)

    Hi, I have installed your plugin but I get no related posts. This is all via the plugin settings with no PHP changes. When I go to http://www.lostaddress.org/wp-content/plugins/microkids-related-posts/mrp-search.php?mrp_s=keyword it does show related posts. I should add that I have made no changes to your plugin since installing it.

    Any ideas as to what I need to do?

  • Pingback by Messi alla Prova: Related Posts plugin per WordPress | Altamente Decorativo

    [...] Related posts, una volta installato, si presenta con una pagina di impostazioni: Pagina delle impostazioni di Related Posts (clicca per ingrandire) [...]

  • Patric

    April 25, 2009 (9:34 am)

    I have installed your plugin on WP 2.7.1 but I get no related posts too.

  • Microkid

    April 25, 2009 (9:45 am)

    Hi Ray, Patric,

    You guys know you have to manually add related posts on the post edit screen right? And is the “Display related posts automatically underneath the post content?” option set to Yes?

  • ray

    April 26, 2009 (6:17 pm)

    D’oh! I didn’t realise that. Thanks.

  • Simone

    May 4, 2009 (10:54 pm)

    Hi, the plugin displays the related posts only for the single post. How could i display the related posts in the front page also ?

  • olybop

    May 5, 2009 (9:50 am)

    is it possible to have this plugin on the main page of my blog ? not only on the single.php page ?
    regards

  • theinternetmademedoit

    May 7, 2009 (2:11 pm)

    I’m using this plugin on two of my blogs. Works perfect on one of them, but for some reason the relationships does not get saved on the other.

    For example: I open post A and use the Related Posts search and input fields to find and assign relationships to past B and C. I add them to the “Related” text fields and everything is fine and dandy.

    However, once I hit “Update Post” these relationships disappear. I’m sure I’m missing something (like I said, I got everything to work on my other blog).

    Any ideas of where I might have an issue? I’m using Wordpress 2.7 and Related Posts 2.3.

  • theinternetmademedoit

    May 7, 2009 (4:01 pm)

    Problem solved and the solution was dead simple: deactivate and reactivate. I was sure I had tried that already but there you go. Still not sure why I had the problem however.

  • Shirtyballs Funny T-Shirts

    May 21, 2009 (1:48 am)

    Thanks for the excellent plugin. You can see it in action over at my website, Shirtyballs.com

  • Ohbarcelona

    May 21, 2009 (9:15 am)

    @Microkid: Hi Microkid, i have some problems to make it work..in the post page, when i type something, the box stays blank..i know Saijo George had the same problem some time ago and fixed it anyway. I try to install the version number 1 but the problem is the same, no related post appear in the post-page in the admin panel. I’m running wordpress 2.7 with arthemia premium theme.
    Thank you in advance for your help.

  • Ohbarcelona

    May 21, 2009 (9:24 am)

    Oh, and if i click on “title” or “content” or “both” and i press Enter, it goes directly to the list of all my post in the admin panel.. Any idea??I’d really like to make it work..

  • Microkid

    May 25, 2009 (9:15 am)

    @Simone – You can add

    < ?php MRP_show_related_posts(); ?>

    somewhere in the loop in your theme’s index file.

    @theinternetmademedoit – Sounds like perhaps there was something wrong with the database tables this plugin uses. Glad you got it fixed.

    @Ohbarcelona – Sounds like a javascript problem. Is the javascript file available and do you have javascript switched on in your webbrowser?

  • Ohbarcelona

    May 25, 2009 (10:57 am)

    @microkid – Thank you very much for your help,I found the error, it seems had a URL redirection problem..Now it’s working fine and it is really great plugin…maybe I will change it a little bit to display also icon of the images of the post, instead of just the links. Anyway, great job !

  • Microkid

    May 25, 2009 (10:59 am)

    @Ohbarcelona – Cool! Please, if you could share your changes to the plugin so I can maybe put them in as new features, that would be great!

  • Ohbarcelona

    May 25, 2009 (11:01 am)

    All right, I’ll let you know for sure if I do something!

  • Tim

    June 2, 2009 (11:23 am)

    Hi,

    I’m using this plugin to show related posts at the bottom of the current post.
    Now I want to show more related posts, from two specific categories and I want them to be shown in the sidebar. Is it possible to copy the plugin ore something like that?

  • Razakius

    June 12, 2009 (4:59 pm)

    “My second issue is a tad more serious. When doing a search it initially works fine showing the related topics. However, after a few seconds the list refreshes as if no search was done at all. This is more than a little annoying as me selecting a related post becomes a race and scrolling doesn’t work well at all.”

    Sorry I didn’t get back to you earlier about this. I figured out that the first issue was from my resolution on my laptop (which I was using) was just too small for that selection box to see the scroll bar.

    The second problem I was having with the refreshing of topics still seems to occur, though not nearly as often as it used to. I also noticed that if I hit enter a second time it seems to keep for some reason. So I can work around the refreshing just is a tad annoying but not huge anymore.

    I am using Firefox 3.0.11 btw.

  • Saqib Islam

    June 17, 2009 (9:21 am)

    That is just awesome

  • Mobile Phones Repairing Picture Help

    June 17, 2009 (9:23 am)

    Can you tell me how to edit related post mannually

  • Laurens

    June 21, 2009 (9:08 am)

    Fantastische plug-in – bedankt hiervoor!

    The plug-in works great on my site but I do have one enhancement request: for many pages on my site I’d like to link to pages on other sites as well. It would be nice if you could add URL’s (and an associated title) as related posts.

  • Tara

    June 28, 2009 (1:07 pm)

    Great great plugin!!!!
    Exactly what I need!
    So easy to install, to use, to customize…

    Many Thanks….

(will not be visible)