Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
HTML Tags in Payment Options Boxes | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium HTML Tags in Payment Options Boxes

HTML Tags in Payment Options Boxes

Posted: August 5, 2013 at 9:33 am

Viewing 3 reply threads


Christopher Barnard

August 5, 2013 at 9:33 am

Hi,

Is there anyway of formatting text in the Payment Options info boxes such as HTML tags – or rather does anyone know how this feature could be added?

Chris


Josh

August 5, 2013 at 10:45 am

Hi Christopher,

The Payment Instructions boxes in the Payment settings will strip out html tags. You modify the gateway files to include your own custom HTML though.

For example if you wanted to change the check/money order payment instructions to include custom HTML, you can open up /gateways/check/check_payment_vars.php and look for:

<p class="instruct">
<?php echo stripslashes_deep(empty($check_payment_settings['check_instructions']) ? '' : $check_payment_settings['check_instructions'] ); ?>
</p>

and remove the echo statement there and replace with your custom HTML.

You can keep the check payment option from getting overwritten on an update by copying it to /wp-content/uploads/espresso/gateways.


Christopher Barnard

August 5, 2013 at 10:56 am

Great – I suppose if the client doesn’t have to update the instructions in the back-end this would be okay.

I’m assuming there’s no way to easily add the ability to use HTML tags – otherwise I guess you would have said :-)

Chris


Dean

  • Support Staff

August 6, 2013 at 3:25 am

Hi Chris,

No there isnt an easy way to add HTML ability to the gateway fields. Sorry about that.

Viewing 3 reply threads

The support post ‘HTML Tags in Payment Options Boxes’ 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.

Event Espresso - Staging Server