mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 15:31:21 +08:00
34 lines
No EOL
990 B
PHP
34 lines
No EOL
990 B
PHP
<?php $format = get_post_format(); ?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class('group post-standard'); ?>>
|
|
|
|
<div class="pad group">
|
|
|
|
<?php if ( get_theme_mod( 'format-icon', 'on' ) =='on' ): ?>
|
|
<div class="format-circle"><a href="<?php echo get_post_format_link($format); ?>"><i class="fa"></i></a></div>
|
|
<?php endif; ?>
|
|
|
|
<div class="post-category">
|
|
<?php the_category(' / '); ?>
|
|
</div><!--/.post-category-->
|
|
|
|
<h2 class="post-title">
|
|
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
|
</h2><!--/.post-title-->
|
|
|
|
<div class="post-date">
|
|
<i class="fa fa-clock-o"></i><?php the_time( get_option('date_format') ); ?>
|
|
</div><!--/.post-date-->
|
|
|
|
<?php get_template_part('inc/post-formats'); ?>
|
|
|
|
<div class="entry">
|
|
<?php
|
|
if ( is_search() ) { the_excerpt(); }
|
|
else the_content(esc_html__('Continue reading...','boxstyle'));
|
|
?>
|
|
</div><!--/.entry-->
|
|
|
|
</div><!--/.pad-->
|
|
|
|
</article><!--/.post-->
|