PluginProbe
YayMail – WooCommerce Email Customizer / 3.4.2
YayMail – WooCommerce Email Customizer v3.4.2
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / includes / Templates / Elements / YayMail / Title.php

Title.php in YayMail – WooCommerce Email Customizer 3.4.2, at includes/Templates/Elements/YayMail/Title.php

44 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <table
2 width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
3 cellspacing="0"
4 cellpadding="0"
5 border="0"
6 align="center"
7 style="display: table; <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>; <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : esc_attr( 'width: 100%' ); ?>"
8 class="web-main-row"
9 id="web<?php echo esc_attr( $id ); ?>"
10 >
11 <tbody>
12 <tr>
13 <td
14 id="web-<?php echo esc_attr( $id ); ?>-title"
15 class="web-title"
16 align="<?php echo esc_attr( $attrs['align'] ); ?>"
17 style="word-break: break-word;
18 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
19 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;"
20 >
21 <?php if ( isset( $attrs['title'] ) ) : ?>
22 <h1
23 style='margin: 0px; line-height: normal; font-size: 26px;
24 <?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
25 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
26 <?php echo esc_attr( 'font-size: ' . $attrs['fontSizeTitle'] ); ?>;
27 '
28 ><?php echo wp_kses_post( $attrs['title'] ); ?></h1>
29 <?php endif; ?>
30 <div style="min-height: 8px"></div>
31 <?php if ( isset( $attrs['subTitle'] ) ) : ?>
32 <h4
33 style='font-weight: 500; margin-bottom: 0px; font-size: 16px; margin: 0px 0px 8px;
34 <?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
35 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
36 <?php echo esc_attr( 'font-size: ' . $attrs['fontSizeSubTitle'] ); ?>;
37 '
38 ><?php echo wp_kses_post( $attrs['subTitle'] ); ?></h4>
39 <?php endif; ?>
40 </td>
41 </tr>
42 </tbody>
43 </table>
44