WP Stripe
[resolved] Display on Website should be optional (5 posts)

  1. rhiner402
    Posted 4 years ago #

    I don't want to use the 'recent donations' widget.. so this option should not be shown. (I'm a WP newbie.. so maybe this can be removed, but I don't see where)


  2. John Bunka
    Posted 4 years ago #

    Optional or even hidden. I would love to just see the transactions but not have it be a checkable option on the front end.

  3. mlangley
    Posted 4 years ago #

    To remove the check box on the payment form, go into the file wp-stripe/includes/stripe-display.php

    Remove or comment out these lines from the file (188 through 194)

    <div class="stripe-row">
                <input type="checkbox" name="wp_stripe_public" value="public" checked="checked" /> <label><?php _e('Display on Website?', 'wp-stripe'); ?></label>
                <p class="stripe-display-comment"><?php _e('If you check this box, the name as you enter it (including the avatar from your e-mail) and comment will be shown in recent donations. Your e-mail address and donation amount will not be shown.', 'wp-stripe'); ?></p>
  4. Noel Tock
    Human Made
    Plugin Author

    Posted 4 years ago #

    Guess I could throw in an option/conditional for that..

    Here's an update: http://wordpress.org/support/topic/plugin-wp-stripe-official-wp-stripe-update

  5. PaulMorris
    Posted 4 years ago #

    +1 for an option to not have this appear in the form at all.

    I did get it hidden by modding the plugin to add an ID to that div and then use display:hidden; in CSS. But then I had to add clear:both; and some margin-top to the submit button so it would appear in the right place.

    (I figured display:hidden; was safer than commenting out the div, in case the script was expecting that input, but maybe commenting out that div is fine?)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Stripe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic