Initial commit: WordPress wp-content (themes, plugins, languages)
- Theme: momentry (custom theme with REST API routes) - Plugins: code-snippets (contains all API proxies) - Languages: zh_TW translations - Excludes: cache, backups, uploads, logs
This commit is contained in:
30
plugins/wpforms-lite/templates/emails/general-style.php
Normal file
30
plugins/wpforms-lite/templates/emails/general-style.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* General style template.
|
||||
*
|
||||
* This template can be overridden by copying it to yourtheme/wpforms/emails/general-style.php.
|
||||
*
|
||||
* @since 1.5.4
|
||||
*
|
||||
* @version 1.5.4
|
||||
*
|
||||
* @var string $email_background_color
|
||||
*/
|
||||
|
||||
if ( ! \defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
require \WPFORMS_PLUGIN_DIR . '/assets/css/emails/general.min.css';
|
||||
|
||||
?>
|
||||
|
||||
body, .body {
|
||||
background-color: <?php echo \esc_attr( $email_background_color ); ?>;
|
||||
}
|
||||
|
||||
<?php if ( ! empty( $header_image_max_width ) ) : ?>
|
||||
.header img {
|
||||
max-width: <?php echo esc_attr( $header_image_max_width ); ?>px;
|
||||
}
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user