mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 16:08:54 +08:00
60 lines
No EOL
2.2 KiB
PHP
60 lines
No EOL
2.2 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<div class="content">
|
|
<div class="pad group">
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<article <?php post_class('entry boxed group'); ?>>
|
|
|
|
<?php get_template_part('inc/post-formats'); ?>
|
|
|
|
<div class="pad group">
|
|
|
|
<header class="entry-header">
|
|
<div class="entry-category"><?php the_category(' / '); ?></div>
|
|
<h2 class="entry-title">
|
|
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
|
</h2><!--/.entry-title-->
|
|
</header>
|
|
|
|
<div class="entry-content themeform">
|
|
<?php the_content(); ?>
|
|
<?php wp_link_pages(array('before'=>'<div class="entry-pages">'.esc_html__('Pages:','blogrow'),'after'=>'</div>')); ?>
|
|
<div class="clear"></div>
|
|
<?php the_tags('<p class="entry-tags"><span>'.esc_html__('Tags:','blogrow').'</span> ','','</p>'); ?>
|
|
</div><!--/.entry-->
|
|
|
|
<div class="entry-date updated"><i class="fa fa-clock-o"></i><?php the_time( get_option('date_format') ); ?></div>
|
|
|
|
</div><!--/.pad-->
|
|
|
|
<?php do_action( 'alx_ext_sharrre' ); ?>
|
|
|
|
<?php if ( ( get_theme_mod( 'author-bio', 'on' ) == 'on' ) && get_the_author_meta( 'description' ) ): ?>
|
|
<div class="author-bio pad">
|
|
<div class="bio-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></div>
|
|
<div class="bio-name"><?php the_author_meta('display_name'); ?></div>
|
|
<div class="bio-desc"><?php the_author_meta('description'); ?></div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
</article><!--/.entry-->
|
|
|
|
<div class="boxed">
|
|
<?php if ( get_theme_mod( 'post-nav', 'on' ) == 'on' ) { get_template_part('inc/post-nav'); } ?>
|
|
<?php if ( get_theme_mod( 'related-posts', 'categories' ) != 'disable' ) { get_template_part('inc/related-posts'); } ?>
|
|
</div><!--/.boxed-->
|
|
|
|
<div class="boxed pad">
|
|
<?php if ( comments_open() || get_comments_number() ) : comments_template( '/comments.php', true ); endif; ?>
|
|
</div><!--/.pad-->
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</div><!--/.pad-->
|
|
</div><!--/.content-->
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
<?php get_footer(); ?>
|