push changes, and removed comments

This commit is contained in:
Sophia Atkinson 2024-04-15 17:03:43 -07:00
parent a63e80f9e4
commit de7a7fcc50
Signed by: Sophia
GPG Key ID: 73928E5CCCD28BE1
28 changed files with 155 additions and 155 deletions

12
404.php
View File

@ -19,10 +19,10 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
<div class="error-num"><span><?php esc_html_e( 'Error', 'sophia-after-dark' );?>&nbsp;</span><?php esc_html_e( '404', 'sophia-after-dark' ); ?></div> <div class="error-num"><span><?php esc_html_e( 'Error', 'sophia-after-dark' );?>&nbsp;</span><?php esc_html_e( '404', 'sophia-after-dark' ); ?></div>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'sophia-after-dark' ); ?></h1> <h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'sophia-after-dark' ); ?></h1>
</header><!-- .page-header --> </header>
<div class="page-content"> <div class="page-content">
<p><?php esc_html_e( 'It looks like nothing was found at this location.', 'sophia-after-dark' ); ?></p> <p><?php esc_html_e( 'It looks like nothing was found at this location.', 'sophia-after-dark' ); ?></p>
</section><!-- .error-404 --> </section>
<?php if ( true === $sophia_after_dark_pnf_latest_posts ) { ?> <?php if ( true === $sophia_after_dark_pnf_latest_posts ) { ?>
<div class="page-extra-content mt-404-latest-posts-wrapper"> <div class="page-extra-content mt-404-latest-posts-wrapper">
@ -49,16 +49,16 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
get_template_part( 'template-parts/content', 'related' ); get_template_part( 'template-parts/content', 'related' );
} }
echo '</div><!-- .mt-pnf-latest-posts-wrapper -->'; echo '</div>';
} }
wp_reset_postdata(); wp_reset_postdata();
?> ?>
</div><!-- .page-extra-content --> </div>
<?php } ?> <?php } ?>
</main><!-- #main --> </main>
</div><!-- #primary --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -39,8 +39,8 @@ get_header();
if ( 'mt-archive--masonry-style' === $archive_style ) { if ( 'mt-archive--masonry-style' === $archive_style ) {
?> ?>
</div><!-- #mt-masonry --> </div>
</div><!-- .sophia-after-dark-content-masonry --> </div>
<?php <?php
} }
@ -51,13 +51,13 @@ get_header();
endif; endif;
if ( 'mt-archive--block-grid-style' === $archive_style ) { if ( 'mt-archive--block-grid-style' === $archive_style ) {
echo '</div><!-- .archive-grid-post-wrapper -->'; echo '</div>';
} }
?> ?>
</main><!-- #main --> </main>
</div><!-- #primary --> </div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .mt-page-content-wrapper --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -44,7 +44,7 @@ if ( post_password_required() ) {
); );
} }
?> ?>
</h2><!-- .comments-title --> </h2>
<?php the_comments_navigation(); ?> <?php the_comments_navigation(); ?>
@ -55,7 +55,7 @@ if ( post_password_required() ) {
'short_ping' => true, 'short_ping' => true,
) ); ) );
?> ?>
</ol><!-- .comment-list --> </ol>
<?php <?php
the_comments_navigation(); the_comments_navigation();
@ -72,4 +72,4 @@ if ( post_password_required() ) {
comment_form(); comment_form();
?> ?>
</div><!-- #comments --> </div>

View File

@ -11,8 +11,8 @@
*/ */
?> ?>
</div> <!-- mt-container --> </div>
</div><!-- #content --> </div>
<?php <?php
/** /**
@ -45,7 +45,7 @@
do_action( 'sophia_after_dark_scroll_top' ); do_action( 'sophia_after_dark_scroll_top' );
?> ?>
</div><!-- #page --> </div>
<?php <?php
/** /**

View File

@ -352,8 +352,8 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
<a class="mt-repeater-field-remove" href="#remove"><?php esc_html_e( 'Delete', 'sophia-after-dark' ) ?></a> | <a class="mt-repeater-field-remove" href="#remove"><?php esc_html_e( 'Delete', 'sophia-after-dark' ) ?></a> |
<a class="mt-repeater-field-close" href="#close"><?php esc_html_e( 'Close', 'sophia-after-dark' ) ?></a> <a class="mt-repeater-field-close" href="#close"><?php esc_html_e( 'Close', 'sophia-after-dark' ) ?></a>
</div> </div>
</div><!-- .mt-repeater-footer --> </div>
</div><!-- .mt-repeater-fields--> </div>
</li> </li>
<?php <?php
} }

View File

@ -42,7 +42,7 @@ if ( ! function_exists( 'sophia_after_dark_site_branding' ) ) :
?> ?>
<p class="site-description"><?php echo $sophia_after_dark_description; /* WPCS: xss ok. */ ?></p> <p class="site-description"><?php echo $sophia_after_dark_description; /* WPCS: xss ok. */ ?></p>
<?php endif; ?> <?php endif; ?>
</div><!-- .site-branding --> </div>
<div class="header-widget-wrapper"> <div class="header-widget-wrapper">
<?php <?php
if ( is_active_sidebar( 'header-ads-section' ) ) { if ( is_active_sidebar( 'header-ads-section' ) ) {
@ -50,8 +50,8 @@ if ( ! function_exists( 'sophia_after_dark_site_branding' ) ) :
} }
?> ?>
</div> </div>
</div> <!-- mt-container --> </div>
</div><!-- .logo-ads-wrap --> </div>
<?php <?php
} }
@ -86,7 +86,7 @@ if ( ! function_exists( 'sophia_after_dark_header_main_menu' ) ) :
'menu_id' => 'primary-menu', 'menu_id' => 'primary-menu',
) ); ) );
?> ?>
</nav><!-- #site-navigation --> </nav>
</div> </div>
<?php <?php
} }
@ -144,8 +144,8 @@ if ( ! function_exists( 'sophia_after_dark_menu_search_icon' ) ) :
<?php get_search_form(); ?> <?php get_search_form(); ?>
<div class="mt-form-close"><a href="javascript:void(0)"><i class="fa fa-close"></i></a></div> <div class="mt-form-close"><a href="javascript:void(0)"><i class="fa fa-close"></i></a></div>
</div><!-- .mt-form-wrap --> </div>
</div><!-- .mt-menu-search --> </div>
<?php <?php
} }
@ -157,7 +157,7 @@ if ( ! function_exists( 'sophia_after_dark_menu_icon_wrapper_end' ) ) :
* function to end icon wrapper * function to end icon wrapper
*/ */
function sophia_after_dark_menu_icon_wrapper_end() { function sophia_after_dark_menu_icon_wrapper_end() {
echo '</div><!-- .mt-social-search-wrapper -->'; echo '</div>';
} }
endif; endif;
@ -168,8 +168,8 @@ if ( ! function_exists( 'sophia_after_dark_menu_wrapper_end' ) ) :
* function to end menu wrapper * function to end menu wrapper
*/ */
function sophia_after_dark_menu_wrapper_end() { function sophia_after_dark_menu_wrapper_end() {
echo '</div><!--.mt-container -->'; echo '</div>';
echo '</div><!--.mt-social-menu-wrapper -->'; echo '</div>';
} }
endif; endif;
@ -180,8 +180,8 @@ if ( ! function_exists( 'sophia_after_dark_main_header_end' ) ) :
* function to end header section * function to end header section
*/ */
function sophia_after_dark_main_header_end() { function sophia_after_dark_main_header_end() {
echo '</div><!--.mt-logo-row-wrapper -->'; echo '</div>';
echo '</header><!-- #masthead -->'; echo '</header>';
} }
endif; endif;
@ -232,8 +232,8 @@ if ( ! function_exists( 'sophia_after_dark_header_categories_lists_content' ) )
} }
} }
?> ?>
</ul><!-- .mt-slide-cat-lists --> </ul>
</div><!-- .mt-header-cat-list-wrapper --> </div>
<?php <?php
} }
@ -254,8 +254,8 @@ if ( ! function_exists( 'sophia_after_dark_header_author_box_content' ) ) :
<div class="author-description"><?php echo wp_kses_post( wpautop( get_the_author_meta( 'description', $sophia_after_dark_user_id ) ) ); ?></div> <div class="author-description"><?php echo wp_kses_post( wpautop( get_the_author_meta( 'description', $sophia_after_dark_user_id ) ) ); ?></div>
<div class="author-social"> <div class="author-social">
<?php sophia_after_dark_social_media_content(); ?> <?php sophia_after_dark_social_media_content(); ?>
</div><!-- .author-social --> </div>
</div><!-- .author-bio-wrap --> </div>
<?php <?php
} }
@ -362,8 +362,8 @@ if ( ! function_exists( 'sophia_after_dark_innerpage_header_end' ) ) :
*/ */
function sophia_after_dark_innerpage_header_end() { function sophia_after_dark_innerpage_header_end() {
?> ?>
</div><!-- .mt-container --> </div>
</div><!-- .custom-header --> </div>
<?php <?php
} }
@ -434,20 +434,20 @@ if ( ! function_exists( 'sophia_after_dark_front_slider' ) ) :
?> ?>
</div> </div>
<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?> <?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
</div><!--.post-info-wrap --> </div>
</div><!-- .slider-post-wrap --> </div>
<?php <?php
endwhile; endwhile;
endif; endif;
?> ?>
</div><!-- .front-slider --> </div>
</div> <!-- .front-slider-block --> </div>
<?php <?php
if ( true == $sophia_after_dark_section_top_featured_posts_option ) { if ( true == $sophia_after_dark_section_top_featured_posts_option ) {
$sophia_after_dark_top_featured_posts_title = get_theme_mod( 'sophia_after_dark_top_featured_posts_title', __( 'Featured News', 'sophia-after-dark' ) ); $sophia_after_dark_top_featured_posts_title = get_theme_mod( 'sophia_after_dark_top_featured_posts_title', __( 'Featured News', 'sophia-after-dark' ) );
echo '<div class="top-featured-post-main-wrapper">'; echo '<div class="top-featured-post-main-wrapper">';
if ( ! empty( $sophia_after_dark_top_featured_posts_title ) ) { if ( ! empty( $sophia_after_dark_top_featured_posts_title ) ) {
echo '<div class="features-post-title">'.esc_html( $sophia_after_dark_top_featured_posts_title ).'</div><!-- .features-post-title -->'; echo '<div class="features-post-title">'.esc_html( $sophia_after_dark_top_featured_posts_title ).'</div>';
} }
$sophia_after_dark_top_featured_post_order = get_theme_mod( 'sophia_after_dark_top_featured_post_order', 'default' ); $sophia_after_dark_top_featured_post_order = get_theme_mod( 'sophia_after_dark_top_featured_post_order', 'default' );
@ -480,19 +480,19 @@ if ( ! function_exists( 'sophia_after_dark_front_slider' ) ) :
</div> </div>
<header class="entry-header"> <header class="entry-header">
<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?> <?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
</header><!-- .entry-header --> </header>
</div> </div>
</div><!-- #post-<?php the_ID(); ?> --> </div>
<?php <?php
$featured_post_count ++; $featured_post_count ++;
endwhile; endwhile;
echo '</div><!-- .top-featured-post-wrap -->'; echo '</div>';
endif; endif;
echo '</div><!-- .top-featured-post-main-wrapper -->'; echo '</div>';
} }
?> ?>
</div> </div>
</div><!-- .front-slider-wrapper --> </div>
<?php <?php
} }
@ -547,7 +547,7 @@ if ( ! function_exists( 'sophia_after_dark_bottom_footer' ) ) :
'depth' => 1 'depth' => 1
) ); ) );
?> ?>
</nav><!-- #footer-navigation --> </nav>
<?php <?php
} }
?> ?>
@ -566,9 +566,9 @@ if ( ! function_exists( 'sophia_after_dark_bottom_footer' ) ) :
echo esc_html( $sophia_after_dark_footer_disclaimer ); echo esc_html( $sophia_after_dark_footer_disclaimer );
?> ?>
</span> </span>
</div><!-- .site-info --> </div>
</div><!-- .mt-container --> </div>
</div><!-- #bottom-footer --> </div>
<?php <?php
} }
@ -580,7 +580,7 @@ if ( ! function_exists( 'sophia_after_dark_footer_end' ) ) :
* function to end footer wrapper * function to end footer wrapper
*/ */
function sophia_after_dark_footer_end() { function sophia_after_dark_footer_end() {
echo '</footer><!-- #colophon -->'; echo '</footer>';
} }
endif; endif;

