Version Description
Fix for minor compatibility issue when using the Slider Revolution plugin
Download this release
Release Info
Developer | vanderwijk |
Plugin | Content Blocks (Custom Post Widget) |
Version | 2.8.5 |
Comparing to | |
See all releases |
Code changes from version 2.8.4 to 2.8.5
- custom-post-widget.php +2 -2
- post-widget.php +1 -1
- readme.txt +5 -2
custom-post-widget.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
Plugin Name: Custom Post Widget
|
4 |
Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/?utm_source=wordpress&utm_medium=plugin&utm_campaign=custom_post_widget
|
5 |
Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
|
6 |
-
Version: 2.8.
|
7 |
Author: Johan van der Wijk
|
8 |
Author URI: http://vanderwijk.nl
|
9 |
Text Domain: custom-post-widget
|
10 |
Domain Path: /languages
|
11 |
License: GPL2
|
12 |
|
13 |
-
Release notes:
|
14 |
|
15 |
Copyright 2015 Johan van der Wijk
|
16 |
|
3 |
Plugin Name: Custom Post Widget
|
4 |
Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/?utm_source=wordpress&utm_medium=plugin&utm_campaign=custom_post_widget
|
5 |
Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
|
6 |
+
Version: 2.8.5
|
7 |
Author: Johan van der Wijk
|
8 |
Author URI: http://vanderwijk.nl
|
9 |
Text Domain: custom-post-widget
|
10 |
Domain Path: /languages
|
11 |
License: GPL2
|
12 |
|
13 |
+
Release notes: Fix for compatibility issue with Slider Revolution plugin
|
14 |
|
15 |
Copyright 2015 Johan van der Wijk
|
16 |
|
post-widget.php
CHANGED
@@ -215,7 +215,7 @@ add_shortcode( 'content_block', 'custom_post_widget_shortcode' );
|
|
215 |
// Only add content_block icon above posts and pages
|
216 |
function cpw_add_content_block_button() {
|
217 |
global $current_screen;
|
218 |
-
|
219 |
add_action( 'media_buttons', 'add_content_block_icon' );
|
220 |
add_action( 'admin_footer', 'add_content_block_popup' );
|
221 |
}
|
215 |
// Only add content_block icon above posts and pages
|
216 |
function cpw_add_content_block_button() {
|
217 |
global $current_screen;
|
218 |
+
if ( ( 'content_block' != $current_screen -> post_type ) && ( 'toplevel_page_revslider' != $current_screen -> id ) ) {
|
219 |
add_action( 'media_buttons', 'add_content_block_icon' );
|
220 |
add_action( 'admin_footer', 'add_content_block_popup' );
|
221 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: vanderwijk
|
3 |
Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.4
|
6 |
-
Stable tag: 2.8.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -132,6 +132,9 @@ Creating and supporting this plugin takes up a lot of my free time, therefore I
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
135 |
= 2.8.4 =
|
136 |
You can now optionally show the post title when using the shortcode by adding `title=yes` to the shortcode
|
137 |
|
2 |
Contributors: vanderwijk
|
3 |
Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.4.1
|
6 |
+
Stable tag: 2.8.5
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 2.8.5 =
|
136 |
+
Fix for minor compatibility issue when using the Slider Revolution plugin
|
137 |
+
|
138 |
= 2.8.4 =
|
139 |
You can now optionally show the post title when using the shortcode by adding `title=yes` to the shortcode
|
140 |
|