WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vantagephotography
    Member
    Posted 1 year 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!

    http://wordpress.org/extend/plugins/maxbuttons/

  2. maxfoundry
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    http://www.vantagephotography.com/blog

    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