Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/wpforms-.../template.../emails
File: classic-header.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Classic header template.
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to yourtheme/wpforms/emails/classic-header.php.
[4] Fix | Delete
*
[5] Fix | Delete
* @since 1.8.5
[6] Fix | Delete
*
[7] Fix | Delete
* @var string $title Email title.
[8] Fix | Delete
* @var array $header_image Header image arguments.
[9] Fix | Delete
*/
[10] Fix | Delete
[11] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[12] Fix | Delete
exit; // Exit if accessed directly.
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
?>
[16] Fix | Delete
[17] Fix | Delete
<!DOCTYPE html>
[18] Fix | Delete
<html <?php language_attributes(); ?>>
[19] Fix | Delete
<head>
[20] Fix | Delete
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>">
[21] Fix | Delete
<meta content="width=device-width, initial-scale=1.0" name="viewport">
[22] Fix | Delete
<meta http-equiv="X-UA-Compatible" content="IE=edge">
[23] Fix | Delete
<meta name="color-scheme" content="light dark">
[24] Fix | Delete
<title><?php echo esc_html( $title ); ?></title>
[25] Fix | Delete
</head>
[26] Fix | Delete
<body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" bgcolor="#e9eaec" class="<?php echo is_rtl() ? 'rtl' : 'ltr'; ?>">
[27] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="body" role="presentation">
[28] Fix | Delete
<tr>
[29] Fix | Delete
<td><!-- Deliberately empty to support consistent sizing and layout across multiple email clients. --></td>
[30] Fix | Delete
<td align="center" valign="top" class="body-inner" width="660">
[31] Fix | Delete
<div class="wrapper" width="100%" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'; ?>">
[32] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="container" role="presentation">
[33] Fix | Delete
<?php if ( ! empty( $header_image['url_dark'] ) ) : ?>
[34] Fix | Delete
<tr class="header-wrapper dark-mode">
[35] Fix | Delete
<td align="center" valign="middle" class="header">
[36] Fix | Delete
<div class="header-image has-image-size-<?php echo ! empty( $header_image['size_dark'] ) ? esc_attr( $header_image['size_dark'] ) : 'medium'; ?>">
[37] Fix | Delete
<img src="<?php echo esc_url( $header_image['url_dark'] ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" />
[38] Fix | Delete
</div>
[39] Fix | Delete
</td>
[40] Fix | Delete
</tr>
[41] Fix | Delete
<?php endif; ?>
[42] Fix | Delete
<?php if ( ! empty( $header_image['url_light'] ) ) : ?>
[43] Fix | Delete
<tr class="header-wrapper light-mode">
[44] Fix | Delete
<td align="center" valign="middle" class="header">
[45] Fix | Delete
<div class="header-image has-image-size-<?php echo ! empty( $header_image['size_light'] ) ? esc_attr( $header_image['size_light'] ) : 'medium'; ?>">
[46] Fix | Delete
<img src="<?php echo esc_url( $header_image['url_light'] ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" />
[47] Fix | Delete
</div>
[48] Fix | Delete
</td>
[49] Fix | Delete
</tr>
[50] Fix | Delete
<?php endif; ?>
[51] Fix | Delete
<tr>
[52] Fix | Delete
<td class="wrapper-inner" bgcolor="#ffffff">
[53] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" width="100%" role="presentation">
[54] Fix | Delete
<tr>
[55] Fix | Delete
<td valign="top" class="content">
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function