add files
This commit is contained in:
39
template-parts/home/cell.php
Normal file
39
template-parts/home/cell.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--[home/cell(wide => <?= $args["wide"] ?>)]-->
|
||||
|
||||
<div class="col-12 col-md-4 col-xl-<?= $args["wide"] ? 6 : 3 ?> float-left">
|
||||
|
||||
<?php //get_template_part("template-parts/micro/post"); ?>
|
||||
|
||||
<div class="article cell">
|
||||
|
||||
<a class="article__frame <?= $args["wide"] ? "article__frame--wide" : "" ?>" href="<?= the_permalink() ?>" title="<?= htmlspecialchars( get_the_title() ) ?>">
|
||||
|
||||
<?php get_template_part("template-parts/home/cell-image"); ?>
|
||||
|
||||
</a>
|
||||
|
||||
<?php get_template_part("template-parts/post/cell-sticker"); ?>
|
||||
|
||||
<div class="article__body">
|
||||
|
||||
<?php get_template_part("template-parts/post/cell-date"); ?>
|
||||
|
||||
<a class="article__title" href="<?= the_permalink() ?>" title="<?= htmlspecialchars( get_the_title() ) ?>">
|
||||
|
||||
<?= the_title() ?>
|
||||
|
||||
</a>
|
||||
|
||||
<div class="article__detail">
|
||||
|
||||
<?php get_template_part("template-parts/post/cell-author"); ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[/home/cell(wide => <?= $args["wide"] ?>)]-->
|
||||
Reference in New Issue
Block a user