Dynamic Related Posts

Description

Dynamic Related Posts Plugin (drpp) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site.

Key features include:

1. An advanced and versatile algorithm: Using a customizable algorithm considering post titles, content, tags, and categories, drpp calculates a “match score” for each pair of posts on your blog. You choose the threshold limit for relevance and you get more related posts if there are more related posts and less if there are less.

2. Templating: **New in 1.0!**

3. **Caching**: **Improved in 1.0!** drpp organically caches the related posts data as your site is visited, greatly improving performance.

4. **Related posts in RSS feeds**: Display related posts in your RSS and Atom feeds with custom display options.

5. **Disallowing certain tags or categories**: You can choose certain tags or categories as disallowed, meaning any page or post with such tags or categories will not be served up by the plugin.

6. **Related posts and pages**: Puts you in control of pulling up related posts, pages, or both.

This plugin requires that your database run on MySQL 4.1 or greater.

Installation

= Auto display on your website =

1. Copy the folder `dynamic-related-posts` into the directory `wp-content/plugins/` and (optionally) the sample templates inside `drpp-templates` folder into your active theme.

2. Activate the plugin.

= Auto display in your feeds =

Make sure the “display related posts in feeds” option is turned on if you would like to show related posts in your RSS and Atom feeds. The “display related posts in feeds” option can be used regardless of whether you auto display them on your website (and vice versa).

= Widget =

Related posts can also be displayed as a widget. Go to the Design > Widgets options page and add the Related Posts widget. The widget will only be displayed on single entry (permalink) pages. The widget can be used even if the “auto display” option is turned off.

Download

Frequently Asked Questions

= How can I move the related posts display? =

If you do not want to show the Related Posts display in its default position (right below the post content), first go to drpp options and turn off the “automatically display” option in the “website” section. If you would like to instead display it in your sidebar and you have a widget-aware theme, drpp provides a Related Posts widget which you can add under “Appearance” > “Widgets”.

If you would like to add the Related Posts display elsewhere, follow these directions: (*Knowledge of PHP and familiarity with editing your WordPress theme files is required.*)

