File Editor
Directories:
.. (Back)
Files:
classic-body.php
classic-field.php
classic-footer.php
classic-header.php
classic-queries.php
classic-style.php
compact-body.php
compact-field.php
compact-footer.php
compact-header.php
compact-queries.php
compact-style.php
general-body-plain.php
general-body.php
general-footer.php
general-header.php
general-queries.php
general-style.php
summary-body-plain.php
summary-body.php
summary-footer-plain.php
summary-footer.php
summary-header.php
summary-queries.php
summary-style.php
Create New File
Create
Edit File: summary-style.php
<?php /** * Email Summary style template. * * This template can be overridden by copying it to yourtheme/wpforms/emails/summary-style.php. * * @since 1.5.4 * @since 1.8.8 Removed `$header_image_max_width` parameter. * * @var string $email_background_color Background color for the email. */ if ( ! defined( 'ABSPATH' ) ) { exit; } require WPFORMS_PLUGIN_DIR . '/assets/css/emails/summary.min.css'; if ( ! empty( $email_background_color ) ) : ?> body, .body { background-color: <?php echo sanitize_hex_color( $email_background_color ); ?> !important; } <?php endif; ?>
Save Changes
Rename File
Rename