How to add custom fields to WordPress posts like buttons or message boxes? Is there any way to highlight a specific text in your blog post? As of now the default WordPress post editor does not have support to add HTML styles like button, textbox or text highlight.
Shortcode press is a WordPress plugin that allows you use shortcodes within post or page content to show styled box, button, highlight text and video embed from Youtube.com, vimeo.com and dailymotion.com by providing video URL.
- How to Add PHP code in your WordPress post?
- Using WordPress Post Thumbnail or Featured Image in Custom Pages
After downloading and activating the plugin you will find a tinymce Button on editor to use options, there are many configurations. All buttons, boxes, text highlighter include multiple colour and size options.
There are many style options to choose from. For example if you are adding a download button to your post you can use the down arrow icon.
The plugin supports shortcodes for css3 styled buttons, css3 styled box, Video and Text highlight.
The controls can be inserted manually using the following shortcodes.
- [box options]Content of the box[/box]
- [button options]Button text[/button]
- video options][/video]
- highlight options]highlight text[/highlight]
You can control the style of these controls. For example the color of the box can be controlled like “[box color=”red” width=”300″]Content of the box[/box]” or the color of the button can be controlled using “[button color=”blue”]Button text[/button]”.
If you want to control the type (icon) of the blue button you can use “[button color=”blue” type=”download”]Button text[/button]”
Get Shortcode Press
Before you go, subscribe to get latest technology articles right in your mailbox!.