This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Better Related Posts

Description

Custom post types are one the best features in WordPress. Since WordPress 3.0 they are much easier to use. Almost every theme I build for a client features at least one custom post type and usually a custom taxonomy as well.

But there is a problem. There is no plugin that lists related posts that are from a custom post type. After looking through the sourcecode of a few plugins I decided to implement my own related content plugin.

Plugin Features

  • Depends on PHP5 and MySQL5
  • Option to add related posts to the RSS feed
  • Use fulltext indexes for good performance
  • Does caching through post meta or transients
  • Incremental scoring for sites with many posts
  • Find related posts, pages and custom post types
  • Score relationships by various MySQL relevance scores or term relationships
  • Use tags, categories or custom taxonomies
  • Internationalized, OO, hopefully well documented and readable

Other plugins I wrote

FAQ

None yet.

Changelog

0.4.3.4 ( 2012-12-13 )

  • 3.5 compatibility

0.4.3.3 ( 2010-11-18 )

  • Add check for MySQL version
  • Fix serious bug, score couldn’t be calculated. Thanks dave.
  • Fix logging bug.
  • Bugfix, logging, thanks to Alexander

0.4.3 ( 2010-11-12 )

  • The output format of the_related_for_string() changed
  • Renamed get_the_scores_for_string() to get_score_for_string()
  • Bugfix, escape terms before db queries, thanks to Alexander
  • Bugfix, really create fulltext indexes on activation

0.4.2.5 ( 2010-11-09 )

  • Really fix the bug for posts related to a string

0.4.2.3 ( 2010-11-09 )

  • Bugfix for string search
  • Add mysqld docs

0.4.2.1 ( 2010-11-06 )

  • Add template tags to search for posts related to a string.
  • Fix config data loss bugs on plugin activation with booleans and strings.
  • Allow floats as method weights in the admin interface and sanitize booleans.

0.4.1.2 ( 2010-11-05 )

  • Preserve old options on activation
  • Turn score info off by default
  • Fix network-wide activation

0.4 ( 2010-11-01 )

  • A few small fixes, thanks to mrmist
  • First public release

0.3.8 ( 2010-10-30 )

  • Sanitize options
  • Misc bugfixes, improvements and cleanups

0.3.7 ( 2010-10-29 )

  • Update documentation mostly

0.3.6 ( 2010-10-27 )

  • strip_tags() doesn’t make sense unless we keep a filtered copy of the content in the db
  • Various bugfixes, improvements and code cleanup

0.3.5 ( 2010-10-26 )

  • Add score aging
  • Add incremental scoring
  • Various improvements and bug fixes

0.3.4 ( 2010-10-23 )

  • Add storing score as post meta, thanks to Ozh for the suggestion

0.3.3 ( 2010-10-20 )

  • Fix bug with testing for fulltext indexes, and misc other updates

0.3.2 ( 2010-10-18 )

  • Create and test for fulltext indexes
  • Add analyze template tag

0.3 ( 2010-10-10 )

  • Different weight for each scoring option
  • Add query limit

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code