Widget Content Blocks - Version 2.1

Version Description

  • Fixed: Social sharing buttons showing up after widget content. *
Download this release

Release Info

Developer DvanKooten
Plugin Icon wp plugin Widget Content Blocks
Version 2.1
Comparing to
See all releases

Code changes from version 2.0.1 to 2.1

includes/class-wysiwyg-widgets-widget.php CHANGED
@@ -29,7 +29,7 @@ class WYSIWYG_Widgets_Widget extends WP_Widget
29
  if(!empty($title)) { echo $before_title . $title . $after_title; }
30
 
31
  if($post && !empty($id)) {
32
- $content = apply_filters('the_content', $post->post_content);
33
  echo $content;
34
  } else {
35
  if(current_user_can('manage_options')) { ?>
29
  if(!empty($title)) { echo $before_title . $title . $after_title; }
30
 
31
  if($post && !empty($id)) {
32
+ $content = wpautop($post->post_content);
33
  echo $content;
34
  } else {
35
  if(current_user_can('manage_options')) { ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://dannyvankooten.com/donate/
4
  Tags: widget,wysiwyg,wysiwyg widget,rich text,rich text widget,widget editor,text widget,visual widget,image widget,tinymce,fckeditor
5
  Requires at least: 3.1
6
  Tested up to: 3.5
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,11 +65,14 @@ Totally free, and it will always stay free. Donations are much appreciated thoug
65
  3. Drag the WYSIWYG Widget widget to one of your widget areas and select the WYSIWYG Widget to show.
66
 
67
  == Changelog ==
 
 
 
68
 
69
  = 2.0.1 =
70
  * Added: meta box in WYSIWYG Widget editor screen.
71
  * Added: debug messages for logged in administrators on frontend when no WYSIWYG Widget OR an invalid WYSIWYG Widget is selected.
72
- * Added: title is now optional for even more control. If empty, it won't be shown. You are now longer required to use the heading tag which is set in the widget options since you can use a heading in your post.
73
 
74
  = 2.0 =
75
  * Total rewrite WITHOUT backwards compatibility. Please back-up your existing WYSIWYG Widgets' content before updating, you'll need to recreate them. Don't drag them to "deactivated widgets", just copy & paste the HTML content somewhere.
4
  Tags: widget,wysiwyg,wysiwyg widget,rich text,rich text widget,widget editor,text widget,visual widget,image widget,tinymce,fckeditor
5
  Requires at least: 3.1
6
  Tested up to: 3.5
7
+ Stable tag: 2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
  3. Drag the WYSIWYG Widget widget to one of your widget areas and select the WYSIWYG Widget to show.
66
 
67
  == Changelog ==
68
+ = 2.1 =
69
+ * Fixed: Social sharing buttons showing up after widget content.
70
+ *
71
 
72
  = 2.0.1 =
73
  * Added: meta box in WYSIWYG Widget editor screen.
74
  * Added: debug messages for logged in administrators on frontend when no WYSIWYG Widget OR an invalid WYSIWYG Widget is selected.
75
+ * Added: title is now optional for even more control. If empty, it won't be shown. You are now no longer required to use the heading tag which is set in the widget options since you can use a (any) heading in your post.
76
 
77
  = 2.0 =
78
  * Total rewrite WITHOUT backwards compatibility. Please back-up your existing WYSIWYG Widgets' content before updating, you'll need to recreate them. Don't drag them to "deactivated widgets", just copy & paste the HTML content somewhere.
wysiwyg-widgets.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WYSIWYG Widgets
4
  Plugin URI: http://DannyvanKooten.com/wordpress-plugins/wysiwyg-widgets/
5
  Description: Adds a WYSIWYG Widget with a rich text editor and media upload functions.
6
- Version: 2.0.1
7
  Author: Danny van Kooten
8
  Author URI: http://DannyvanKooten.com
9
  License: GPL2
3
  Plugin Name: WYSIWYG Widgets
4
  Plugin URI: http://DannyvanKooten.com/wordpress-plugins/wysiwyg-widgets/
5
  Description: Adds a WYSIWYG Widget with a rich text editor and media upload functions.
6
+ Version: 2.1
7
  Author: Danny van Kooten
8
  Author URI: http://DannyvanKooten.com
9
  License: GPL2