Yet Another Related Posts Plugin (YARPP) - Version 4.5

Version Description

After a bit of a hiatus, we're back! The plugin had been delisted due to a minor email address issue. This has been resolved with this release and the plugin has been reinstated. We consider this to be a big step, and yes, after a 6-month hiatus of not being in the plugin directory.

The plugin is also no longer maintained by Adknowledge. A group of us with deep expertise in Content Recommendations and 10+ years experience with maintaining very popular plugins have very recently taken Yarpp over from Adknowlege. More on this will be shared very soon.

After a break of many years, the plugin is 100% supported now that the baton has been passed on. A larger update (hand-in-hand with proper communication) is being carefully worked on with a focus on a host of bug fixes and compatibility updates which will be available once it is properly tested, ready and updates properly communicated. Stay tuned.

Download this release

Release Info

Developer jeffparker
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 4.5
Comparing to
See all releases

Code changes from version 4.2.6 to 4.5

Files changed (2) hide show
  1. readme.txt +39 -26
  2. yarpp.php +3 -3
readme.txt CHANGED
@@ -2,31 +2,18 @@
2
  Contributors: jeffparker, shareaholic
3
  Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
4
  Requires at least: 3.3
5
- Tested up to: 5.1
6
  Requires PHP: 5.2
7
  License: GPLv2 or later
8
- Stable tag: 4.2.6
 
9
 
10
  Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
11
 
12
  == Description ==
13
 
14
  Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post types related to the current entry, introducing your readers to other relevant content on your site.
