WordPress button plugin so powerful and easy to use anyone can create beautiful buttons and social share icons.
No. The shortcode enables you to change various items on the button including the text and link. It's better to create a single button and reuse it.
To change text and link : [maxbutton id="1" text="yourtext" url="http://yoururl"]
If you only want to change one of the two, just leave the not needed option out.
All possible options:
[maxbutton id="1" text="yourtext" url="http://yoururl" window="new" nofollow="true"]
You should never copy buttons if you only have a different line of text and / or link on any button.
Simply add the button shortcode to your widget (ex: [maxbutton id="17"] or [maxbutton name="MaxButtons Button Name"]). If the styling is missing on the widget, try to check the 'use important' checkbox under 'advanced' settings.
Simply add this code snippet to any of your theme template files:
<?php echo do_shortcode('[maxbutton id="17"]'); ?>
Sometimes the button styling doesn't load on the frontpage. There are usually two major reasons:
First ensure you have cleared all your caches. Then you can try to add the following to your shortcode: [maxbutton id=1 style="inline"] ( replace the ID with the number of your button ).
TablePress uses a caching mechanism which prevents the MaxButtons style design from functioning. To solve this problem, simply add the caching option to the shortcode like this:
[table id=123 cache_table_output=false] . See this support topic on TablePress.
A solution which will keep the cache enabled is to use this in your shortcode: [maxbutton id=1 style="inline"] . Flush the TablePress cache after adding this.
Try enabling the container and setting its margin options. You could also fix this manually by surrounding your button shortcode with a div element with margins. For example:
<div style="margin: 10px 10px 10px 10px;"> <?php echo do_shortcode('[maxbutton id="17"]'); ?> <?php echo do_shortcode('[maxbutton name="MaxButtons Button Name"]'); ?> </div>
Then adjust the margin values as needed (the order is: top, right, bottom, left).
Enable the "Wrap with Center Div" option in the Container settings.
Enable the container option and set the alignment property to either "display: inline-block" or "float: left". You might also want to add some margin values to put some spacing between your buttons. If that doesn't work, try using a simple HTML table:
<table> <tr> <td>[maxbutton id="1"]</td> <td>[maxbutton id="2"]</td> <td>[maxbutton id="3"]</td> </tr> </table>
By default WordPress can't display shortcodes in a menu. You can use this plugin to allow shortcodes in a menu. Just copy the MaxButton shortcode in the menu after installing
This depends on the slider plugin you are using. Most of the well-known ones are allowing the use of shortcodes within the slides. To find out if your plugin can handle that, please ask the slider vendor.
Requires: 4.0 or higher
Compatible up to: 4.7.2
Last Updated: 2 weeks ago
Active Installs: 80,000+
5 of 15 support threads in the last two months have been marked resolved.
Got something to say? Need help?