Content Blocks (Custom Post Widget) - Version 2.0.2

Version Description

Small fix for issue with the css filepath of the editor icon. Thanks to user zudobug for reporting this issue.

Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

Files changed (3) hide show
  1. custom-post-widget.php +2 -2
  2. post-widget.php +2 -2
  3. readme.txt +9 -7
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: 2.0.1
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
10
 
11
- Release notes: Version 2.0.1 Updated dutch translation file
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: 2.0.2
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
10
 
11
+ Release notes: Version 2.0 Added support for featured images
12
 
13
  Copyright 2012 Johan van der Wijk (email: info@vanderwijk.com)
14
 
post-widget.php CHANGED
@@ -210,11 +210,11 @@ add_shortcode('content_block', 'custom_post_widget_shortcode');
210
  function add_content_block_icon() {
211
  echo '<style>
212
  #add-content-block .wp-media-buttons-icon {
213
- background: url(../../wp-content/plugins/custom-post-widget/images/contentblock.png) no-repeat -7px -40px;
214
  margin-right: 3px;
215
  }
216
  #add-content-block:hover .wp-media-buttons-icon {
217
- background: url(../../wp-content/plugins/custom-post-widget/images/contentblock.png) no-repeat -7px -8px;
218
  }
219
  #add-content-block {
220
  padding-left: 0.4em;
210
  function add_content_block_icon() {
211
  echo '<style>
212
  #add-content-block .wp-media-buttons-icon {
213
+ background: url(../wp-content/plugins/custom-post-widget/images/contentblock.png) no-repeat -7px -40px;
214
  margin-right: 3px;
215
  }
216
  #add-content-block:hover .wp-media-buttons-icon {
217
+ background: url(../wp-content/plugins/custom-post-widget/images/contentblock.png) no-repeat -7px -8px;
218
  }
219
  #add-content-block {
220
  padding-left: 0.4em;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://www.vanderwijk.com/wordpress/support/
5
  Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
6
  Requires at least: 2.9.2
7
  Tested up to: 3.5
8
- Stable tag: 2.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,11 +13,11 @@ This plugin enables you to display the content of a custom post type called Cont
13
 
14
  == Description ==
15
 
16
- The Custom Post Widget allows you to display the contents of a specific custom post in a widget.
17
 
18
- Even though you could use the text widget that comes with the default WordPress install, this plugin has some clear benefits:
19
 
20
- * If you are using the standard WordPress text widgets to display content on various areas of your template, this content can only be edited by users with administrator access. If you would like editors to modify the widget content, you can use this plugin to provide them access to the custom posts that provide the content for the widget areas.
21
  * The Custom Post Widget plugin enables users to use the WYSIWYG editor for editing the content and adding images.
22
  * You can even use the featured image functionality to display them in a widget.
23
  * The Custom Post Widget is compatible with the WPML Multi-Language plugin and automatically shows the correct language in the widget area.
@@ -56,12 +56,11 @@ Of course you can always use the default text widget, but if you prefer to use t
56
 
57
  = How can I show the content bock on a specific page? =
58
 
59
- It is recommended to install the Widget Logic plugin, this will give you complete flexibility on widget placement.
60
 
61
  = How can I display the featured image in the widget? =
62
 
63
- This plugin has built-in support for the featured image functionality on the edit screen. But to display the image you will have to add the following code to your functions.php:
64
- Note that featured image will not be resized, so you will have to make sure it is the right size when uploading or restrict the image size via the stylesheet.
65
 
66
  = My social sharing plugin adds buttons to all the Custom Post Widget areas =
67
 
@@ -82,6 +81,9 @@ Creating and supporting this plugin takes up a lot of my free time, therefore I
82
 
83
  == Changelog ==
84
 
 
 
 
85
  = 2.0.1 =
86
  Updated Dutch translation file.
87
 
5
  Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
6
  Requires at least: 2.9.2
7
  Tested up to: 3.5
8
+ Stable tag: 2.0.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ The Custom Post Widget allows you to display the contents of a specific custom post in a widget. The content blocks can be inserted in either a sidebar widget area or directy in the content using the shortcode functionality.
17
 
18
+ Even though you could use the text widget that comes with the default WordPress install, this plugin has some major benefits:
19
 
20
+ * If you are using the standard WordPress text widgets to display content on various areas of your template, this content can only be edited by users with administrator access. If you would like editors to modify the widget content, you can use this plugin to provide them access to the content blocks that provide the content for the widget areas.
21
  * The Custom Post Widget plugin enables users to use the WYSIWYG editor for editing the content and adding images.
22
  * You can even use the featured image functionality to display them in a widget.
23
  * The Custom Post Widget is compatible with the WPML Multi-Language plugin and automatically shows the correct language in the widget area.
56
 
57
  = How can I show the content bock on a specific page? =
58
 
59
+ It is recommended to install the [Widget Logic](http://wordpress.org/extend/plugins/widget-logic/) plugin, this will give you complete flexibility on widget placement.
60
 
61
  = How can I display the featured image in the widget? =
62
 
63
+ This plugin has built-in support for the featured image functionality on the edit screen. Note that featured image will not be resized, so you will have to make sure it is the right size when uploading or restrict the image size via the stylesheet.
 
64
 
65
  = My social sharing plugin adds buttons to all the Custom Post Widget areas =
66
 
81
 
82
  == Changelog ==
83
 
84
+ = 2.0.2 =
85
+ Small fix for issue with the css filepath of the editor icon. Thanks to user zudobug for reporting this issue.
86
+
87
  = 2.0.1 =
88
  Updated Dutch translation file.
89