WordPress.org

Plugin Directory

Changeset 1224134


Ignore:
Timestamp:
08/18/15 20:59:25 (2 years ago)
Author:
mkrdip
Message:

1.1 - Ship

Location:
latest-posts-widget
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • latest-posts-widget/tags/1.1/latest-posts.css

    r948066 r1224134  
    11/* 
    22Default CSS Styles for the Latest Posts Widget plugin 
    3 Version: 1.0 
     3Version: 1.1 
    44*/ 
    55.latest-posts-widget * { 
     
    2727} 
    2828.latest-posts-widget ul li { 
     29  border-bottom: 1px solid #ccc; 
    2930    list-style: none; 
    3031    list-style-type: none; 
    3132    margin: 3px 0; 
    3233    padding: 3px 0; 
    33     border-bottom: 1px solid #ccc; 
    3434} 
    3535.latest-posts-widget ul li:last-child { 
     
    4040} 
    4141.latest-posts-widget .post-entry {  
    42    padding: 0 0 5px 0; 
    43    overflow: hidden; 
     42  overflow: hidden; 
     43  padding: 0 0 5px 0; 
     44 
    4445} 
    4546.latest-posts-widget .comment-num { 
  • latest-posts-widget/tags/1.1/latest-posts.php

    r948066 r1224134  
    33Plugin Name: Latest Posts Widget 
    44Plugin URI: https://wordpress.org/plugins/latest-posts-widget/ 
    5 Description: Adds a widget that shows the most recent posts of your site with excerpt, featured image, date by sorting & ordering feature 
     5Description: Adds a widget that shows the most recent posts of your site with Thumbnail, Excerpt, Date etc options. 
    66Author: Mrinal Kanti Roy 
    7 Version: 1.0 
     7Version: 1.1 
    88Author URI: http://profiles.wordpress.org/mkrdip/ 
    99*/ 
     
    4949class LP_Post_Widget extends WP_Widget { 
    5050 
    51     function LP_Post_Widget() { 
     51    function __construct() { 
    5252        $widget_ops = array( 'classname'   => 'latest-posts-widget', 'description' => __( 'List latest posts of your site with thumbnails' ) ); 
    53         $this->WP_Widget( 'latest-posts-widget', __( 'Latest Posts' ), $widget_ops ); 
     53        parent::__construct( 'latest-posts-widget', __( 'Latest Posts' ), $widget_ops ); 
    5454    } 
    5555 
     
    184184        $comment_num    = $instance['comment_num']; 
    185185        $date           = $instance['date']; 
    186         $date           = $instance['thumb']; 
    187         $date           = $instance['thumb_w']; 
    188         $date           = $instance['thumb_h']; 
     186        $thumb          = $instance['thumb']; 
     187        $thumb_w        = $instance['thumb_w']; 
     188        $thumb_h        = $instance['thumb_h']; 
    189189        ?> 
    190190 
  • latest-posts-widget/tags/1.1/readme.txt

    r982930 r1224134  
    1 === Latest Posts Widget === 
    2 Contributors: mkrdip, tareq1988 
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mkrdip%40yahoo%2ecom&lc=US&item_name=WordPress%20Plugins%20by%20Mrinal&item_number=04&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted 
     1=== Latest Posts Widget === 
     2Contributors: mkrdip 
     3Donate link: http://mkrdip.me/donate 
    44Tags: posts, widget, latest posts widget, posts widget, recent posts, latest posts, post thumbnails 
    5 Requires at least: 2.8 
    6 Tested up to: 4.0 
     5Requires at least: 3.0 
     6Tested up to: 4.3 
    77Stable tag: trunk 
    88License: GPLv2 or later  
     
    6060== Changelog == 
    6161 
     621.1 
     63 
     64* Fixed Thumbnail Issue for few servers 
     65* Added Added PHP5 Constructor 
     66* Compatible with WordPress 4.3 
     67 
    62681.0  
    6369 
  • latest-posts-widget/trunk/latest-posts.css

    r948066 r1224134  
    11/* 
    22Default CSS Styles for the Latest Posts Widget plugin 
    3 Version: 1.0 
     3Version: 1.1 
    44*/ 
    55.latest-posts-widget * { 
     
    2727} 
    2828.latest-posts-widget ul li { 
     29  border-bottom: 1px solid #ccc; 
    2930    list-style: none; 
    3031    list-style-type: none; 
    3132    margin: 3px 0; 
    3233    padding: 3px 0; 
    33     border-bottom: 1px solid #ccc; 
    3434} 
    3535.latest-posts-widget ul li:last-child { 
     
    4040} 
    4141.latest-posts-widget .post-entry {  
    42    padding: 0 0 5px 0; 
    43    overflow: hidden; 
     42  overflow: hidden; 
     43  padding: 0 0 5px 0; 
     44 
    4445} 
    4546.latest-posts-widget .comment-num { 
  • latest-posts-widget/trunk/latest-posts.php

    r948066 r1224134  
    33Plugin Name: Latest Posts Widget 
    44Plugin URI: https://wordpress.org/plugins/latest-posts-widget/ 
    5 Description: Adds a widget that shows the most recent posts of your site with excerpt, featured image, date by sorting & ordering feature 
     5Description: Adds a widget that shows the most recent posts of your site with Thumbnail, Excerpt, Date etc options. 
    66Author: Mrinal Kanti Roy 
    7 Version: 1.0 
     7Version: 1.1 
    88Author URI: http://profiles.wordpress.org/mkrdip/ 
    99*/ 
     
    4949class LP_Post_Widget extends WP_Widget { 
    5050 
    51     function LP_Post_Widget() { 
     51    function __construct() { 
    5252        $widget_ops = array( 'classname'   => 'latest-posts-widget', 'description' => __( 'List latest posts of your site with thumbnails' ) ); 
    53         $this->WP_Widget( 'latest-posts-widget', __( 'Latest Posts' ), $widget_ops ); 
     53        parent::__construct( 'latest-posts-widget', __( 'Latest Posts' ), $widget_ops ); 
    5454    } 
    5555 
     
    184184        $comment_num    = $instance['comment_num']; 
    185185        $date           = $instance['date']; 
    186         $date           = $instance['thumb']; 
    187         $date           = $instance['thumb_w']; 
    188         $date           = $instance['thumb_h']; 
     186        $thumb          = $instance['thumb']; 
     187        $thumb_w        = $instance['thumb_w']; 
     188        $thumb_h        = $instance['thumb_h']; 
    189189        ?> 
    190190 
  • latest-posts-widget/trunk/readme.txt

    r982930 r1224134  
    1 === Latest Posts Widget === 
    2 Contributors: mkrdip, tareq1988 
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mkrdip%40yahoo%2ecom&lc=US&item_name=WordPress%20Plugins%20by%20Mrinal&item_number=04&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted 
     1=== Latest Posts Widget === 
     2Contributors: mkrdip 
     3Donate link: http://mkrdip.me/donate 
    44Tags: posts, widget, latest posts widget, posts widget, recent posts, latest posts, post thumbnails 
    5 Requires at least: 2.8 
    6 Tested up to: 4.0 
     5Requires at least: 3.0 
     6Tested up to: 4.3 
    77Stable tag: trunk 
    88License: GPLv2 or later  
     
    6060== Changelog == 
    6161 
     621.1 
     63 
     64* Fixed Thumbnail Issue for few servers 
     65* Added Added PHP5 Constructor 
     66* Compatible with WordPress 4.3 
     67 
    62681.0  
    6369 
Note: See TracChangeset for help on using the changeset viewer.