Plugin Directory

Yet Another Related Posts Plugin

Display a list of related entries on your site and feeds based on a unique algorithm. Templating allows customization of the display.

Download Version 3.4.3

3.4.3

  • Bugfix: keywords were not getting cleared on post update, meaning new posts (which start blank) were not getting useful title + body keyword matches. This often resulted in "no related posts" for new posts.
  • Postmeta cache: make sure to clear keyword cache on flush too
  • Make welcome pointer more robust
  • More custom post type support infrastructure
  • Updated Turkish localization by Barış Ünver.

3.4.2

  • Bugfix: 3.4 and 3.4.1 assumed existence of wp_posts table.
  • Fix typo in yarpp-template-random.php example template file
  • Improve compatibility with DB Cache Reloaded plugin which doesn't properly implement set_charset method.

3.4.1

  • Bugfix: restore global $post access to custom templates
  • Bugfix for missing join_filter on bypass cache
  • Bugfixes to query changes:
    • Bugfix: Shared taxonomy terms were not counted correctly
    • Bugfix: exclusion was not working
  • Bugfix: "disallow" terms were not being displayed for custom taxonomies.
  • Add defaults for the post_type arg
  • Strengthen default post ID values for related_* functions
  • Added nonce to cache flushing. If you would like to manually flush the cache now, you must use the YARPP Experiments plugin.
  • Updated sv_SE, ko_KR, fr_FR localizations

3.4

  • Major optimizations to the main related posts query, in particular with regard to taxonomy lookups
    • Performance improvements on pages with "no related posts"
  • Now can consider custom taxonomies (of posts and pages), in addition to tags and cateogories! Custom taxonomies can also be used to exclude certain content from The Pool.
  • Add welcome message, inviting users to check out the settings page
  • Bug fix: Custom templates could not be used in widget display
  • Significant code cleanup
    • Move many internal functions into a global object $yarpp of class YARPP; references to the global $yarpp_cache should now be to global $yarpp->cache
    • Created the "bypass" cache engine which is used when custom arguments are specified.
      • Switch to bypass cache for demos
    • Now only clears cache on post update, and only computes results for actual posts, not revisions (thanks to Andrei Mikhaylov)
    • Removed the many different options entries, replacing them with a single yarpp option (except yarpp_version)
    • Fixed issues with display options field data escaping and slashing once and for all
    • Streamlined keyword storage in YARPP_Cache_Postmeta
    • Create YARPP_Cache abstract class
    • Updated minor bug for computing how many results should be cached
    • Adding some filters: yarpp_settings_save, yarpp_blacklist, yarpp_blackmethods, yarpp_keywords_overused_words, yarpp_title_keywords, yarpp_body_keywords, yarpp_extract_keywords
    • New systematic use of YARPP_ constants to communicate cache status
    • Use get_terms to load terms
  • Get lazy and embrace asynchronicity:
    • Implement lazy/infinite scrolling for the "disallow tags" and "disallow categories," so the YARPP settings screen doesn't lock up the browser for sites which have a crazy number or tags or categories
    • Don't compute related posts for the metabox on the edit screen; display them via ajax instead
    • Only clear cache on post save, not recompute
  • Added yarpp_get_related() function can be used similar to get_posts()
  • Support for YARPP Experiments.
  • Fix formatting of the Related Posts meta box
  • Localizations

3.3.3

  • Bug fix: a fix for keyword computation for pages; should improve results on pages. May require flushing of cache: see FAQ for instructions.
  • Init YARPP on the init action, for compatibility with WPML
  • Updated Polish, Italian, and Japanese localizations; added Dutch stopwords by Paul Kessels
  • Code cleanup:
    • Minor speedup to unnecessarily slow i18n code
    • Fixed fatal error in postmeta keyword caching code
    • Fewer globs
    • Bug fix: ignore empty blog_charsets

3.3.2

  • Bugfix: removed an unlocalized string
  • Bugfix for users of WordPress 3.0.x.

3.3.1

3.3

  • Pretty major rewrite to the options page for extensibility and screen options support
    • By default, the options screen now only show the display options. "The Pool" and "Relatedness" options can be shown in the screen options tab in the top right corner of the screen.
    • Removed the "reset options" button, because it wasn't actually doing anything.
  • Rebuilt the new version notice to actually have a link which triggers the WordPress plugin updater, at least for new full versions
  • Changed default "relatedness" settings to not consider categories, to improve performance
  • Added BlogGlue partnership module
  • Localizations
    • Quick fix to Czech word list file name
    • Updated Italian localization (it_IT)
    • Added Hungarian (hu_HU) by daSSad
    • Added Kazakh (kk_KZ) by DachaDecor
    • Added Irish (gb_IR) by Ray Gren