View File

@ -24,8 +24,8 @@ if ( ! function_exists( 'sophia_after_dark_top_header_end' ) ) :
* function to end top header section * function to end top header section
*/ */
function sophia_after_dark_top_header_end() { function sophia_after_dark_top_header_end() {
echo '</div><!-- mt-container -->'; echo '</div>';
echo '</div><!-- #top-header -->'; echo '</div>';
} }
endif; endif;
@ -68,8 +68,8 @@ if ( ! function_exists( 'sophia_after_dark_trending_section' ) ) :
echo '</span>'; echo '</span>';
} }
?> ?>
</div><!-- .tags-wrapper --> </div>
</div><!-- .trending-wrapper --> </div>
<?php <?php
} }
@ -103,8 +103,8 @@ if ( ! function_exists( 'sophia_after_dark_top_header_nav' ) ) :
'fallback_cb' => false, 'fallback_cb' => false,
) ); ) );
?> ?>
</nav><!-- #site-navigation --> </nav>
</div><!-- .top-header-nav --> </div>
<?php <?php
} }

View File

@ -87,8 +87,8 @@ function sophia_after_dark_sidebar_callback( $post ) {
<img src="<?php echo esc_url( $field['thumbnail'] ); ?>" title="<?php echo esc_attr( $field['label'] ); ?>" alt="<?php echo esc_attr( $field['label'] ); ?>" /> <img src="<?php echo esc_url( $field['thumbnail'] ); ?>" title="<?php echo esc_attr( $field['label'] ); ?>" alt="<?php echo esc_attr( $field['label'] ); ?>" />
</label> </label>
<?php } ?> <?php } ?>
</div><!-- .buttonset --> </div>
</div><!-- .mt-meta-options-wrap --> </div>
<?php <?php
} }

View File

@ -189,8 +189,8 @@ if ( ! function_exists( 'sophia_after_dark_preloader' ) ) :
<div id="preloader-background"> <div id="preloader-background">
<div class="preloader-wrapper"> <div class="preloader-wrapper">
<div class="sk-spinner sk-spinner-pulse"></div> <div class="sk-spinner sk-spinner-pulse"></div>
</div><!-- .preloader-wrapper --> </div>
</div><!-- #preloader-background --> </div>
<?php <?php
} }

View File

@ -200,7 +200,7 @@ if ( ! function_exists( 'sophia_after_dark_post_thumbnail' ) ) :
<div class="post-thumbnail"> <div class="post-thumbnail">
<?php the_post_thumbnail( 'sophia-after-dark-full-width' ); ?> <?php the_post_thumbnail( 'sophia-after-dark-full-width' ); ?>
</div><!-- .post-thumbnail --> </div>
<?php else : ?> <?php else : ?>
@ -244,7 +244,7 @@ if ( ! function_exists( 'sophia_after_dark_article_categories_list' ) ) :
<?php <?php
} }
?> ?>
</div><!-- .post-cats-list --><?php </div><?php
} }
} }

View File

@ -167,7 +167,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</button> </button>
</div> </div>
</div><!-- #mt-theme-message --> </div>
<?php <?php
} }
@ -191,7 +191,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<span class="theme-version"><?php printf( esc_html__( 'Version: %1$s', 'sophia-after-dark' ), $sophia_after_dark_theme_version ); ?></span> <span class="theme-version"><?php printf( esc_html__( 'Version: %1$s', 'sophia-after-dark' ), $sophia_after_dark_theme_version ); ?></span>
<span class="author-link"><?php printf( wp_kses_post( 'By <a href="%1$s" target="_blank">%2$s</a>', 'sophia-after-dark' ), $author_uri, $author_name ); ?></span> <span class="author-link"><?php printf( wp_kses_post( 'By <a href="%1$s" target="_blank">%2$s</a>', 'sophia-after-dark' ), $author_uri, $author_name ); ?></span>
</div> </div>
</div><!-- .sophia-after-dark-theme-info --> </div>
<div class="mt-upgrader-pro"> <div class="mt-upgrader-pro">
<div class="mt-upgrade-title-wrap"> <div class="mt-upgrade-title-wrap">
@ -199,7 +199,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<div class="mt-upgrader-text"><?php esc_html_e( 'Upgrade to pro version for additional features and better supports.', 'sophia-after-dark' ); ?></div> <div class="mt-upgrader-text"><?php esc_html_e( 'Upgrade to pro version for additional features and better supports.', 'sophia-after-dark' ); ?></div>
</div> </div>
<div class="mt-upgrader-btn"> <a href="<?php echo esc_url( 'https://mysterythemes.com/wp-themes/color-blog-pro/' ); ?>" target="_blank" class="button button-primary"><?php esc_html_e( 'Unlock Features With Pro', 'sophia-after-dark' ); ?></a> </div> <div class="mt-upgrader-btn"> <a href="<?php echo esc_url( 'https://mysterythemes.com/wp-themes/color-blog-pro/' ); ?>" target="_blank" class="button button-primary"><?php esc_html_e( 'Unlock Features With Pro', 'sophia-after-dark' ); ?></a> </div>
</div><!-- .mt-upgrader-pro --> </div>
<div class="mt-nav-tab-content-wrapper"> <div class="mt-nav-tab-content-wrapper">
<div class="nav-tab-wrapper"> <div class="nav-tab-wrapper">
@ -219,7 +219,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<a class="nav-tab <?php if ( isset( $_GET['tab'] ) && $_GET['tab'] == 'changelog' ) echo 'nav-tab-active'; ?>" href="<?php echo esc_url( admin_url( add_query_arg( array( 'page' => 'sophia-after-dark-settings', 'tab' => 'changelog' ), 'themes.php' ) ) ); ?>"> <a class="nav-tab <?php if ( isset( $_GET['tab'] ) && $_GET['tab'] == 'changelog' ) echo 'nav-tab-active'; ?>" href="<?php echo esc_url( admin_url( add_query_arg( array( 'page' => 'sophia-after-dark-settings', 'tab' => 'changelog' ), 'themes.php' ) ) ); ?>">
<span class="dashicons dashicons-flag"></span> <?php esc_html_e( 'Changelog', 'sophia-after-dark' ); ?> <span class="dashicons dashicons-flag"></span> <?php esc_html_e( 'Changelog', 'sophia-after-dark' ); ?>
</a> </a>
</div><!-- .nav-tab-wrapper --> </div>
<?php <?php
} }
@ -309,7 +309,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</ul> </ul>
</div> </div>
</div> </div>
</div><!-- .theme-features-wrap --> </div>
<div class="return-to-dashboard sophia-after-dark"> <div class="return-to-dashboard sophia-after-dark">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
@ -318,10 +318,10 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</a> | </a> |
<?php endif; ?> <?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? esc_html_e( 'Go to Dashboard &rarr; Home', 'sophia-after-dark' ) : esc_html_e( 'Go to Dashboard', 'sophia-after-dark' ); ?></a> <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? esc_html_e( 'Go to Dashboard &rarr; Home', 'sophia-after-dark' ) : esc_html_e( 'Go to Dashboard', 'sophia-after-dark' ); ?></a>
</div><!-- .return-to-dashboard --> </div>
</div><!-- .mt-nav-content-wrap --> </div>
</div><!-- .mt-nav-tab-content-wrapper --> </div>
</div><!-- .about-wrap --> </div>
<?php <?php
} }
@ -370,7 +370,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<a href="<?php echo esc_url ( $demourl ); ?>" target="_blank"> <a href="<?php echo esc_url ( $demourl ); ?>" target="_blank">
<img class="mtdi_gl-item-image" src="<?php echo esc_url ( $preview_screenshot ); ?>" /> <img class="mtdi_gl-item-image" src="<?php echo esc_url ( $preview_screenshot ); ?>" />
</a> </a>
</div><!-- .mtdi-preview-screenshot --> </div>
<div class="theme-id-container"> <div class="theme-id-container">
<h2 class="mtdi-theme-name theme-name" id="nokri-name"><?php echo esc_html ( $theme_name ); ?></h2> <h2 class="mtdi-theme-name theme-name" id="nokri-name"><?php echo esc_html ( $theme_name ); ?></h2>
<div class="mtdi-theme-actions theme-actions"> <div class="mtdi-theme-actions theme-actions">
@ -407,23 +407,23 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<a class="button preview install-demo-preview" target="_blank" href="<?php echo esc_url ( $demourl ); ?>"> <a class="button preview install-demo-preview" target="_blank" href="<?php echo esc_url ( $demourl ); ?>">
<?php esc_html_e( 'View Demo', 'sophia-after-dark' ); ?> <?php esc_html_e( 'View Demo', 'sophia-after-dark' ); ?>
</a> </a>
</div><!-- .mtdi-theme-actions --> </div>
</div><!-- .theme-id-container --> </div>
</div><!-- .mtdi-each-demo --> </div>
<?php <?php
} }
} }
?> ?>
</div><!-- .themes --> </div>
</div><!-- .mtdi-demo-wrapper --> </div>
<?php <?php
} }
?> ?>
</div> </div>
</div><!-- .theme-browser --> </div>
</div><!-- .mt-nav-content-wrap --> </div>
</div><!-- .mt-nav-tab-content-wrapper --> </div>
</div><!-- .wrap.about-wrap --> </div>
<?php <?php
} }
@ -451,8 +451,8 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
echo wp_kses_post( $changelog_list ); echo wp_kses_post( $changelog_list );
} }
?> ?>
</div><!-- .mt-nav-content-wrap --> </div>
</div><!-- .mt-nav-tab-content-wrapper --> </div>
</div> </div>
<?php <?php
} }
@ -569,9 +569,9 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div><!-- .mt-nav-content-wrap --> </div>
</div><!-- .mt-nav-tab-content-wrapper --> </div>
</div><!-- .about-wrap --> </div>
<?php <?php
} }
@ -761,8 +761,8 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
} }
} }
?> ?>
</div><!-- .mt-popup-inner-wrap --> </div>
</div><!-- .mt-demo-import-plugin-popup --> </div>
<?php <?php
} }

View File

@ -108,9 +108,9 @@ class sophia_after_dark_Author_Info extends WP_widget {
<div class="author-description"><?php echo wp_kses_post( wpautop( get_the_author_meta( 'description', $sophia_after_dark_user_id ) ) ); ?></div> <div class="author-description"><?php echo wp_kses_post( wpautop( get_the_author_meta( 'description', $sophia_after_dark_user_id ) ) ); ?></div>
<div class="author-social"> <div class="author-social">
<?php sophia_after_dark_social_media_content(); ?> <?php sophia_after_dark_social_media_content(); ?>
</div><!-- .author-social --> </div>
</div><!-- .author-bio-wrap --> </div>
</div><!-- .mt-author-info-wrapper --> </div>
<?php <?php
echo $after_widget; echo $after_widget;
} }

View File

@ -115,13 +115,13 @@ class sophia_after_dark_Latest_Posts extends WP_widget {
</div> </div>
<?php sophia_after_dark_widget_entry_footer(); ?> <?php sophia_after_dark_widget_entry_footer(); ?>
</div> </div>
</div><!-- .mt-single-post-wrap --> </div>
<?php <?php
} }
} }
?> ?>
</div><!-- .mt-posts-content-wrapper --> </div>
</div><!-- .mt-latest-posts-wrapper --> </div>
<?php <?php
echo $after_widget; echo $after_widget;
} }

