push changes, and removed comments
This commit is contained in:
@ -17,7 +17,7 @@ $author_url = get_the_author_meta( 'user_url' );
|
||||
<?php if ( $author_avatar ) { ?>
|
||||
<div itemprop="image" class="mt-author__avatar">
|
||||
<?php echo wp_kses_post( $author_avatar ); ?>
|
||||
</div><!-- .mt-author-avatar -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="mt-author-info">
|
||||
@ -28,7 +28,7 @@ $author_url = get_the_author_meta( 'user_url' );
|
||||
<?php if ( $author_bio ) { ?>
|
||||
<div class="mt-author-bio">
|
||||
<?php echo wp_kses_post( $author_bio ); ?>
|
||||
</div><!-- .mt-author-bio -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="mt-author-meta">
|
||||
@ -36,8 +36,8 @@ $author_url = get_the_author_meta( 'user_url' );
|
||||
<div class="mt-author-website">
|
||||
<span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>:</span>
|
||||
<a href="<?php echo esc_url( $author_url ); ?>" target="_blank"><?php echo esc_url( $author_url ); ?></a>
|
||||
</div><!-- .mt-author-website -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div><!-- .mt-author-meta -->
|
||||
</div><!-- .mt-author-info -->
|
||||
</div><!-- .mt-author-bio -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -12,7 +12,7 @@
|
||||
<section class="no-results not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'sophia-after-dark' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
</header>
|
||||
|
||||
<div class="page-content">
|
||||
<?php
|
||||
@ -41,5 +41,5 @@
|
||||
get_search_form();
|
||||
endif;
|
||||
?>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .no-results -->
|
||||
</div>
|
||||
</section>
|
@ -18,7 +18,7 @@
|
||||
'after' => '</div>',
|
||||
) );
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</div>
|
||||
|
||||
<?php if ( get_edit_post_link() ) : ?>
|
||||
<footer class="entry-footer">
|
||||
@ -40,6 +40,6 @@
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</footer>
|
||||
<?php endif; ?>
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</article>
|
@ -20,7 +20,7 @@ if ( has_post_thumbnail() ) {
|
||||
echo '<div class="thumb-cat-wrap">';
|
||||
sophia_after_dark_post_thumbnail();
|
||||
sophia_after_dark_article_categories_list();
|
||||
echo '</div><!-- .thumb-cat-wrap -->';
|
||||
echo '</div>';
|
||||
if ( 'post' === get_post_type() ) {
|
||||
?>
|
||||
<div class="entry-cat">
|
||||
@ -28,12 +28,12 @@ if ( has_post_thumbnail() ) {
|
||||
sophia_after_dark_posted_on();
|
||||
sophia_after_dark_posted_by();
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
@ -54,9 +54,9 @@ if ( has_post_thumbnail() ) {
|
||||
) );
|
||||
}
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</div>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php sophia_after_dark_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</footer>
|
||||
</article>
|
@ -31,8 +31,8 @@ if ( has_post_thumbnail() ) {
|
||||
?>
|
||||
</div>
|
||||
<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
|
||||
</div><!--.post-info-wrap -->
|
||||
</div><!-- .post-thumbnail -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
@ -53,10 +53,10 @@ if ( has_post_thumbnail() ) {
|
||||
'after' => '</div>',
|
||||
) );
|
||||
?>
|
||||
</div> <!-- .entry-content -->
|
||||
</div>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php sophia_after_dark_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</footer>
|
||||
<?php get_template_part( 'template-parts/author/post', 'author-box' ); ?>
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</article>
|
@ -29,7 +29,7 @@ if ( $current_post < 3 && 'mt-archive--masonry-style' === $archive_style ) {
|
||||
echo '<div class="thumb-cat-wrap">';
|
||||
sophia_after_dark_post_thumbnail();
|
||||
sophia_after_dark_article_categories_list();
|
||||
echo '</div><!-- .thumb-cat-wrap -->';
|
||||
echo '</div>';
|
||||
if ( 'post' === get_post_type() ) {
|
||||
?>
|
||||
<div class="entry-cat">
|
||||
@ -37,12 +37,12 @@ if ( $current_post < 3 && 'mt-archive--masonry-style' === $archive_style ) {
|
||||
sophia_after_dark_posted_on();
|
||||
sophia_after_dark_posted_by();
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
@ -63,9 +63,9 @@ if ( $current_post < 3 && 'mt-archive--masonry-style' === $archive_style ) {
|
||||
) );
|
||||
}
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</div>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php sophia_after_dark_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</footer>
|
||||
</article>
|
@ -18,7 +18,7 @@ if ( has_post_thumbnail() ) {
|
||||
echo '<div class="thumb-cat-wrap">';
|
||||
sophia_after_dark_post_thumbnail();
|
||||
sophia_after_dark_article_categories_list();
|
||||
echo '</div><!-- .thumb-cat-wrap -->';
|
||||
echo '</div>';
|
||||
if ( 'post' === get_post_type() ) {
|
||||
?>
|
||||
<div class="entry-cat">
|
||||
@ -26,14 +26,14 @@ if ( has_post_thumbnail() ) {
|
||||
sophia_after_dark_posted_on();
|
||||
sophia_after_dark_posted_by();
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
</header>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php sophia_after_dark_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</footer>
|
||||
</article>
|
@ -37,8 +37,8 @@ if ( $related_posts_query->have_posts() ) {
|
||||
get_template_part( 'template-parts/related/content', 'related' );
|
||||
}
|
||||
?>
|
||||
</div><!-- .mt-related-posts-wrapper -->
|
||||
</section><!-- .mt-single-related-posts -->
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
wp_reset_postdata();
|
||||
|
Reference in New Issue
Block a user