add files
This commit is contained in:
16
content-gallery-cell.php
Normal file
16
content-gallery-cell.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
$cat = get_the_category();
|
||||
$cat = $cat[0];
|
||||
?>
|
||||
<div class="col-12 col-xl-6 float-left">
|
||||
<div class="article cell cell--main">
|
||||
<a class="article__frame" href="<?php echo esc_url( get_permalink() ); ?>">
|
||||
<img loading="lazy" class="d-block" src="<?php echo get_the_post_thumbnail_url(); ?>" alt="<?php the_title(); ?>" />
|
||||
</a>
|
||||
<div class="article__body">
|
||||
<a class="article__title article__title--lg" href="<?php echo esc_url( get_permalink() ); ?>">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user