WordPress Button Plugin MaxButtons
[resolved] html code? (4 posts)

  1. vantagephotography
    Posted 3 years ago #

    I love this plugin and would like to add buttons to the end of all my posts automatically. Is there a line of html code I can add to the editor to do so, instead of having to manually enter the id each time? Thanks!


  2. Max Foundry
    Plugin Author

    Posted 3 years ago #

    Do you want to add the same buttons to all your posts? If so, you can do that, but you'll have to edit your post template file, most likely single.php.

    If this is what you want, edit the single.php file to have this code for each button you need (changing the id of each, of course):

    <?php echo do_shortcode('[maxbutton id="17"]') ?>

  3. vantagephotography
    Posted 3 years ago #

    Yes, same buttons, ideally all on the same line. Does the code change for that?

    And where would I put the code on single.php? Thanks!

  4. vantagephotography
    Posted 3 years ago #


    I'd like it to look like the first post....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic