1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
<?php /** * Email Footer * * @author WooThemes * @package WooCommerce/Templates/Emails * @version 2.0.0 */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
// Load colours $base = get_option( 'woocommerce_email_base_color' );
$base_lighter_40 = wc_hex_lighter( $base, 40 );
// For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline. $template_footer = " border-top:0; -webkit-border-radius:6px; ";
$credit = " border:0; color: $base_lighter_40; font-family: Arial; font-size:12px; line-height:125%; text-align:center; "; ?> </div> </td> </tr> </table> <!-- End Content --> </td> </tr> </table> <!-- End Body --> </td> </tr> <tr> <td align="center" valign="top"> <!-- Footer --> <table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer" style="<?php echo $template_footer; ?>"> <tr> <td valign="top"> <table border="0" cellpadding="10" cellspacing="0" width="100%"> <tr> <td colspan="2" valign="middle" id="credit" style="<?php echo $credit; ?>"> <?php echo wpautop( wp_kses_post( wptexturize( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) ) ) ); ?> </td> </tr> </table> </td> </tr> </table> <!-- End Footer --> </td> </tr> </table> </td> </tr> </table> </div> </body> </html>
|