View File

@ -69,8 +69,8 @@ class sophia_after_dark_Social_Media extends WP_widget {
?> ?>
<div class="mt-social-icons-wrapper"> <div class="mt-social-icons-wrapper">
<?php sophia_after_dark_social_media_content(); ?> <?php sophia_after_dark_social_media_content(); ?>
</div><!-- .mt-social-icons-wrapper --> </div>
</div><!-- .mt-aside-social-wrapper --> </div>
<?php <?php
echo $after_widget; echo $after_widget;
} }

View File

@ -44,8 +44,8 @@ get_header();
if ( 'mt-archive--masonry-style' === $archive_style ) { if ( 'mt-archive--masonry-style' === $archive_style ) {
?> ?>
</div><!-- #mt-masonry --> </div>
</div><!-- .sophia-after-dark-content-masonry --> </div>
<?php <?php
} }
@ -58,9 +58,9 @@ get_header();
echo '</div>'; echo '</div>';
} }
?> ?>
</main><!-- #main --> </main>
</div><!-- #primary --> </div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .mt-page-content-wrapper --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -29,9 +29,9 @@ get_header();
endif; endif;
endwhile; // End of the loop. endwhile; // End of the loop.
?> ?>
</main><!-- #main --> </main>
</div><!-- #primary --> </div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .mt-page-content-wrapper --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -37,8 +37,8 @@ get_header();
if ( 'mt-archive--masonry-style' === $archive_style ) { if ( 'mt-archive--masonry-style' === $archive_style ) {
?> ?>
</div><!-- #mt-masonry --> </div>
</div><!-- .sophia-after-dark-content-masonry --> </div>
<?php <?php
} }
@ -50,9 +50,9 @@ get_header();
echo '</div>'; echo '</div>';
} }
?> ?>
</main><!-- #main --> </main>
</section><!-- #primary --> </section>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .mt-page-content-wrapper --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -48,7 +48,7 @@ $sophia_after_dark_widget_area_layout = get_theme_mod( 'sophia_after_dark_widget
<?php dynamic_sidebar( 'footer-sidebar-4' ); ?> <?php dynamic_sidebar( 'footer-sidebar-4' ); ?>
</div> </div>
<?php } ?> <?php } ?>
</div><!-- .mt-footer-widget-wrapper --> </div>
</div><!-- .footer-widgets-area --> </div>
</div><!-- .mt-container --> </div>
</div><!-- .footer-widgets-wrapper --> </div>

