One bugfix; changed demo site link.
This commit is contained in:
parent
7529f11ae5
commit
3372ab5cb7
@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: d12 Message Blocks
|
* Plugin Name: d12 Message Blocks
|
||||||
* Plugin URI: http://kjodle.net/wordpress/d12-message-blocks/
|
* Plugin URI: http://kjodle.net/wordpress/d12-message-blocks/
|
||||||
* Description: Adds shortcodes for message blocks.
|
* Description: Adds shortcodes for message blocks.
|
||||||
* Version: 2.1
|
* Version: 2.2
|
||||||
* Author: Kenneth John Odle
|
* Author: Kenneth John Odle
|
||||||
* Author URI: http://kjodle.net/
|
* Author URI: http://kjodle.net/
|
||||||
* Text Domain: d12-message-blocks
|
* Text Domain: d12-message-blocks
|
||||||
@ -174,10 +174,9 @@ function d12_part( $atts, $content= NULL) {
|
|||||||
'series' => '',
|
'series' => '',
|
||||||
), $atts )
|
), $atts )
|
||||||
);
|
);
|
||||||
$filestring = '<div class="d12-block d12-part"><div class="d12-sc-text"><p><strong>' .
|
echo '<div class="d12-block d12-part"><div class="d12-sc-text"><p><strong>';
|
||||||
printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series )
|
printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series );
|
||||||
. '.</strong></p>' . $content . '</div></div> ';
|
echo '.</strong></p>' . $content . '</div></div> ';
|
||||||
return $filestring;
|
|
||||||
}
|
}
|
||||||
add_shortcode( 'd12-part' , 'd12_part' );
|
add_shortcode( 'd12-part' , 'd12_part' );
|
||||||
|
|
||||||
@ -359,4 +358,4 @@ function d12mb_register_buttons( $buttons ) {
|
|||||||
*
|
*
|
||||||
* @since d12 Message Blocks 1.1
|
* @since d12 Message Blocks 1.1
|
||||||
*/
|
*/
|
||||||
require plugin_basename( 'plugin-options.php' );
|
require plugin_basename( 'plugin-options.php' );
|
||||||
|
16
readme.txt
16
readme.txt
@ -3,8 +3,8 @@ Contributors: kjodle
|
|||||||
Tags: shortcodes, message blocks, posts, pages
|
Tags: shortcodes, message blocks, posts, pages
|
||||||
Donate link: http://kjodle.info/support
|
Donate link: http://kjodle.info/support
|
||||||
Requires at least: 2.5
|
Requires at least: 2.5
|
||||||
Tested up to: 4.3.1
|
Tested up to: 4.4.2
|
||||||
Stable tag: 2.1
|
Stable tag: 2.2
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl.html
|
License URI: http://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
@ -16,9 +16,7 @@ d12 Message Blocks makes it easy for you to highlight important information on y
|
|||||||
|
|
||||||
There are two types of message blocks. The first type provides a title and prompts you for the message block's content. The second type prompts you for both a title and the content.
|
There are two types of message blocks. The first type provides a title and prompts you for the message block's content. The second type prompts you for both a title and the content.
|
||||||
|
|
||||||
Want to see it in action? Check out [my demo page](http://techblog.kjodle.net/2015/06/28/message-blocks-wordpress-plugin/).
|
Want to see it in action? Check out [my demo page](http://demo.kjodle.net/wordpress/plugins/d12-message-blocks/).
|
||||||
|
|
||||||
Want to check it out in different themes? Check out [my multi-theme demo page](http://waybeta.net/2015/07/d12-message-blocks-wordpress-plugin/).
|
|
||||||
|
|
||||||
Questions? Suggestions? Issues? Reach out to me on Twitter at [@kjodle](http://twitter.com/#!/kjodle) or [@iswpw](http://twitter.com/#!/iswpw), or in the plugin's [support forum](https://wordpress.org/support/plugin/d12-message-blocks).
|
Questions? Suggestions? Issues? Reach out to me on Twitter at [@kjodle](http://twitter.com/#!/kjodle) or [@iswpw](http://twitter.com/#!/iswpw), or in the plugin's [support forum](https://wordpress.org/support/plugin/d12-message-blocks).
|
||||||
|
|
||||||
@ -77,8 +75,12 @@ You can add any html you like in the popup window, and it will be passed to the
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 2.2 =
|
||||||
|
* Fixed a bug with the "Part of a Series" message block
|
||||||
|
* Changed demo location to new plugin demo site
|
||||||
|
|
||||||
= 2.1 =
|
= 2.1 =
|
||||||
*Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post.
|
* Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post.
|
||||||
|
|
||||||
= 2.0 =
|
= 2.0 =
|
||||||
* Added an option page allowing users to select from 10 different border styles and 11 different color schemes.
|
* Added an option page allowing users to select from 10 different border styles and 11 different color schemes.
|
||||||
@ -92,4 +94,4 @@ You can add any html you like in the popup window, and it will be passed to the
|
|||||||
== Upgrade Notice ==
|
== Upgrade Notice ==
|
||||||
|
|
||||||
= 2.0 =
|
= 2.0 =
|
||||||
You can now change color schemes or border styles from the plugin's options page.
|
You can now change color schemes or border styles from the plugin's options page.
|
||||||
|
Loading…
Reference in New Issue
Block a user