3.2.2

  • Now ignores soft hyphens in keyword construction
  • Minor fix for "cross-relate posts and pages" option and more accurate related_*() results across post types
  • Localization updates:
    • Updated de_DE German localization files
    • Fixed an encoding issue in the pt_PT Portuguese localization files
    • Added es_ES Spanish localization by Rene of WordPress Webshop
    • Added ge_KA Georgian by Kasia Ciszewski of Find My Hosting
    • Added Czech (cs_CZ) overused words list by berniecz

3.2.1

3.2

  • Better caching performance:
    • Previously, the cache would never actually build up properly. This is now fixed. Thanks to Artefact for pointing this out.
    • The appropriate caches are cleared after posts are deleted (#1245).
    • Caching is no longer performed while batch-importing posts.
  • A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the postmeta table instead. To use postmeta caching, add define('YARPP_CACHE_TYPE', 'postmeta'); to your wp-config.php file.
  • Localizations:
  • Added WordPress HelpCenter widget for quick access to professional support.
  • Some code cleanup (bug #1246)
  • No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.

3.1.9

  • Added Standard Arabic localization (ar) by led
  • The Related Posts Widget now can also use custom templates. (#1143)
  • Fixed a conflict with the Magazine Premium theme
  • Fixes a WordPress warning of "unexpected output" on plugin installation.
  • Fixes a PHP warning message regarding array_key.
  • Fixed a strict WordPress warning about capabilities.
  • Bugfix: widget now obeys cross-relate posts and pages option
  • For WPMU + Multisite users, reverted 3.1.8's get_site_options to get_options, so that individual site options can be maintained.

3.1.8

  • Added Turkish localization (tr_TR)
  • Bugfix: related pages and "cross-relate posts and pages" functionality is now working again.
  • Some bare minimum changes for Multisite (WPMU) support.
  • Reimplemented the old "show only previous posts" option. May improve performance for sites with frequent new posts, as there is then no longer a need to recompute the previous posts' related posts set, as it cannot include the new post anyway.
  • Minor bugfix to threshold limiting.
  • Minor fix which may help reduce strip_tags() errors.
  • Updated FAQ.
  • Code cleanup.

3.1.7

  • Added Egyptian Arabic localization (ar_EG)
  • Changed default option for automatic display of related posts in feeds to OFF. May improve performance for new users who use the default settings.
  • "Use template" options are now disabled when templates are not found. Other minor tweaks to options screen.
  • 3.1.7 has been lightly tested with WP 3.0. Multisite (WPMU) compatibility has not been tested yet.

3.1.6

  • Added Latvian localization (lv_LV)
  • Added a template which displays post thumbnails; requires WordPress 2.9 and a theme which has post thumbnail support

3.1.5

  • Quick bugfix to new widget template (removed extra quote).

3.1.4

3.1.3

3.1.2

3.1.1

3.1

  • New snazzy options screen
  • Smarter, less confusing caching
    • No more manual caching option—"on the fly" caching is always on now.
  • Bugfix: fixed related pages functionality
  • Bugfix: an issue with options saving
  • Bugfix: a slash escaping bug
  • Minor fixes:
    • Fixed yarpp_settings_link dependency when disabled.
    • Breaks (<br />) are now stripped out of titles.
    • Added plugin incompatibility info for Pagebar.
    • Faster post saving.

3.0.13

  • Quick immediate bugfix to 3.0.12

3.0.12

  • Yet another DISQUS note... sigh.
  • Changed default markup to be make the output validate better.
  • Reformatted the version log in readme.txt
  • Added a Settings link to the plugins page
  • Some initial WPML support:
    • Tweaked a SQL query so that it was WPML compatible
    • Added YARPP template to be used with WPML
  • Added Hebrew localization

3.0.11

  • Quick fix for compare_version code.

3.0.10

  • Added Ukrainian localization
  • Incorporated a quick update for the widget display thanks to doodlebee.
  • Now properly uses compare_version in lieu of old hacky versioning.

3.0.9

  • Added Uzbek, Greek, Cypriot Greek, and Vietnamese localizations
  • Further bugfixes for the pagination issue

3.0.8

3.0.7

  • Bugfix: additional bugfix for widgets.
  • Reinstating excerpt length by number of words (was switched to letters in 3.0.6 without accompanying documentation)
  • Localizations:
    • Updated Italian
    • Added Belarussian by Fat Cow
  • Confirmed compatibility with 2.8.1

3.0.6

3.0.5

  • Added link to manual SQL setup information by request
  • Added Portuguese localization
  • Updated info on "on the fly" caching - it is strongly recommended for larger blogs.
  • Updated "incomplete cache" warning message so it is only displayed when the "on the fly" option is off.

3.0.4

  • A fix to the version checking in the options page - now uses Snoopy
  • Adding Dutch localization

3.0.3

  • Reinstated the 3.0.1 bugfix for includes
  • Bugfix: Fixed encoding issue in keyword caching algorithm
  • Bugfix: One SQL query assumed wp_ prefix on tables
  • Added Polish localization
  • Added note on DISQUS in readme
  • Making some extra strings localizable
  • Bugfix: a problem with the Italian localization

3.0.2

3.0.1

  • Bugfix: In some situations before YARPP options were updated, an include PHP error was displayed.

3.0

  • Major new release!
  • Caching for better SQL performance
  • A new templating feature for custom related posts displays
  • Cleaned up options page
  • New and updated localizations

2.1.6

  • Versioning bugfix - same as 2.1.5

2.1.5

2.1.4

2.1.3

2.1.2

  • Bugfix: MyISAM override handling bug

2.1.1

  • Bugfix: keywords with forward slashes () could make the main SQL query ill-formed.
  • Bugfix: Added an override option for the false MyISAM warnings.
  • Preparing for localization! (See note at the bottom of the FAQ.)
  • Adding a debug mode--just try adding &yarpp_debug=1 to your URL's and look at the HTML source.

2.1 - The RSS edition!

  • RSS feed support!: the option to automagically show related posts in RSS feeds and to customize their display, by popular request.
  • A link to the Yet Another Related Posts Plugin RSS feed.
  • Further optimization of the main SQL query in cases where not all of the match criteria (title, body, tags, categories) are chosen.
  • A new format for pushing arguments to the related_posts() functions.
  • Bugfix: compatibility with the dzoneZ-Et and reddZ-Et plugins.
  • Bugfix: related_*_exist() functions produced invalid queries
  • A warning for wp_posts with non-MyISAM engines and semi-compatibility with non-MyISAM setups.
  • Bugfix: a better notice for users of WordPress < 2.5 regarding the "compare tags" and "compare categories" features.

2.0.6

  • A quick emergency bugfix (In one instance, assumed existence of wp_posts)

2.0.5

2.0.4 - what 2.0 should have been

  • Bugfix: new fulltext query for MySQL 5 compatibility
  • Bugfix: updated apply_filters to work with WP 2.6

2.0.3

2.0.2

  • Versioning bugfix (rerelease of 2.0.1)

2.0.1

2.0

  • New algorithm which considers tags and categories, by frequent request
  • Order by score, date, or title, by request
  • Excluding certain tags or categories, by request
  • Sample output displayed in the options screen
  • Bugfix: an excerpt length bug
  • Bugfix: now compatible with the following plugins:
    • diggZEt
    • WP-Syntax
    • Viper's Video Quicktags
    • WP-CodeBox
    • WP shortcodes

1.5.1

  • Bugfix: standardized directory references to yet-another-related-posts-plugin

1.5

  • Simple installation: automatic display of a basic related posts install
  • code and variable cleanup
  • FAQ in the documentation

1.1

  • Related pages support!
  • Also, uses apply_filters to apply whatever content text transformation you use (Wikipedia link, Markdown, etc.) before computing similarity.

1.0.1

  • Bugfix: 1.0 assumed you had Markdown installed

1.0

  • Initial upload

Requires: 3.1 or higher
Compatible up to: 3.3.1
Last Updated: 2011-12-19 Downloads: 1,450,327

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(394 ratings)

Compatibility

+
=
Works!

11 people say it works.
1 person says it's broken.

Log in to vote.

100,1,1 50,4,2 100,3,3 100,1,1
50,2,1 86,14,12 100,3,3 100,1,1 100,1,1 100,1,1
88,16,14 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2
100,2,2 100,1,1 33,3,1 92,12,11 100,1,1 100,5,5 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
70,23,16 100,1,1 100,1,1
100,3,3 100,4,4 100,8,8 70,10,7 90,21,19 67,6,4
67,3,2 53,19,10 52,21,11 100,1,1
80,45,36 100,1,1 0,1,0 50,2,1 0,1,0
100,1,1
83,6,5
86,7,6 100,1,1
100,1,1 67,3,2 0,1,0
80,5,4 73,11,8 70,10,7 60,10,6 100,1,1 100,1,1 100,2,2
100,12,12 100,1,1
78,9,7 100,1,1 100,1,1
100,6,6 100,1,1 70,10,7
67,3,2
86,14,12 50,2,1 100,1,1
86,7,6 42,24,10 68,22,15 25,4,1 33,3,1 100,4,4
100,2,2 25,8,2 22,9,2 100,10,10 71,14,10
92,12,11