View File

@ -14,4 +14,4 @@ if ( ! is_active_sidebar( 'sidebar-1' ) ) {
?> ?>
<aside id="secondary" class="widget-area"> <aside id="secondary" class="widget-area">
<?php dynamic_sidebar( 'sidebar-1' ); ?> <?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary --> </aside>

View File

@ -32,9 +32,9 @@ get_header();
get_template_part( 'template-parts/related/related', 'posts' ); get_template_part( 'template-parts/related/related', 'posts' );
} }
?> ?>
</main><!-- #main --> </main>
</div><!-- #primary --> </div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .mt-page-content-wrapper --> </div>
<?php <?php
get_footer(); get_footer();

View File

@ -17,7 +17,7 @@ $author_url = get_the_author_meta( 'user_url' );
<?php if ( $author_avatar ) { ?> <?php if ( $author_avatar ) { ?>
<div itemprop="image" class="mt-author__avatar"> <div itemprop="image" class="mt-author__avatar">
<?php echo wp_kses_post( $author_avatar ); ?> <?php echo wp_kses_post( $author_avatar ); ?>
</div><!-- .mt-author-avatar --> </div>
<?php } ?> <?php } ?>
<div class="mt-author-info"> <div class="mt-author-info">
@ -28,7 +28,7 @@ $author_url = get_the_author_meta( 'user_url' );
<?php if ( $author_bio ) { ?> <?php if ( $author_bio ) { ?>
<div class="mt-author-bio"> <div class="mt-author-bio">
<?php echo wp_kses_post( $author_bio ); ?> <?php echo wp_kses_post( $author_bio ); ?>
</div><!-- .mt-author-bio --> </div>
<?php } ?> <?php } ?>
<div class="mt-author-meta"> <div class="mt-author-meta">
@ -36,8 +36,8 @@ $author_url = get_the_author_meta( 'user_url' );
<div class="mt-author-website"> <div class="mt-author-website">
<span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>&#58;</span> <span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>&#58;</span>
<a href="<?php echo esc_url( $author_url ); ?>" target="_blank"><?php echo esc_url( $author_url ); ?></a> <a href="<?php echo esc_url( $author_url ); ?>" target="_blank"><?php echo esc_url( $author_url ); ?></a>
</div><!-- .mt-author-website --> </div>
<?php } ?> <?php } ?>
</div><!-- .mt-author-meta --> </div>
</div><!-- .mt-author-info --> </div>
</div><!-- .mt-author-bio --> </div>

