Related Posts Thumbnails Plugin for WordPress - Version 1.6.1

Version Description

  • Important release, Please upgrade immediately. BugFix: Center align output and image.

=

Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Related Posts Thumbnails Plugin for WordPress
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

Files changed (2) hide show
  1. readme.txt +10 -2
  2. related-posts-thumbnails.php +5 -5
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: marynixie, hiddenpearls, WPBrigade
3
  Donate link: http://wordpress.shaldybina.com/donate
4
  Tags: related, posts, thumbnails, Related Content, related posts, pages, similar posts, shortcodes, widgets, related thumbs
5
  Requires at least: 2.9
6
- Tested up to: 4.8
7
- Stable tag: 1.6.0
8
 
9
  Related Posts by WPBrigade is The Best Customizable plugin, that nicely displays related posts thumbnails under the post.
10
 
@@ -63,8 +63,16 @@ If there are no images of the specified size in the post, or file does not exist
63
  1. Plugin in action
64
  1. Plugin settings page
65
 
 
 
 
 
 
66
  == Changelog ==
67
 
 
 
 
68
  = 1.6.0 =
69
  * Compatible with 4.8
70
  * Multiple bugfixes
3
  Donate link: http://wordpress.shaldybina.com/donate
4
  Tags: related, posts, thumbnails, Related Content, related posts, pages, similar posts, shortcodes, widgets, related thumbs
5
  Requires at least: 2.9
6
+ Tested up to: 4.9
7
+ Stable tag: 1.6.1
8
 
9
  Related Posts by WPBrigade is The Best Customizable plugin, that nicely displays related posts thumbnails under the post.
10
 
63
  1. Plugin in action
64
  1. Plugin settings page
65
 
66
+ == Upgrade Notice ==
67
+
68
+ = 1.6.1 =
69
+ * Important release, Please upgrade immediately. BugFix: Center align output and image.
70
+
71
  == Changelog ==
72
 
73
+ = 1.6.1 =
74
+ * BugFix: Center align output and image.
75
+
76
  = 1.6.0 =
77
  * Compatible with 4.8
78
  * Multiple bugfixes
related-posts-thumbnails.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WordPress Related Posts Thumbnails
4
  * Plugin URI: https://wpbrigade.com/wordpress/plugins/related-posts/?utm_source=related-posts-lite&utm_medium=plugin-uri&utm_campaign=pro-upgrade-rp
5
  * Description: Showing related posts thumbnails under the posts.
6
- * Version: 1.6.0
7
  * Author: WPBrigade
8
  * Author URI: https://WPBrigade.com/?utm_source=related-posts-lite&utm_medium=author-link&utm_campaign=pro-upgrade-rp
9
  */
@@ -453,9 +453,9 @@ class RelatedPostsThumbnails {
453
  $output .= '><span>' . $title . $excerpt . '</span></a></li>';
454
  }
