|
@@ 42-44 (lines=3) @@
|
| 39 |
|
if ( $attributes['showImage'] ) { |
| 40 |
|
$classes .= ' show-image'; |
| 41 |
|
} |
| 42 |
|
if ( $attributes['showImage'] && isset( $attributes['mediaPosition'] ) ) { |
| 43 |
|
$classes .= ' image-align' . $attributes['mediaPosition']; |
| 44 |
|
} |
| 45 |
|
if ( isset( $attributes['typeScale'] ) ) { |
| 46 |
|
$classes .= ' ts-' . $attributes['typeScale']; |
| 47 |
|
} |
|
@@ 48-50 (lines=3) @@
|
| 45 |
|
if ( isset( $attributes['typeScale'] ) ) { |
| 46 |
|
$classes .= ' ts-' . $attributes['typeScale']; |
| 47 |
|
} |
| 48 |
|
if ( $attributes['showImage'] && isset( $attributes['imageScale'] ) ) { |
| 49 |
|
$classes .= ' is-' . $attributes['imageScale']; |
| 50 |
|
} |
| 51 |
|
if ( $attributes['showImage'] ) { |
| 52 |
|
$classes .= ' is-' . $attributes['imageShape']; |
| 53 |
|
} |