replace all mt- to sad-
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Managed the custom functions and hooks for entire theme.
|
||||
*
|
||||
@ -13,7 +13,7 @@ if ( ! function_exists( 'sophia_after_dark_main_header_start' ) ) :
|
||||
*/
|
||||
function sophia_after_dark_main_header_start() {
|
||||
echo '<header id="masthead" class="site-header">';
|
||||
echo '<div class="mt-logo-row-wrapper mt-clearfix">';
|
||||
echo '<div class="sad-logo-row-wrapper sad-clearfix">';
|
||||
}
|
||||
|
||||
endif;
|
||||
@ -26,7 +26,7 @@ if ( ! function_exists( 'sophia_after_dark_site_branding' ) ) :
|
||||
function sophia_after_dark_site_branding() {
|
||||
?>
|
||||
<div class="logo-ads-wrap">
|
||||
<div class="mt-container">
|
||||
<div class="sad-container">
|
||||
<div class="site-branding">
|
||||
<?php
|
||||
the_custom_logo();
|
||||
@ -63,8 +63,8 @@ if ( ! function_exists( 'sophia_after_dark_menu_wrapper_start' ) ) :
|
||||
* function to start menu wrapper
|
||||
*/
|
||||
function sophia_after_dark_menu_wrapper_start() {
|
||||
echo '<div class="mt-social-menu-wrapper">';
|
||||
echo '<div class="mt-container">';
|
||||
echo '<div class="sad-social-menu-wrapper">';
|
||||
echo '<div class="sad-container">';
|
||||
}
|
||||
|
||||
endif;
|
||||
@ -77,7 +77,7 @@ if ( ! function_exists( 'sophia_after_dark_header_main_menu' ) ) :
|
||||
function sophia_after_dark_header_main_menu() {
|
||||
$sophia_after_dark_menu_toggle_text = apply_filters( 'sophia_after_dark_menu_toggle_text', __( 'Menu', 'sophia-after-dark' ) );
|
||||
?>
|
||||
<div class="mt-header-menu-wrap">
|
||||
<div class="sad-header-menu-wrap">
|
||||
<div class="menu-toggle"><a href="javascript:void(0)"><i class="fa fa-navicon"></i><?php echo esc_html( $sophia_after_dark_menu_toggle_text ); ?></a></div>
|
||||
<nav itemscope id="site-navigation" class="main-navigation">
|
||||
<?php
|
||||
@ -99,7 +99,7 @@ if ( ! function_exists( 'sophia_after_dark_menu_icon_wrapper_start' ) ) :
|
||||
* function to start icon wrapper
|
||||
*/
|
||||
function sophia_after_dark_menu_icon_wrapper_start() {
|
||||
echo '<div class="mt-social-search-wrapper">';
|
||||
echo '<div class="sad-social-search-wrapper">';
|
||||
}
|
||||
|
||||
endif;
|
||||
@ -116,8 +116,8 @@ if ( ! function_exists( 'sophia_after_dark_menu_social_icons' ) ) :
|
||||
}
|
||||
$sophia_after_dark_menu_social_icons_label = apply_filters( 'sophia_after_dark_menu_social_icons_label', __( 'Follow Us: ', 'sophia-after-dark' ) );
|
||||
?>
|
||||
<div class="mt-social-wrapper">
|
||||
<span class="mt-follow-title"><?php echo esc_html( $sophia_after_dark_menu_social_icons_label ); ?></span>
|
||||
<div class="sad-social-wrapper">
|
||||
<span class="sad-follow-title"><?php echo esc_html( $sophia_after_dark_menu_social_icons_label ); ?></span>
|
||||
<?php sophia_after_dark_social_media_content(); ?>
|
||||
</div>
|
||||
<?php
|
||||
@ -137,13 +137,13 @@ if ( ! function_exists( 'sophia_after_dark_menu_search_icon' ) ) :
|
||||
}
|
||||
$sophia_after_dark_menu_search_icon_lable = apply_filters( 'sophia_after_dark_menu_search_icon_lable', __( 'Search', 'sophia-after-dark' ) );
|
||||
?>
|
||||
<div class="mt-menu-search">
|
||||
<div class="mt-search-icon"><a href="javascript:void(0)"><?php echo esc_html( $sophia_after_dark_menu_search_icon_lable ); ?><i class="fa fa-search"></i></a></div>
|
||||
<div class="mt-form-wrap">
|
||||
<div class="sad-menu-search">
|
||||
<div class="sad-search-icon"><a href="javascript:void(0)"><?php echo esc_html( $sophia_after_dark_menu_search_icon_lable ); ?><i class="fa fa-search"></i></a></div>
|
||||
<div class="sad-form-wrap">
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<div class="mt-form-close"><a href="javascript:void(0)"><i class="fa fa-close"></i></a></div>
|
||||
<div class="sad-form-close"><a href="javascript:void(0)"><i class="fa fa-close"></i></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@ -209,8 +209,8 @@ if ( ! function_exists( 'sophia_after_dark_header_categories_lists_content' ) )
|
||||
function sophia_after_dark_header_categories_lists_content() {
|
||||
$get_categories = get_categories( array( 'orderby' => 'name', 'order' => 'ASC' ) );
|
||||
?>
|
||||
<div class="mt-header-cat-list-wrapper">
|
||||
<ul class="sticky-header-sidebar-menu mt-slide-cat-lists">
|
||||
<div class="sad-header-cat-list-wrapper">
|
||||
<ul class="sticky-header-sidebar-menu sad-slide-cat-lists">
|
||||
<?php
|
||||
$count = 1;
|
||||
$cat_list_items = apply_filters( 'sophia_after_dark_menu_cat_list_items', 5 );
|
||||
@ -274,7 +274,7 @@ if ( ! function_exists( 'sophia_after_dark_scroll_top_content' ) ) :
|
||||
*/
|
||||
function sophia_after_dark_scroll_top_content() {
|
||||
$sophia_after_dark_scroll_top_text = apply_filters( 'sophia_after_dark_scroll_top_text', __( 'Back To Top', 'sophia-after-dark' ) );
|
||||
echo '<div id="mt-scrollup" class="animated arrow-hide">'. esc_html( $sophia_after_dark_scroll_top_text ) .'</div>';
|
||||
echo '<div id="sad-scrollup" class="animated arrow-hide">'. esc_html( $sophia_after_dark_scroll_top_text ) .'</div>';
|
||||
}
|
||||
|
||||
endif;
|
||||
@ -295,7 +295,7 @@ if ( ! function_exists( 'sophia_after_dark_innerpage_header_start' ) ) :
|
||||
}
|
||||
?>
|
||||
<div class="custom-header <?php echo esc_attr( $header_class ); ?>" <?php echo ( ! empty( $inner_header_attribute ) ) ? ' style="' . esc_attr( $inner_header_attribute ) . '" ' : ''; ?>>
|
||||
<div class="mt-container">
|
||||
<div class="sad-container">
|
||||
<?php
|
||||
}
|
||||
|
||||
@ -340,11 +340,11 @@ if ( ! function_exists( 'sophia_after_dark_breadcrumb_content' ) ) :
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<nav id="breadcrumb" class="mt-breadcrumb">
|
||||
<nav id="breadcrumb" class="sad-breadcrumb">
|
||||
<?php
|
||||
breadcrumb_trail( array(
|
||||
'container' => 'div',
|
||||
'before' => '<div class="mt-container">',
|
||||
'before' => '<div class="sad-container">',
|
||||
'after' => '</div>',
|
||||
'show_browse' => false,
|
||||
) );
|
||||
@ -398,7 +398,7 @@ if ( ! function_exists( 'sophia_after_dark_front_slider' ) ) :
|
||||
}
|
||||
?>
|
||||
<div class="front-slider-wrapper <?php echo esc_attr( $slider_class ); ?>">
|
||||
<div class="mt-container">
|
||||
<div class="sad-container">
|
||||
<div class="front-slider-block">
|
||||
<div class="front-slider cS-hidden">
|
||||
<?php
|
||||
@ -465,13 +465,13 @@ if ( ! function_exists( 'sophia_after_dark_front_slider' ) ) :
|
||||
$featured_post_count = 1;
|
||||
while ( $top_featured_post_query -> have_posts() ) : $top_featured_post_query -> the_post();
|
||||
?>
|
||||
<div id="post-<?php the_ID(); ?>" class="mt-single-post-wrap mt-clearfix">
|
||||
<div id="post-<?php the_ID(); ?>" class="sad-single-post-wrap sad-clearfix">
|
||||
<div class="post-thumbnail">
|
||||
<span class="post-number"><?php echo absint( $featured_post_count ); ?></span>
|
||||
<figure style="background: no-repeat center top url(<?php echo get_the_post_thumbnail_url(); ?>); background-size: cover; height: 100px;">
|
||||
</figure>
|
||||
</div>
|
||||
<div class="mt-post-content">
|
||||
<div class="sad-post-content">
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
sophia_after_dark_posted_on();
|
||||
@ -533,7 +533,7 @@ if ( ! function_exists( 'sophia_after_dark_bottom_footer' ) ) :
|
||||
function sophia_after_dark_bottom_footer() {
|
||||
?>
|
||||
<div id="bottom-footer">
|
||||
<div class="mt-container">
|
||||
<div class="sad-container">
|
||||
<?php
|
||||
$sophia_after_dark_enable_footer_menu = get_theme_mod( 'sophia_after_dark_enable_footer_menu', true );
|
||||
if ( true === $sophia_after_dark_enable_footer_menu ) {
|
||||
@ -553,14 +553,14 @@ if ( ! function_exists( 'sophia_after_dark_bottom_footer' ) ) :
|
||||
?>
|
||||
|
||||
<div class="site-info">
|
||||
<span class="mt-copyright-text">
|
||||
<span class="sad-copyright-text">
|
||||
<?php
|
||||
$sophia_after_dark_footer_copyright = get_theme_mod( 'sophia_after_dark_footer_copyright', __( 'Sophia After Dark', 'sophia-after-dark' ) );
|
||||
echo esc_html( $sophia_after_dark_footer_copyright );
|
||||
?>
|
||||
</span>
|
||||
<br>
|
||||
<span class="mt-disclaimer-text">
|
||||
<span class="sad-disclaimer-text">
|
||||
<?php
|
||||
$sophia_after_dark_footer_disclaimer = get_theme_mod( 'sophia_after_dark_footer_disclaimer', __( 'Sophia After Dark', 'sophia-after-dark' ) );
|
||||
echo esc_html( $sophia_after_dark_footer_disclaimer );
|
||||
|
Reference in New Issue
Block a user