455
  } else {
456
- $output .= '<a onmouseout="this.style.backgroundColor=\'' . get_option( 'relpoststh_background', $this->background ) . '\'" onmouseover="this.style.backgroundColor=\'' . get_option( 'relpoststh_hoverbackground', $this->hoverbackground ) . '\'" style="background-color: ' . get_option( 'relpoststh_background', $this->background ) . '; border-right: 1px solid ' . get_option( 'relpoststh_bordercolor', $this->border_color ) . '; border-bottom: medium none; margin: 0pt; padding: 6px; display: block; float: left; text-decoration: none; text-align: left; cursor: pointer;" href="' . get_permalink( $post->ID ) . '">';
457
  $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; width: ' . $width . 'px; height: ' . ( $height + $text_height ) . 'px;">';
458
- $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent url(' . $url . ') no-repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: ' . $width . 'px; height: ' . $height . 'px;"></div>';
459
  $output .= '<div style="border: 0pt none; margin: 3px 0pt 0pt; padding: 0pt; font-family: ' . $fontface . '; font-style: normal; font-variant: normal; font-weight: normal; font-size: ' . get_option( 'relpoststh_fontsize', $this->font_size ) . 'px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: ' . get_option( 'relpoststh_fontcolor', $this->font_color ) . ';">' . $title . $excerpt . '</div>';
460
  $output .= '</div>';
461
  $output .= '</a>';
@@ -934,7 +934,7 @@ class RelatedPostsThumbnails {
934
  padding: 10px;
935
  }
936
  .relpoststh .wpbr-sidebar{
937
- width: 255px;
938
  float: right;
939
  min-width: inherit;
940
  box-sizing: border-box;
@@ -1377,7 +1377,7 @@ class RelatedPostsThumbnails {
1377
  <!-- <p>Following are the plugins highly recommend by Team WPBrigade.</p> -->
1378
  <ul class="plugins_lists">
1379
  <li>
1380
- <a href="https://wpbrigade.com/wordpress/plugins/loginpress-pro/?utm_source=related-posts-lite&utm_medium=sidebar&utm_campaign=pro-upgrade" data-count="none" target="_blank" title="Post to Twitter Now"><?php esc_html_e( 'LoginPress - Login Customizer' , 'related-posts-thumbnails' )?></a>
1381
  </li>
1382
 
1383
  <li>
3
  * Plugin Name: WordPress Related Posts Thumbnails
4
  * Plugin URI: https://wpbrigade.com/wordpress/plugins/related-posts/?utm_source=related-posts-lite&utm_medium=plugin-uri&utm_campaign=pro-upgrade-rp
5
  * Description: Showing related posts thumbnails under the posts.
6
+ * Version: 1.6.1
7
  * Author: WPBrigade
8
  * Author URI: https://WPBrigade.com/?utm_source=related-posts-lite&utm_medium=author-link&utm_campaign=pro-upgrade-rp
9
  */
453
  $output .= '><span>' . $title . $excerpt . '</span></a></li>';
454
  }
455
  } else {
456
+ $output .= '<a onmouseout="this.style.backgroundColor=\'' . get_option( 'relpoststh_background', $this->background ) . '\'" onmouseover="this.style.backgroundColor=\'' . get_option( 'relpoststh_hoverbackground', $this->hoverbackground ) . '\'" style="background-color: ' . get_option( 'relpoststh_background', $this->background ) . '; border-right: 1px solid ' . get_option( 'relpoststh_bordercolor', $this->border_color ) . '; border-bottom: medium none; margin: 0pt; padding: 6px; display: block; float: left; text-decoration: none; text-align: center; cursor: pointer;" href="' . get_permalink( $post->ID ) . '">';
457
  $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; width: ' . $width . 'px; height: ' . ( $height + $text_height ) . 'px;">';
458
+ $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent url(' . $url . ') no-repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: ' . $width . 'px; height: ' . $height . 'px; background-size: cover;"></div>';
459
  $output .= '<div style="border: 0pt none; margin: 3px 0pt 0pt; padding: 0pt; font-family: ' . $fontface . '; font-style: normal; font-variant: normal; font-weight: normal; font-size: ' . get_option( 'relpoststh_fontsize', $this->font_size ) . 'px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: ' . get_option( 'relpoststh_fontcolor', $this->font_color ) . ';">' . $title . $excerpt . '</div>';
460
  $output .= '</div>';
461
  $output .= '</a>';
934
  padding: 10px;
935
  }
936
  .relpoststh .wpbr-sidebar{
937
+ width: 255px !important;
938
  float: right;
939
  min-width: inherit;
940
  box-sizing: border-box;
1377
  <!-- <p>Following are the plugins highly recommend by Team WPBrigade.</p> -->
1378
  <ul class="plugins_lists">
1379
  <li>
1380
+ <a href="https://wpbrigade.com/wordpress/plugins/loginpress-pro/?utm_source=related-posts-lite&utm_medium=sidebar&utm_campaign=pro-upgrade" data-count="none" target="_blank" title="Post to Twitter Now"><?php esc_html_e( 'LoginPress - Login Customizer' , 'related-posts-thumbnails' )?></a>
1381
  </li>
1382
 
1383
  <li>