Compare commits
2 Commits
6adc9eb7a7
...
2cab09f734
| Author | SHA1 | Date | |
|---|---|---|---|
| 2cab09f734 | |||
| fd7f698c06 |
@@ -28,7 +28,7 @@ usort($wardCandidates, function($a, $b) {
|
||||
|
||||
if (count($wardCandidates) == 0) continue;
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"grid","columnCount":3}} -->
|
||||
<!-- wp:group {"layout":{"type":"grid","columnCount":4}} -->
|
||||
<div class="wp-block-group">
|
||||
<?php foreach ($wardCandidates as $index => $candidate): ?>
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
|
||||
@@ -41,8 +41,8 @@ if (count($wardCandidates) == 0) continue;
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- wp:image {"id":<?php echo $candidate_image['id']; ?>,"aspectRatio":"1","scale":"cover","style":{"color":{}}} -->
|
||||
<figure class="wp-block-image"><img src="<?php echo $candidate_image['url']; ?>" alt="" class="wp-image-<?php echo $candidate_image['id']; ?>" style="aspect-ratio:1;object-fit:cover"/></figure>
|
||||
<!-- wp:image {"id":<?php echo $candidate_image['id']; ?>,"width":"auto","height":"200px","aspectRatio":"1","scale":"cover","style":{"color":{}}} -->
|
||||
<figure class="wp-block-image is-resized"><img src="<?php echo $candidate_image['url']; ?>" alt="" class="wp-image-<?php echo $candidate_image['id']; ?>" style="aspect-ratio:1;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"fontSize":"medium"} -->
|
||||
|
||||
Reference in New Issue
Block a user