View File

@ -12,7 +12,7 @@
<section class="no-results not-found"> <section class="no-results not-found">
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'sophia-after-dark' ); ?></h1> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'sophia-after-dark' ); ?></h1>
</header><!-- .page-header --> </header>
<div class="page-content"> <div class="page-content">
<?php <?php
@ -41,5 +41,5 @@
get_search_form(); get_search_form();
endif; endif;
?> ?>
</div><!-- .page-content --> </div>
</section><!-- .no-results --> </section>

View File

@ -18,7 +18,7 @@
'after' => '</div>', 'after' => '</div>',
) ); ) );
?> ?>
</div><!-- .entry-content --> </div>
<?php if ( get_edit_post_link() ) : ?> <?php if ( get_edit_post_link() ) : ?>
<footer class="entry-footer"> <footer class="entry-footer">
@ -40,6 +40,6 @@
'</span>' '</span>'
); );
?> ?>
</footer><!-- .entry-footer --> </footer>
<?php endif; ?> <?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> --> </article>

View File

@ -20,7 +20,7 @@ if ( has_post_thumbnail() ) {
echo '<div class="thumb-cat-wrap">'; echo '<div class="thumb-cat-wrap">';
sophia_after_dark_post_thumbnail(); sophia_after_dark_post_thumbnail();
sophia_after_dark_article_categories_list(); sophia_after_dark_article_categories_list();
echo '</div><!-- .thumb-cat-wrap -->'; echo '</div>';
if ( 'post' === get_post_type() ) { if ( 'post' === get_post_type() ) {
?> ?>
<div class="entry-cat"> <div class="entry-cat">
@ -28,12 +28,12 @@ if ( has_post_thumbnail() ) {
sophia_after_dark_posted_on(); sophia_after_dark_posted_on();
sophia_after_dark_posted_by(); sophia_after_dark_posted_by();
?> ?>
</div><!-- .entry-meta --> </div>
<?php } ?> <?php } ?>
<header class="entry-header"> <header class="entry-header">
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?> <?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"> <div class="entry-content">
<?php <?php
@ -54,9 +54,9 @@ if ( has_post_thumbnail() ) {
) ); ) );
} }
?> ?>
</div><!-- .entry-content --> </div>
<footer class="entry-footer"> <footer class="entry-footer">
<?php sophia_after_dark_entry_footer(); ?> <?php sophia_after_dark_entry_footer(); ?>
</footer><!-- .entry-footer --> </footer>
</article><!-- #post-<?php the_ID(); ?> --> </article>

