push changes, and removed comments

This commit is contained in:
2024-04-15 17:03:43 -07:00
parent a63e80f9e4
commit de7a7fcc50
28 changed files with 155 additions and 155 deletions

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

View File

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

View File

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

View File

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

View File

@ -167,7 +167,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</button>
</div>
</div><!-- #mt-theme-message -->
</div>
<?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="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><!-- .sophia-after-dark-theme-info -->
</div>
<div class="mt-upgrader-pro">
<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>
<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="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' ) ) ); ?>">
<span class="dashicons dashicons-flag"></span> <?php esc_html_e( 'Changelog', 'sophia-after-dark' ); ?>
</a>
</div><!-- .nav-tab-wrapper -->
</div>
<?php
}
@ -309,7 +309,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</ul>
</div>
</div>
</div><!-- .theme-features-wrap -->
</div>
<div class="return-to-dashboard sophia-after-dark">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
@ -318,10 +318,10 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</a> |
<?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>
</div><!-- .return-to-dashboard -->
</div><!-- .mt-nav-content-wrap -->
</div><!-- .mt-nav-tab-content-wrapper -->
</div><!-- .about-wrap -->
</div>
</div>
</div>
</div>
<?php
}
@ -370,7 +370,7 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
<a href="<?php echo esc_url ( $demourl ); ?>" target="_blank">
<img class="mtdi_gl-item-image" src="<?php echo esc_url ( $preview_screenshot ); ?>" />
</a>
</div><!-- .mtdi-preview-screenshot -->
</div>
<div class="theme-id-container">
<h2 class="mtdi-theme-name theme-name" id="nokri-name"><?php echo esc_html ( $theme_name ); ?></h2>
<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 ); ?>">
<?php esc_html_e( 'View Demo', 'sophia-after-dark' ); ?>
</a>
</div><!-- .mtdi-theme-actions -->
</div><!-- .theme-id-container -->
</div><!-- .mtdi-each-demo -->
</div>
</div>
</div>
<?php
}
}
?>
</div><!-- .themes -->
</div><!-- .mtdi-demo-wrapper -->
</div>
</div>
<?php
}
?>
</div>
</div><!-- .theme-browser -->
</div><!-- .mt-nav-content-wrap -->
</div><!-- .mt-nav-tab-content-wrapper -->
</div><!-- .wrap.about-wrap -->
</div>
</div>
</div>
</div>
<?php
}
@ -451,8 +451,8 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
echo wp_kses_post( $changelog_list );
}
?>
</div><!-- .mt-nav-content-wrap -->
</div><!-- .mt-nav-tab-content-wrapper -->
</div>
</div>
</div>
<?php
}
@ -569,9 +569,9 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
</tr>
</tbody>
</table>
</div><!-- .mt-nav-content-wrap -->
</div><!-- .mt-nav-tab-content-wrapper -->
</div><!-- .about-wrap -->
</div>
</div>
</div>
<?php
}
@ -761,8 +761,8 @@ if ( ! class_exists( 'sophia_after_dark_Settings' ) ) :
}
}
?>
</div><!-- .mt-popup-inner-wrap -->
</div><!-- .mt-demo-import-plugin-popup -->
</div>
</div>
<?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-social">
<?php sophia_after_dark_social_media_content(); ?>
</div><!-- .author-social -->
</div><!-- .author-bio-wrap -->
</div><!-- .mt-author-info-wrapper -->
</div>
</div>
</div>
<?php
echo $after_widget;
}

View File

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

View File

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