Content Blocks (Custom Post Widget) - Version 1.9.5

Version Description

Added the option to disable apply_filters on the content to prevent issues with misbehaving plugins. I would have rather not added this, but it appears many plugin developers do not know how to properly use filters (see http://pippinsplugins.com/playing-nice-with-the-content-filter/).

Download this release

Release Info

Developer vanderwijk
Plugin Icon 128x128 Content Blocks (Custom Post Widget)
Version 1.9.5
Comparing to
See all releases

Code changes from version 1.9.4 to 1.9.5

custom-post-widget.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Custom Post Widget
4
  Plugin URI: http://www.vanderwijk.com/services/web-design/wordpress-custom-post-widget/
5
  Description: Show the content of a custom post of the type 'content_block' in a widget.
6
- Version: 1.9.4
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
10
 
11
- Release notes: Version 1.9.4 Added option to disable content filter
12
 
13
  Copyright 2012 Johan van der Wijk (email: info@vanderwijk.com)
14
 
3
  Plugin Name: Custom Post Widget
4
  Plugin URI: http://www.vanderwijk.com/services/web-design/wordpress-custom-post-widget/
5
  Description: Show the content of a custom post of the type 'content_block' in a widget.
6
+ Version: 1.9.5
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
10
 
11
+ Release notes: Version 1.9.5 Added option to disable content filter
12
 
13
  Copyright 2012 Johan van der Wijk (email: info@vanderwijk.com)
14
 
languages/custom-post-widget-nl_NL.po CHANGED
@@ -43,6 +43,10 @@ msgstr "Geen inhoudsblokken beschikbaar"
43
  msgid "Show Post Title"
44
  msgstr "Toon de titel"
45
 
 
 
 
 
46
  #@ custom-post-widget
47
  #: post-widget.php:62
48
  msgid "Find"
43
  msgid "Show Post Title"
44
  msgstr "Toon de titel"
45
 
46
+ #: post-widget.php:52
47
+ msgid "Do not apply content filters"
48
+ msgstr "Apply_filters niet toepassen"
49
+
50
  #@ custom-post-widget
51
  #: post-widget.php:62
52
  msgid "Find"
languages/custom-post-widget.pot CHANGED
@@ -32,6 +32,10 @@ msgstr ""
32
  msgid "Show Post Title"
33
  msgstr ""
34
 
 
 
 
 
35
  #: post-widget.php:61
36
  msgid "Find"
37
  msgstr ""
32
  msgid "Show Post Title"
33
  msgstr ""
34
 
35
+ #: post-widget.php:52
36
+ msgid "Do not apply content filters"
37
+ msgstr ""
38
+
39
  #: post-widget.php:61
40
  msgid "Find"
41
  msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://www.vanderwijk.com/wordpress/support/
5
  Tags: custom-post, widget, sidebar, content block, content, block, custom, post, shortcode
6
  Requires at least: 2.9.2
7
  Tested up to: 3.4.1
8
- Stable tag: 1.9.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -41,7 +41,9 @@ You will see that a new custom post type has been added called Content Block.
41
  3. Type some content for the widget. You can choose to either use the title to describe the of the content on the page, or to display it. Check 'Show Post Title' to display the title on the page.
42
  4. Go to 'Appearance' > 'Widgets' and drag the Content Block widget to the required position in the sidebar.
43
  5. Select a Content Block from the drop-down list.
44
- 6. Click save.
 
 
45
 
46
  == Frequently Asked Questions ==
47
 
@@ -70,12 +72,19 @@ This plugin has built-in support for the featured image functionality on the edi
70
  }
71
  add_filter('the_content', 'InsertFeaturedImage');`
72
 
 
 
 
 
73
 
74
  == Changelog ==
75
 
76
- = 1.9.4 =
77
  Added the option to disable apply_filters on the content to prevent issues with misbehaving plugins. I would have rather not added this, but it appears many plugin developers do not know how to properly use filters (see http://pippinsplugins.com/playing-nice-with-the-content-filter/).
78
 
 
 
 
79
  = 1.9.3 =
80
  Minor bugfix and added the French translation which was created by Alexandre Simard (http://brocheafoin.biz/).
81
 
@@ -139,6 +148,4 @@ First release
139
  == Upgrade Notice ==
140
 
141
  = 1.8 =
142
- I would appreciate some feedback on the newly introduced shortcode functionality. Is this useful or not? Any issues found? Thanks!
143
-
144
-
5
  Tags: custom-post, widget, sidebar, content block, content, block, custom, post, shortcode
6
  Requires at least: 2.9.2
7
  Tested up to: 3.4.1
8
+ Stable tag: 1.9.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
41
  3. Type some content for the widget. You can choose to either use the title to describe the of the content on the page, or to display it. Check 'Show Post Title' to display the title on the page.
42
  4. Go to 'Appearance' > 'Widgets' and drag the Content Block widget to the required position in the sidebar.
43
  5. Select a Content Block from the drop-down list.
44
+ 6. Check the 'Show Post Title' checkbox if you would like to display the title of your Content Block
45
+ 7. If you are experiencing issues with content being added automatically to your posts (Social media sharing buttons for instance), check the 'Do not apply content filters' checkbox. Use this with caution!
46
+ 8. Click save.
47
 
48
  == Frequently Asked Questions ==
49
 
72
  }
73
  add_filter('the_content', 'InsertFeaturedImage');`
74
 
75
+ = My social sharing plugin adds buttons to all the Custom Post Widget areas =
76
+
77
+ If your social media sharing plugin adds buttons to the widget areas you could check the 'Do not apply content filters' checkbox. Note that when this is done, WordPress will also stop adding paragraph tags to your text, so use this setting with caution. It is much better to ask the developer of the social media sharing buttons plugin to correctly use the content filters (see http://pippinsplugins.com/playing-nice-with-the-content-filter/).
78
+
79
 
80
  == Changelog ==
81
 
82
+ = 1.9.5 =
83
  Added the option to disable apply_filters on the content to prevent issues with misbehaving plugins. I would have rather not added this, but it appears many plugin developers do not know how to properly use filters (see http://pippinsplugins.com/playing-nice-with-the-content-filter/).
84
 
85
+ = 1.9.4 =
86
+ Corrected a minor bug regarding translation strings.
87
+
88
  = 1.9.3 =
89
  Minor bugfix and added the French translation which was created by Alexandre Simard (http://brocheafoin.biz/).
90
 
148
  == Upgrade Notice ==
149
 
150
  = 1.8 =
151
+ I would appreciate some feedback on the newly introduced shortcode functionality. Is this useful or not? Any issues found? Thanks!
 
 
screenshot-2.png CHANGED
Binary file