WordPress.org

Ready to get started?Download WordPress

Forums

Thank You Counter Button
Code for the button (2 posts)

  1. clinjar89
    Member
    Posted 1 year ago #

    I want to add the thank you button to my homepage, not in a post or page, but just in the code so that it is in the middle of the page. Can you tell me what the code for a button would be in html so I could add it in the editor and it would display.

    http://wordpress.org/extend/plugins/thanks-you-counter-button/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    This function is available to call from your PHP code:
    thanks_buildButtonCode($thanksCaption = "", $siteGlobal = false)
    in your case to make button global (not linked to selected post) call it this way
    <?php echo thanks_buildButtonCode("Thank You", true); ?>
    and it will output needed HTML code.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.