| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email Footer |
| 4 |
* |
| 5 |
* Override this template by copying it to yourtheme/charitable/emails/footer.php |
| 6 |
* |
| 7 |
* @author Studio 164a |
| 8 |
* @package Charitable/Templates/Emails |
| 9 |
* @version 1.0.0 |
| 10 |
*/ |
| 11 |
|
| 12 |
// Exit if accessed directly. |
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; |
| 15 |
} |
| 16 |
|
| 17 |
// 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. |
| 18 |
$template_footer = " |
| 19 |
border-top:0; |
| 20 |
-webkit-border-radius:3px; |
| 21 |
"; |
| 22 |
|
| 23 |
$credit = " |
| 24 |
border:0; |
| 25 |
color: #000000; |
| 26 |
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 27 |
font-size:12px; |
| 28 |
line-height:125%; |
| 29 |
text-align:center; |
| 30 |
"; |
| 31 |
?> |
| 32 |
</div> |
| 33 |
</td> |
| 34 |
</tr> |
| 35 |
</table> |
| 36 |
<!-- End Content --> |
| 37 |
</td> |
| 38 |
</tr> |
| 39 |
</table> |
| 40 |
<!-- End Body --> |
| 41 |
</td> |
| 42 |
</tr> |
| 43 |
<tr> |
| 44 |
<td align="center" valign="top"> |
| 45 |
<!-- Footer --> |
| 46 |
<table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer" style="<?php echo $template_footer; ?>"> |
| 47 |
<tr> |
| 48 |
<td valign="top"> |
| 49 |
<table border="0" cellpadding="10" cellspacing="0" width="100%"> |
| 50 |
<tr> |
| 51 |
<td colspan="2" valign="middle" id="credit" style="<?php echo $credit; ?>"> |
| 52 |
<?php |
| 53 |
echo wpautop( |
| 54 |
wp_kses_post( |
| 55 |
wptexturize( |
| 56 |
/** |
| 57 |
* Filter the email footer text & link. |
| 58 |
* |
| 59 |
* @since 1.0.0 |
| 60 |
* |
| 61 |
* @param string $text The default text. |
| 62 |
*/ |
| 63 |
apply_filters( 'charitable_email_footer_text', '<a href="' . esc_url( home_url() ) . '">' . get_bloginfo( 'name' ) . '</a>' ) |
| 64 |
) |
| 65 |
) |
| 66 |
); |
| 67 |
?> |
| 68 |
</td> |
| 69 |
</tr> |
| 70 |
</table> |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
</table> |
| 74 |
<!-- End Footer --> |
| 75 |
</td> |
| 76 |
</tr> |
| 77 |
</table> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
</table> |
| 81 |
</div> |
| 82 |
</body> |
| 83 |
</html> |
| 84 |
|