WordPress button plugin so powerful and easy to use anyone to create beautiful buttons and social share icons.
Starting with version 1.4.0 widget support is built-in, so all you have to do is add the button shortcode to your widget (ex: [maxbutton id="17"] or [maxbutton name="MaxButtons Button Name"]). Prior to version 1.4.0 you had to enable widget shortcode support yourself, as described in this forum post.
Simply add this code snippet to any of your theme template files:
<?php echo do_shortcode('[maxbutton id="17"]'); ?>
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>
Requires: 3.8 or higher
Compatible up to: 4.3.1
Last Updated: 6 days ago
Active Installs: 50,000+
21 of 41 support threads in the last two months have been resolved.
Got something to say? Need help?