push changes, and removed comments
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user