Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
=== d12 Message Blocks === Contributors: kjodle Tags: shortcodes, message blocks, posts, pages Donate link: http://kjodle.info/support Requires at least: 2.5 Tested up to: 4.7.4 Stable tag: 2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl.html Highlight important information by adding message blocks to your posts and pages == Description == d12 Message Blocks makes it easy for you to highlight important information on your posts and pages by adding easy-to-notice message blocks. The plugin's functions are easily accessible from a drop-down menu in the TinyMCE editor toolbar. 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://demo.kjodle.net/wordpress/plugins/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). == Installation == **From your WordPress dashboard** 1. Visit 'Plugins > Add New' 1. Search for 'd12 Message Blocks' 1. Activate d12 Message Blocksfrom your Plugins page. **From WordPress.org** 1. Download d12 Message Blocks. 1. Upload the 'd12-message-blocks' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...) 1. Activate d12 Message Blocks from your Plugins page. == Frequently Asked Questions == = Will this plugin work with all themes? = It should. I haven't tested it with all themes, but I've written it in such a way that it should. If you encounter issues, please post a link to your site in the [support forum](http://wordpress.org/support/plugin/d12-message-blocks) along with a description of your issue. = Is this plugin responsive? = Yes. It should look good on all mobile devices, although on extremely narrow screens, the icon will shift to the top. = Can I change the border or background colors? = <strong>New in 2.0</strong> You can now select from 10 different border styles and 11 different color schemes from the plugin's options page. = I can't see the toolbar buttons. = Click on the ["Toggle Toolbar"](https://make.wordpress.org/support/user-manual/content/editors/visual-editor/#row-2) button at the end of the first row. = Can I add links or lists? = You can add any html you like in the popup window, and it will be passed to the visual editor. If you are not comfortable editing html, it is easier to add links or lists after you have clicked "OK" and been returned to the visual editor. == Screenshots == 1. The plugin adds these two buttons to the end of the second toolbar. 2. The first button lets you add these message blocks. They will automatically add the title shown in the menu. 3. A popup box from the first button. 4. The second button lets you add these message blocks. You will be prompted both for a title and content. 5. A popup box from the second button. 6. The "Part of a series" button is a little different, as you only need a single word or phrase for the title. 7. The output from the "Part of a series" button. 8. <strong>New in 2.0!</strong> Choose from among 10 different border styles. 9. <strong>New in 2.0!</strong> Choose from 7 new light color schemes (in addition to the default color scheme). 10. <strong>New in 2.0!</strong> Choose from 4 new dark color schemes. == Changelog == = 2.4 = * Made blocks full-width in mobile views = 2.3 = * Fixed a bug with stylesheets not loading = 2.2 = * Fixed a bug with the "Part of a Series" message block * Changed demo location to new plugin demo site = 2.1 = * Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post. = 2.0 = * Added an option page allowing users to select from 10 different border styles and 11 different color schemes. = 1.1 = * Plugin is now translatable = 1.0 = * Initial release == Upgrade Notice == = 2.3 = This upgrade fixes a bug with stylesheets not loading, which caused the message blocks to not appear properly. = 2.0 = You can now change color schemes or border styles from the plugin's options page.