adding divs w/ ids to email header template

This commit is contained in:
Patrick Rauland 2014-06-23 08:59:50 -05:00
parent 84163615d3
commit a7a0baea4f
1 changed files with 8 additions and 6 deletions

View File

@ -87,11 +87,13 @@ $header_content_h1 = "
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr>
<td align="center" valign="top">
<?php
if ( $img = get_option( 'woocommerce_email_header_image' ) ) {
echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name' ) . '" /></p>';
}
?>
<div id="template_header_image">
<?php
if ( $img = get_option( 'woocommerce_email_header_image' ) ) {
echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name' ) . '" /></p>';
}
?>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container" style="<?php echo $template_container; ?>">
<tr>
<td align="center" valign="top">
@ -117,4 +119,4 @@ $header_content_h1 = "
<table border="0" cellpadding="20" cellspacing="0" width="100%">
<tr>
<td valign="top">
<div style="<?php echo $body_content_inner; ?>">
<div style="<?php echo $body_content_inner; ?>">