replace all mt- to sad-

This commit is contained in:
2025-05-20 23:36:11 -07:00
parent 0869581510
commit faaaaafb39
35 changed files with 637 additions and 637 deletions

View File

@ -1,4 +1,4 @@
<?php
<?php
/**
* Displays Author bio on single post
*
@ -13,27 +13,27 @@ $author_bio = get_the_author_meta( 'description' );
$author_url = get_the_author_meta( 'user_url' );
?>
<div class="mt-author-box">
<div class="sad-author-box">
<?php if ( $author_avatar ) : ?>
<div itemprop="image" class="mt-author__avatar">
<div itemprop="image" class="sad-author__avatar">
<?php echo wp_kses_post( $author_avatar ); ?>
</div>
<?php endif; ?>
<div class="mt-author-info">
<div class="sad-author-info">
<?php if ( $author_post_link ) : ?>
<h5 itemprop="name" class="mt-author-name"><?php echo wp_kses_post( $author_post_link ); ?></h5>
<h5 itemprop="name" class="sad-author-name"><?php echo wp_kses_post( $author_post_link ); ?></h5>
<?php endif; ?>
<?php if ( $author_bio ) : ?>
<div class="mt-author-bio">
<div class="sad-author-bio">
<?php echo wp_kses_post( $author_bio ); ?>
</div>
<?php endif; ?>
<?php if ( $author_url ) : ?>
<div class="mt-author-meta">
<div class="mt-author-website">
<div class="sad-author-meta">
<div class="sad-author-website">
<span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>:</span>
<a href="<?php echo esc_url( $author_url ); ?>" target="_blank" rel="noopener noreferrer">
<?php echo esc_url( $author_url ); ?>

View File

@ -1,4 +1,4 @@
<?php
<?php
/**
* Template part for displaying posts
*
@ -10,12 +10,12 @@
global $wp_query;
$current_post = $wp_query->current_post;
$archive_style = get_theme_mod( 'sophia_after_dark_archive_style', 'mt-archive--masonry-style' );
$archive_style = get_theme_mod( 'sophia_after_dark_archive_style', 'sad-archive--masonry-style' );
$post_content_type = apply_filters( 'sophia_after_dark_archive_post_content_type', 'excerpt' );
// Determine post class
$post_class = has_post_thumbnail() ? 'has-thumbnail' : 'no-thumbnail';
if ( $current_post >= 3 || 'mt-archive--masonry-style' !== $archive_style ) {
if ( $current_post >= 3 || 'sad-archive--masonry-style' !== $archive_style ) {
$post_class .= ' wow fadeInUp';
}
?>

View File

@ -1,4 +1,4 @@
<?php
<?php
/**
* Shows related posts on single post page
*
@ -23,10 +23,10 @@ $related_posts_query = new WP_Query( $related_posts_args );
if ( $related_posts_query->have_posts() ) :
?>
<section class="mt-single-related-posts">
<h2 class="mt-related-post-title"><?php echo esc_html( $related_posts_title ); ?></h2>
<section class="sad-single-related-posts">
<h2 class="sad-related-post-title"><?php echo esc_html( $related_posts_title ); ?></h2>
<div class="mt-related-posts-wrapper">
<div class="sad-related-posts-wrapper">
<?php
while ( $related_posts_query->have_posts() ) :
$related_posts_query->the_post();