Flexible Posts Widget - Version 1.0.4

Version Description

  • Fixed an issue where post thumbnails aren't displaying.
Download this release

Release Info

Developer dpe415
Plugin Icon wp plugin Flexible Posts Widget
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

Files changed (2) hide show
  1. flexible-posts-widget.php +4 -4
  2. readme.txt +5 -1
flexible-posts-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Flexible Posts Widget
4
  Plugin URI: http://wordpress.org/extend/plugins/flexible-posts-widget/
5
  Author: dpe415
6
  Author URI: http://dpedesign.com
7
- Version: 1.0.3
8
  Description: An advanced posts display widget with many options: post by taxonomy & term or post type, thumbnails, order & order by, customizable templates
9
  */
10
 
@@ -100,7 +100,7 @@ class DPE_Flexible_Posts_Widget extends WP_Widget {
100
  $instance['number'] = strip_tags( $new_instance['number'] );
101
  $instance['orderby'] = $new_instance['orderby'];
102
  $instance['order'] = $new_instance['order'];
103
- $instance['thumb_size'] = $new_instance['thumb_size'];
104
  $instance['thumbnail'] = $new_instance['thumbnail'];
105
  $instance['template'] = strip_tags( $new_instance['template'] );
106
  return $instance;
@@ -175,8 +175,8 @@ class DPE_Flexible_Posts_Widget extends WP_Widget {
175
  <label for="<?php echo $this->get_field_id('thumbnail'); ?>"><?php _e('Display thumbnails?'); ?></label>
176
  </p>
177
  <p>
178
- <label for="<?php echo $this->get_field_id('thumb_size'); ?>"><?php _e('Select a thumbnail size to show'); ?></label>
179
- <select class="widefat" name="<?php echo $this->get_field_name('thumb_size'); ?>" id="<?php echo $this->get_field_id('thumb_size'); ?>">
180
  <?php
181
  foreach ($thumb_sizes as $option) {
182
  echo '<option value="' . $option . '" id="' . $option . '"', $thumbsize == $option ? ' selected="selected"' : '', '>', $option, '</option>';
4
  Plugin URI: http://wordpress.org/extend/plugins/flexible-posts-widget/
5
  Author: dpe415
6
  Author URI: http://dpedesign.com
7
+ Version: 1.0.4
8
  Description: An advanced posts display widget with many options: post by taxonomy & term or post type, thumbnails, order & order by, customizable templates
9
  */
10
 
100
  $instance['number'] = strip_tags( $new_instance['number'] );
101
  $instance['orderby'] = $new_instance['orderby'];
102
  $instance['order'] = $new_instance['order'];
103
+ $instance['thumbsize'] = $new_instance['thumbsize'];
104
  $instance['thumbnail'] = $new_instance['thumbnail'];
105
  $instance['template'] = strip_tags( $new_instance['template'] );
106
  return $instance;
175
  <label for="<?php echo $this->get_field_id('thumbnail'); ?>"><?php _e('Display thumbnails?'); ?></label>
176
  </p>
177
  <p>
178
+ <label for="<?php echo $this->get_field_id('thumbsize'); ?>"><?php _e('Select a thumbnail size to show'); ?></label>
179
+ <select class="widefat" name="<?php echo $this->get_field_name('thumbsize'); ?>" id="<?php echo $this->get_field_id('thumbsize'); ?>">
180
  <?php
181
  foreach ($thumb_sizes as $option) {
182
  echo '<option value="' . $option . '" id="' . $option . '"', $thumbsize == $option ? ' selected="selected"' : '', '>', $option, '</option>';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: widget, widgets, posts, recent posts, thumbnails, custom post types, custom taxonomies
5
  Requires at least: 3.2
6
  Tested up to: 3.3.2
7
- Stable tag: 1.0.3
8
 
9
  An advanced posts display widget with many options. Display posts in your sidebars exactly the way you like!
10
 
@@ -60,6 +60,7 @@ Edit the new file in your theme to your desired HTML layout. Please do not edit
60
 
61
  = Future updates & features list =
62
 
 
63
  * Dynamically populate available terms based on a selected taxonomy.
64
  * Make the "Get Posts By" section selectable and only show the chosen method: Taxonomy & Term or Post Type.
65
  * Dynamically populate the "Template Filename" field based on the templates available.
@@ -68,6 +69,9 @@ Edit the new file in your theme to your desired HTML layout. Please do not edit
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.0.3 =
72
  * Fixed PHP notices that showed in the admin when WP_DEBUG is enabled
73
  * Added some stub code for future admin JavaScripts (not active yet).
4
  Tags: widget, widgets, posts, recent posts, thumbnails, custom post types, custom taxonomies
5
  Requires at least: 3.2
6
  Tested up to: 3.3.2
7
+ Stable tag: 1.0.4
8
 
9
  An advanced posts display widget with many options. Display posts in your sidebars exactly the way you like!
10
 
60
 
61
  = Future updates & features list =
62
 
63
+ * Create shortcode functionality
64
  * Dynamically populate available terms based on a selected taxonomy.
65
  * Make the "Get Posts By" section selectable and only show the chosen method: Taxonomy & Term or Post Type.
66
  * Dynamically populate the "Template Filename" field based on the templates available.
69
 
70
  == Changelog ==
71
 
72
+ = 1.0.4 =
73
+ * Fixed an issue where post thumbnails aren't displaying.
74
+
75
  = 1.0.3 =
76
  * Fixed PHP notices that showed in the admin when WP_DEBUG is enabled
77
  * Added some stub code for future admin JavaScripts (not active yet).