| 1 |
<table |
| 2 |
cellspacing="0" |
| 3 |
cellpadding="0" |
| 4 |
border="0" |
| 5 |
align="left" |
| 6 |
style="display: table; margin: 0px; width: 100%; padding: 0px; |
| 7 |
<?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?> |
| 8 |
" |
| 9 |
id="web-<?php echo esc_attr( $id ); ?>-col-<?php echo esc_attr( $col ); ?>" |
| 10 |
class="'web-col-<?php echo esc_attr( $col ); ?>-wrap'" |
| 11 |
> |
| 12 |
<tbody> |
| 13 |
<tr |
| 14 |
class="web-row-text" |
| 15 |
> |
| 16 |
<td |
| 17 |
align="left" |
| 18 |
style='line-height: 22px; word-break: break-word; |
| 19 |
<?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>; |
| 20 |
font-family: <?php echo wp_kses_post( $attrs[ 'col' . $col . 'TtFamily' ] ); ?>; |
| 21 |
<?php echo esc_attr( 'padding: ' . $attrs[ 'col' . $col . 'TtPaddingTop' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingRight' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingBottom' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingLeft' ] . 'px;' ); ?> |
| 22 |
' |
| 23 |
> |
| 24 |
<div style="min-height: 15px"> |
| 25 |
<?php echo wp_kses_post( $attrs[ 'col' . $col . 'TtContent' ] ); ?> |
| 26 |
</div> |
| 27 |
</td> |
| 28 |
</tr> |
| 29 |
<?php |
| 30 |
if ( 'show' === $attrs[ 'buttonCol' . $col ] ) : |
| 31 |
; |
| 32 |
?> |
| 33 |
<tr |
| 34 |
class="web-row-button" |
| 35 |
> |
| 36 |
<td |
| 37 |
style=" |
| 38 |
<?php echo esc_attr( 'padding: ' . $attrs[ 'col' . $col . 'BtPaddingTop' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingRight' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingBottom' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingLeft' ] . 'px;' ); ?> |
| 39 |
" |
| 40 |
> |
| 41 |
<table |
| 42 |
align="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtAlign' ] ); ?>" |
| 43 |
cellspacing="0" |
| 44 |
cellpadding="0" |
| 45 |
border="0" |
| 46 |
width="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtWidthButton' ] . '%' ); ?>" |
| 47 |
> |
| 48 |
<tbody> |
| 49 |
<tr> |
| 50 |
<td |
| 51 |
style="margin: 10px; word-break: break-word;" |
| 52 |
class="web-button-wrap" |
| 53 |
> |
| 54 |
<a |
| 55 |
href="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtPathUrl' ] ); ?>" |
| 56 |
class="web-button" |
| 57 |
style='line-height: 21px; border-radius: 6px; text-align: center; text-decoration: none; display: block; margin: 0px; padding: 12px 20px; |
| 58 |
font-family: <?php echo wp_kses_post( $attrs[ 'col' . $col . 'BtFamily' ] ); ?>; |
| 59 |
<?php echo esc_attr( 'background-color: ' . $attrs[ 'col' . $col . 'BtBgColor' ] ); ?>; |
| 60 |
<?php echo esc_attr( 'font-size: ' . $attrs[ 'col' . $col . 'BtFontSize' ] . 'px' ); ?>; |
| 61 |
<?php echo esc_attr( 'color: ' . $attrs[ 'col' . $col . 'BtTextColor' ] ); ?>; |
| 62 |
<?php echo esc_attr( 'font-weight: ' . $attrs[ 'col' . $col . 'BtWeight' ] ); ?> |
| 63 |
' |
| 64 |
><?php echo wp_kses_post( $attrs[ 'col' . $col . 'BtText' ] ); ?></a> |
| 65 |
</td> |
| 66 |
</tr> |
| 67 |
</tbody> |
| 68 |
</table> |
| 69 |
</td> |
| 70 |
</tr> |
| 71 |
<?php endif; ?> |
| 72 |
</tbody> |
| 73 |
</table> |
| 74 |
|
| 75 |
|