mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 16:32:31 +08:00
Initial commit
This commit is contained in:
commit
e40facb023
147 changed files with 49311 additions and 0 deletions
26
content-grid.php
Normal file
26
content-grid.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<li>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('entry group'); ?>>
|
||||
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('thumb-medium'); ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title(); ?>" />
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
<header class="entry-header">
|
||||
<div class="entry-category"><?php the_category(' / '); ?></div>
|
||||
<h2 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
|
||||
</h2><!--/.entry-title-->
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!--/.entry-->
|
||||
|
||||
<div class="entry-date updated"><i class="fa fa-clock-o"></i><?php the_time('j M, Y'); ?></div>
|
||||
|
||||
</article><!--/.entry-->
|
||||
</li>
|
Loading…
Add table
Add a link
Reference in a new issue