add block-cache-manager.php
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
<!--[single/post-most-popular-item]-->
|
||||
|
||||
<div class="col-12 col-md-4 d-none" data-id="<?= get_the_ID() ?>">
|
||||
<?php $post_id = get_the_ID();?>
|
||||
|
||||
<a class="partners__item d-flex d-md-block" href="<?= the_permalink() ?>">
|
||||
<div class="col-12 col-md-4 d-none" data-id="<?php echo $post_id ?>">
|
||||
|
||||
<a class="partners__item d-flex d-md-block" href="<?php the_permalink() ?>">
|
||||
|
||||
<?php //get_template_part("template-parts/micro/post"); ?>
|
||||
|
||||
@@ -10,11 +12,19 @@
|
||||
|
||||
<figure>
|
||||
|
||||
<img loading="lazy"
|
||||
<?php if ( has_post_thumbnail($post_id) ): ?>
|
||||
<img loading="lazy"
|
||||
itemprop="image"
|
||||
class="d-block"
|
||||
src="<?= the_post_thumbnail_url("thumb-264"); ?>"
|
||||
alt="<?= htmlspecialchars( get_the_title() ) ?>" />
|
||||
<?php else:?>
|
||||
<img loading="lazy"
|
||||
itemprop="image"
|
||||
class="d-block"
|
||||
src="<?= wp_get_attachment_image_url(1357368, 'thumb-264');?>"
|
||||
alt="<?= htmlspecialchars( get_the_title() ) ?>" />
|
||||
<?php endif?>
|
||||
|
||||
</figure>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user