15
- [(See current offers and promotions for YARPP Pro users.)](http://www.yarpp.com/offers)
16
 
17
- **NEW!** Now you can mix and match **YARPP Basic** and **YARPP Pro** to get the best of both features, beneath articles or in the sidebar! Use the combination that works best for you.
18
-
19
- **Enable YARPP Pro for Powerful Enhancements**
20
- -----------------------------------------
21
- * **Customize thumbnail layout** through the user interface.
22
- * **Pull related content from multiple sites**.
23
- * **Make money by displaying sponsored content**, at the bottom of your posts, in the sidebar, or both.
24
- * **Easily promote your product or service** on thousands of blogs and websites.
25
- * **Get detailed reporting** about your related content list.
26
-
27
- [Learn more about the new YARPP Pro enhancements!](http://www.yarpp.com)
28
-
29
- **Keep YARPP Basic for Standard Features**
30
  -------------------------------------------
31
  * **Thumbnail or list view** of related content.
32
  * **Related posts, pages, and custom post types.**
@@ -50,9 +37,9 @@ Make sure the "display related posts in feeds" option is turned on if you would
50
 
51
  = Widget =
52
 
53
- Related posts can also be displayed as a widget. Go to the Appearance > Widgets options page and add the "Related Posts (YARPP)" widget. Choose to display content from YARPP Basic or YARPP Pro. The widget will only be displayed on single entry (permalink) pages.
54
 
55
- The YARPP Basic widget can be used even if the "auto display" option is turned off. The YARPP Pro sidebar widget can be used even if you choose YARPP Basic to display related content at the bottom of your posts.
56
 
57
  = Custom display through templates =
58
 
@@ -62,9 +49,9 @@ YARPP allows the advanced user with knowledge of PHP to customize the display of
62
 
63
  **Common Questions about YARPP Basic**
64
 
65
- Below are Frequently Asked Questions about YARPP basic. For questions about the new YARPP Pro enhancements, please visit the [YARPP Pro FAQ](http://www.yarpp.com/faq).
66
 
67
- If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). We'd also appreciate if you would help us improve YARPP by [answering a few survey questions](http://www.surveymonkey.com/s/Z278L88). Thanks for your feedback!
68
 
69
  = Many pages list "no related posts." =
70
 
@@ -72,7 +59,7 @@ Most likely you have "no related posts" right now because the default "match thr
72
 
73
  = How can I move the related posts display? =
74
 
75
- If you do not want to show the Related Posts display in its default position (right below the post content), first go to YARPP options and turn off the "automatically display" options in the "website" section. If you would like to instead display it in your sidebar and you have a widget-aware theme, YARPP provides a Related Posts widget which you can add under "Appearance" > "Widgets." (You can choose to display sidebar content from either YARPP Basic or YARPP Pro.)
76
 
77
  If you would like to add the Related Posts display elsewhere, 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. (Make sure you don't add `echo related_posts();` or you may end up with duplicates in your related posts section.)
78
 
@@ -121,8 +108,6 @@ The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be sp
121
 
122
  Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose.
123
 
124
- Please note that, by enabling the YARPP Pro enhancements, you can customize the thumbnail display using the admin interface instead of through PHP code.
125
-
126
  = I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
127
 
128
  By default, if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS. Sometimes this means images will be scaled down in a weird way, so it is not ideal. What you really want is for YARPP to serve appropriately-sized thumbnails.
@@ -295,9 +280,37 @@ YARPP is currently localized in the following languages:
295
  * Uzbek (`uz_UZ`) by Ali Safarov of [comfi.com](http://www.comfi.com/)
296
 
297
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
 
299
- = 4.2.6 =
300
- * After a bit of a hiatus, we're back!
 
 
301
 
302
  = 4.2.5 =
303
  * Tested on WordPress 4.2.2.
@@ -901,6 +914,6 @@ YARPP is currently localized in the following languages:
901
  * Initial upload
902
 
903
  == Upgrade Notice ==
904
- = 4.2.6 =
905
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thank you for using YARPP!
906
 
2
  Contributors: jeffparker, shareaholic
3
  Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
4
  Requires at least: 3.3
 
5
  Requires PHP: 5.2
6
  License: GPLv2 or later
7
+ Tested up to: 5.2
8
+ Stable tag: 4.5
9
 
10
  Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
11
 
12
  == Description ==
13
 
14
  Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post types related to the current entry, introducing your readers to other relevant content on your site.
 
15
 
16
+ **YARPP Basic for Standard Features**
 
 
 
 
 
 
 
 
 
 
 
 
17
  -------------------------------------------
18
  * **Thumbnail or list view** of related content.
19
  * **Related posts, pages, and custom post types.**
37
 
38
  = Widget =
39
 
40
+ Related posts can also be displayed as a widget. Go to the Appearance > Widgets options page and add the "Related Posts (YARPP)" widget. Choose to display content from YARPP Basic. The widget will only be displayed on single entry (permalink) pages.
41
 
42
+ The YARPP Basic widget can be used even if the "auto display" option is turned off.
43
 
44
  = Custom display through templates =
45
 
49
 
50
  **Common Questions about YARPP Basic**
51
 
52
+ Below are Frequently Asked Questions about YARPP basic.
53
 
54
+ If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin).
55
 
56
  = Many pages list "no related posts." =
57
 
59
 
60
  = How can I move the related posts display? =
61
 
62
+ If you do not want to show the Related Posts display in its default position (right below the post content), first go to YARPP options and turn off the "automatically display" options in the "website" section. If you would like to instead display it in your sidebar and you have a widget-aware theme, YARPP provides a Related Posts widget which you can add under "Appearance" > "Widgets."
63
 
64
  If you would like to add the Related Posts display elsewhere, 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. (Make sure you don't add `echo related_posts();` or you may end up with duplicates in your related posts section.)
65
 
108
 
109
  Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose.
110
 
 
 
111
  = I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
112
 
113
  By default, if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS. Sometimes this means images will be scaled down in a weird way, so it is not ideal. What you really want is for YARPP to serve appropriately-sized thumbnails.
280
  * Uzbek (`uz_UZ`) by Ali Safarov of [comfi.com](http://www.comfi.com/)
281
 
282
  == Changelog ==
283
+ = 4.5 =
284
+ After a bit of a hiatus, we're back! The plugin had been delisted due to a minor [email address issue](https://make.wordpress.org/plugins/2018/10/22/reminder-plugins-are-closed-if-emails-bounce/). This has been resolved with this release and the plugin has been reinstated. We consider this to be a big step, and yes, after a 6-month hiatus of not being in the plugin directory.🙂
285
+
286
+ The plugin is also no longer maintained by Adknowledge. A group of us with **deep expertise in Content Recommendations** and **10+ years experience with maintaining very popular plugins** have very recently taken Yarpp over from Adknowlege. More on this will be shared very soon.
287
+
288
+ After a break of many years, the plugin is 100% supported now that the baton has been passed on. A larger update (hand-in-hand with proper communication) is being carefully worked on with a focus on a host of bug fixes and compatibility updates which will be available once it is properly tested, ready and updates properly communicated. Stay tuned.❤️
289
+
290
+ = 4.4 =
291
+ * Discontinuing the YARPP Pro service
292
+
293
+ = 4.3.6 =
294
+ * Removed new file
295
+
296
+ = 4.3.5 =
297
+ * Fix 'unable to update'
298
+
299
+ = 4.3.4 =
300
+ * Don't allow new YARPP Pro signups
301
+ * Discontinuing the YARPP Pro service as of 01/31/2017
302
+
303
+ = 4.3.3 =
304
+ * Fix 'Undefined index' in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
305
+
306
+ = 4.3.2 =
307
+ * Fix ksort error in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
308
+ * Discontinuing the YARPP Pro service as of 12/31/2016
309
 
310
+ = 4.3.1 =
311
+ * Tested on WordPress 4.4.
312
+ * Fix $lang missing error in YARPP_Cache.php
313
+ * Fix WP_Widget deprecation PHP error
314
 
315
  = 4.2.5 =
316
  * Tested on WordPress 4.2.2.
914
  * Initial upload
915
 
916
  == Upgrade Notice ==
917
+ = 4.5 =
918
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thank you for using YARPP!
919
 
yarpp.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /*
3
  Plugin Name: Yet Another Related Posts Plugin
4
- Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
5
- Version: 4.2.6
6
  Author: YARPP
7
  Author URI: http://www.yarpp.com/
8
  Plugin URI: http://www.yarpp.com/
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_DIR')){
14
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
  }
16
 
17
- define('YARPP_VERSION', '4.2.6');
18
  define('YARPP_DIR', dirname(__FILE__));
19
  define('YARPP_URL', plugins_url('',__FILE__));
20
  define('YARPP_NO_RELATED', ':(');
1
  <?php
2
  /*
3
  Plugin Name: Yet Another Related Posts Plugin
4
+ Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm.
5
+ Version: 4.5
6
  Author: YARPP
7
  Author URI: http://www.yarpp.com/
8
  Plugin URI: http://www.yarpp.com/
14
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
  }
16
 
17
+ define('YARPP_VERSION', '4.5');
18
  define('YARPP_DIR', dirname(__FILE__));
19
  define('YARPP_URL', plugins_url('',__FILE__));
20
  define('YARPP_NO_RELATED', ':(');