View File

@ -31,8 +31,8 @@ if ( has_post_thumbnail() ) {
?> ?>
</div> </div>
<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?> <?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
</div><!--.post-info-wrap --> </div>
</div><!-- .post-thumbnail --> </div>
<div class="entry-content"> <div class="entry-content">
<?php <?php
@ -53,10 +53,10 @@ if ( has_post_thumbnail() ) {
'after' => '</div>', 'after' => '</div>',
) ); ) );
?> ?>
</div> <!-- .entry-content --> </div>
<footer class="entry-footer"> <footer class="entry-footer">
<?php sophia_after_dark_entry_footer(); ?> <?php sophia_after_dark_entry_footer(); ?>
</footer><!-- .entry-footer --> </footer>
<?php get_template_part( 'template-parts/author/post', 'author-box' ); ?> <?php get_template_part( 'template-parts/author/post', 'author-box' ); ?>
</article><!-- #post-<?php the_ID(); ?> --> </article>

View File

@ -29,7 +29,7 @@ if ( $current_post < 3 && 'mt-archive--masonry-style' === $archive_style ) {
echo '<div class="thumb-cat-wrap">'; echo '<div class="thumb-cat-wrap">';
sophia_after_dark_post_thumbnail(); sophia_after_dark_post_thumbnail();
sophia_after_dark_article_categories_list(); sophia_after_dark_article_categories_list();
echo '</div><!-- .thumb-cat-wrap -->'; echo '</div>';
if ( 'post' === get_post_type() ) { if ( 'post' === get_post_type() ) {
?> ?>
<div class="entry-cat"> <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_on();
sophia_after_dark_posted_by(); sophia_after_dark_posted_by();
?> ?>
</div><!-- .entry-meta --> </div>
<?php } ?> <?php } ?>
<header class="entry-header"> <header class="entry-header">
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?> <?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"> <div class="entry-content">
<?php <?php
@ -63,9 +63,9 @@ if ( $current_post < 3 && 'mt-archive--masonry-style' === $archive_style ) {
) ); ) );
} }
?> ?>
</div><!-- .entry-content --> </div>
<footer class="entry-footer"> <footer class="entry-footer">
<?php sophia_after_dark_entry_footer(); ?> <?php sophia_after_dark_entry_footer(); ?>
</footer><!-- .entry-footer --> </footer>
</article><!-- #post-<?php the_ID(); ?> --> </article>

View File

@ -18,7 +18,7 @@ if ( has_post_thumbnail() ) {
echo '<div class="thumb-cat-wrap">'; echo '<div class="thumb-cat-wrap">';
sophia_after_dark_post_thumbnail(); sophia_after_dark_post_thumbnail();
sophia_after_dark_article_categories_list(); sophia_after_dark_article_categories_list();
echo '</div><!-- .thumb-cat-wrap -->'; echo '</div>';
if ( 'post' === get_post_type() ) { if ( 'post' === get_post_type() ) {
?> ?>
<div class="entry-cat"> <div class="entry-cat">
@ -26,14 +26,14 @@ if ( has_post_thumbnail() ) {
sophia_after_dark_posted_on(); sophia_after_dark_posted_on();
sophia_after_dark_posted_by(); sophia_after_dark_posted_by();
?> ?>
</div><!-- .entry-meta --> </div>
<?php } ?> <?php } ?>
<header class="entry-header"> <header class="entry-header">
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?> <?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"> <footer class="entry-footer">
<?php sophia_after_dark_entry_footer(); ?> <?php sophia_after_dark_entry_footer(); ?>
</footer><!-- .entry-footer --> </footer>
</article><!-- #post-<?php the_ID(); ?> --> </article>

View File

@ -37,8 +37,8 @@ if ( $related_posts_query->have_posts() ) {
get_template_part( 'template-parts/related/content', 'related' ); get_template_part( 'template-parts/related/content', 'related' );
} }
?> ?>
</div><!-- .mt-related-posts-wrapper --> </div>
</section><!-- .mt-single-related-posts --> </section>
<?php <?php
} }
wp_reset_postdata(); wp_reset_postdata();