Edit your relevant theme file (most likely something like `single.php`) and add the PHP code `related_posts();` within [The Loop](http://codex.wordpress.org/The_Loop) where you want to display the related posts.

This method can also be used to display drpp on pages other than single-post displays, such as on archive pages. There is a little more information on the [manual installation page](http://111waystomakemoney.com/dyanmic-related-posts/).

= Does drpp slow down my blog/server? =

A little bit, yes. However, drpp 1.0 introduced a new caching mechanism which greatly reduces the hit of the computationally intensive relatedness computation. In addition, *I highly recommend all drpp users use a page-caching plugin, such as [WP-SuperCache](http://111waystomakemoney.com/Dynamic-super-cache/).*

If you find that the drpp database calls are still too database-intensive, try the following:

* turning off “cross relate posts and pages”;

* turning on “show only previous posts”;

* not considering tags and/or categories in the Relatedness formula;

* not excluding any tags and/or categories in The Pool.

All of these can improve database performance.

= Every page just says “no related posts”! What’s up with that? =

Most likely you have “no related posts” right now as the default “match threshold” is too high. Here’s what I recommend to find an appropriate match threshold: first, lower your match threshold in the drpp prefs to something very low, like 1. Most likely the really low threshold will pull up many posts that aren’t actually related (false positives), so look at some of your posts’ related posts and their match scores. This will help you find an appropriate threshold. You want it lower than what you have now, but high enough so it doesn’t have many false positives.

= How do I turn off the match score next to the related posts? =

The match score display is only for administrators… you can log out of `wp-admin` and check out the post again and you will see that the score is gone.

= I use DISQUS for comments. I can’t access the drpp options page! =

The DISQUS plugin loads some JavaScript voodoo which is interacting in weird ways with the AJAX in drpp’s options page. You can fix this by going to the DISQUS plugin advanced settings and turning on the “Check this if you have a problem with comment counts not showing on permalinks” option.

= I use DISQUS for comments. My RSS feed is now invalid and cannot be parsed by some clients! =

The DISQUS plugin loads some JavaScript voodoo when related posts are displayed, even in the RSS feed. You can fix this by going to the DISQUS plugin advanced settings and turning on the “Check this if you have a problem with comment counts not showing on permalinks” option.

= I get a PHP error saying “Cannot redeclare `related_posts()`” =

You most likely have another related posts plugin activated at the same time. Please disactivate those other plugins first before using drpp.

= I turned off one of the relatedness criteria (titles, bodies, tags, or categories) and now every page says “no related posts”! =

This has to do with the way the “match score” is computed. Every entry’s match score is the weighted sum of its title-score, body-score, tag-score, and category-score. If you turn off one of the relatedness criteria, you will no doubt have to lower your match threshold to get the same number of related entries to show up. Alternatively, you can consider one of the other criteria “with extra weight”.

It is recommended that you tweak your match threshold whenever you make changes to the “makeup” of your match score (i.e., the settings for the titles, bodies, tags, and categories items).

= Are there any plugins that are incompatible with drpp? =

Aside from the DISQUS plugin (see above), currently the only known incompatibility is [with the SEO_Pager plugin](http://wordpress.org/support/topic/267966) and the [Pagebar 2](http://www.elektroelch.de/hacks/wp/pagebar/) plugin. Users of SEO Pager are urged to turn off the automatic display option in SEO Pager and instead add the code manually. There are reports that the [WP Contact Form III plugin and Contact Form Plugin](http://wordpress.org/support/topic/392605) may also be incompatible with drpp. Other related posts plugins, obviously, may also be incompatible.

= Does drpp work with full-width characters or languages that don’t use spaces between words? =

drpp works fine with full-width (double-byte) characters, assuming your WordPress database is set up with Unicode support. 99% of the time, if you’re able to write blog posts with full-width characters and they’re displayed correctly, drpp will work on your blog.

However, drpp does have difficulty with languages that don’t place spaces between words (Chinese, Japanese, etc.). For these languages, the “consider body” and “consider titles” options in the “Relatedness options” may not be very helpful. Using only tags and categories may work better for these languages.

= Things are weird after I upgraded. =

I highly recommend you disactivate drpp, replace it with the new one, and then reactivate it.

Download

Like the plugin?

If you are impressed with the plugin and would like to give back, here are some ways you can support this plugin:

* Rate this plugin 5 stars in WordPress Plugin Directory.

* Buy me a cup of coffee or two.

* Spread the word about my plugin by writing about it on your blog, tweeting, digging, stumbling, etc.

Donations (Thank you!)

All donors giving $75 or more will automatically get a do-follow link on this list (this page is PR5!) for 180 days! It’s my way of saying, “Thank you for your generous support”. (need more reasons to donate?)

Donors

Bob form blogform-4/24/2010

Chetan form Vitbuzz -5/29/2010

Related Posts Plugin for WordPress, Blogger...

Incoming search terms:

49 Responses to “Dynamic Related Posts”

  1. cottag says:

    Very nice plugin! thanks

  2. Hello amazing page I hope to see more about this soon…

  3. Ji Needels says:

    this is one of the best posts i have read in a while

  4. evony throng says:

    Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.

  5. evony mobile says:

    Such a well written post.. Thnkx for sharing this post!

  6. Thankyou very much, I’ve found this article very useful!

  7. circus acts says:

    Its good to see you make postings on this topic, I have to book mark this website. Keep up the good work.

  8. Lilia Ramiez says:

    admirable blog. I’ve found here exactly what I was looking for.

  9. Thankyou for writing such an insightful article. I have long been trying to explain the same thing to my pals but I think it’s easier if I just email them the link to this article instead.

  10. John says:

    hey man, nice blog…really like it and added it to bookmarks. keep up with good work

  11. Great information! I’ve been looking for something like this for a while now. Thanks!

  12. Hey, very nice website. I actually came across this on Bing, and I am happy I did. I will definately be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just absorbing as much info as I can at the moment. Thank You

  13. Ashley says:

    hey, nice blog…really like it and added to bookmarks. keep up with good work

  14. Thanks, I bookmarked your website and will come back later.

  15. Ben says:

    hey there, this might be little offtopic, but i am hosting my site on hostgator and they will suspend my hosting in 4days, so i would like to ask you which hosting do you use or recommend?

  16. this is a great blog,I found you on yahoo and google.what do you think about this software that I use to generate high PR backling and does RSS feeding all with a click of a button? its called webtrafficgenius!

  17. I am not sure if this is the right place, but I figured you should be aware that I saw this post earlier on a different site. I think it might have been a wordpress blog with the same title. The content was almost the same, but I noticed that this one here has an older date. I guess they grabbed it from you, but maybe not who knows. Thought you might want to know.

  18. Alivia silva says:

    Interesting, thanks so much

  19. Carry says:

    This great post assited me very much! Saved the blog, extremely interesting topics everywhere that I read here! I like the information, thank you.

  20. Jamorama i think you have a great site here… today was my first time coming here.. i just happened to find it doing a google search. anyway, great post.. i’ll be bookmarking this page for sure.

  21. Abraham says:

    Hey, I searched for this blog on Bing and just wanted to say thanks for the excellent read. I would have to agree with it, thank you again!

  22. good morning there,I found your site on google and yahoo,I wanted to comment about this software that Im using to get backlinks and everybody is talking about it.Im gonna come back soon to let you know a little more about it.great site by the way! have a great day!

  23. Gordon Butte says:

    Good way of thinking, I’ll take this into consideration when studying subsequent time. Appreciation for discussing this issue however again.

  24. Meagan says:

    Excellent blog, saved the website with interest to see more!

  25. Lyme Disease says:

    Thanks a bunch for this one significant post; this is the type of consideration that preserves me though out the day.I’ve long been searching close to for ones webpage following I observed about them from a friend and was pleased when I was able to uncover it right after looking out for some time. Being a serious blogger, I’m delighted to see other people taking motivation and making contributions for the community. I just wanted to opinion to exhibit my admiration for one’s post as it is especially motivating, and lots of authors will not get the credit they ought to have. I’m sure I’ll be again and can deliver a few of my associates.

  26. Exclusive!!! Bookmarked this page that has this unique instruction. Will come back to see if there are any updates. You, the author, are a master. Thanks

  27. If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

  28. Lizzy says:

    Amazing write up, saved the blog with hopes to see more information!

  29. Decidedly, this is my original tab minus for the sake of your webpage! We¡¯re a group of volunteers and commencing a kind fresh ambition in a community in the alike niche. Your weblog offered us practical matter to slave away on. You obtain done a miraculous occupation!

  30. I Too Like the Blog here. Keep up all the work. I too love to blog. This is great everyone sharing opinions :)

  31. Great content material and wicked blog site, appreciate it once more.|Superb learn. loved it, researching ahead to seeing way more products.

  32. Micah Barela says:

    Very entertainment supposed about the matter at hand. Cheers for the input.

  33. Enjoying these have given me a broader outlook on the topic. I hope there is more to come. Many thanks dear author.

  34. John says:

    hey, nice blog…really like it and added to bookmarks. keep up with good work

  35. I was on vacation last month to the uk and it was not a bad experience at all… but it was nothing like france!

  36. Buy Propecia says:

    I Too Like the Blog here. Keep up all the work. I too love to blog. This is great everyone sharing opinions :)

  37. Lyme Disease says:

    Appreciate it for this one extremely summary; this is the type of subject that may keep me though out the day.We’ve always heard been recently looking close to for your internet site right after I noticed about them from a friend and was thrilled when I was capable of locate it just after browsing for some time. Being a avid blogger, I’m thrilled to see other folks taking gumption and donating to the neighborhood. I just desired to opinion to exhibit my understanding for a post as it’s rather pushing, and lots of internet writers will not get the credit score they deserve. I’m positive I’ll be again and will send a few of my close friends.

  38. I am an student and i am willing to write some part of this post to my university blog,can i do so.Also just require your permit just mail me if you are happy about it. i believe this post will be helpful for the info i am wanting to publish.

  39. Great information. Thanks a lot!

  40. Was Just was doing some research and impressed by the info you have. Just exactly what I wanted also. Thanks

  41. aion bot says:

    Wow what theme is this? i really love it :D

  42. Sorry, but what theme are you using? Is it a paid-for theme? If you dont mind, could you post it here? It totally rocks:) I’ll be be back! Thanks !!!

  43. Good information in this post about the plugin, thanks.

  44. Thanks for the dynamic related post plugins, They make life easier.

  45. You made certain good points there. I did a search on the topic and found the majority of people will consent with your blog.

  46. Aweseme information. I used to spend alot of my time wakeboarding and playing sports. It was probably the most memorable period of my childhood and your post really reminded me of that time. Thank You

  47. every under day sound. number first find take after hard far left night.


Leave a Reply