Posted: August 28, 2018 at 11:35 am
|
I have just updated my event espresso to the most current version, which uses Bambora instead of Beanstream, since Beanstream was bought by Bambora. Before this update, I had some customization in the older version based on suggestion from the support staff. Since I have only one payment option, so I do not wish the payment form header says “Please choose a payment option”. So I have added the following code to my theme’s functions.php file: add_action( ‘wp_print_scripts’, ‘my_no_ee_paybutton_hideform’, 100 ); function my_no_ee_paybutton_hideform() { which remove the header “Please choose a payment option”. Now with the update, this header is appearing on the payment form again. I checked my theme’s functions.php file, it still has the above code there. I guess with the update, something else is changed, so above code would not do that job anymore. Could you please help me with a new piece code to accomplish same as above within the new most recent version? Also, ideally, if possible, maybe remove the picture button of “Beanstream Electronic Payment Processing” too? Thank you very much. Steve |
Hi Steve, Rather than removing scripts, would it not work to just hide those sections with CSS? Adding something like this:
To Appearance -> Customize -> Additional CSS, will remove the sections you referred to above. |
|
|
Hi Tony, Thanks for your response. I entered it in as per instruction, but I still see the heading “Please choose a payment option” and the Beanstream picture button. What could block it from working? Steve |
Hi Steve, It appears that the custom CSS was added to a location where it’s effectively commented out, or disabled: https://slack-files.com/T02SY781D-FCGD9CTUH-7fbc784e18 If you can move the CSS just past the closing |
|
|
Hi Josh, Thank you so much. It works. So with this in place, I can remove the old code (see below) I added to my theme’s functions.php file? add_action( ‘wp_print_scripts’, ‘my_no_ee_paybutton_hideform’, 100 ); function my_no_ee_paybutton_hideform() { Steve |
Yes you can remove that other code if you’d like. |
|
|
Hi Josh, Thank you very much for the quick response. I really appreciated it. Steve |
The support post ‘Remove "Please choose a payment option"’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.