replace all mt- to sad-
This commit is contained in:
14
archive.php
14
archive.php
@ -8,22 +8,22 @@
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
$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' );
|
||||
get_header();
|
||||
?>
|
||||
<div class="mt-page-content-wrapper">
|
||||
<div class="sad-page-content-wrapper">
|
||||
<div id="primary" class="content-area" itemscope itemtype="https://schema.org/CollectionPage">
|
||||
<main id="main" class="site-main" role="main" aria-label="<?php esc_attr_e( 'Archive Content', 'sophia-after-dark' ); ?>">
|
||||
|
||||
<?php if ( 'mt-archive--block-grid-style' === $archive_style ) : ?>
|
||||
<?php if ( 'sad-archive--block-grid-style' === $archive_style ) : ?>
|
||||
<div class="archive-grid-post-wrapper">
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( 'mt-archive--masonry-style' === $archive_style ) : ?>
|
||||
<?php if ( 'sad-archive--masonry-style' === $archive_style ) : ?>
|
||||
<div class="sophia-after-dark-content-masonry">
|
||||
<div id="mt-masonry">
|
||||
<div id="sad-masonry">
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
@ -37,7 +37,7 @@ get_header();
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
<?php if ( 'mt-archive--masonry-style' === $archive_style ) : ?>
|
||||
<?php if ( 'sad-archive--masonry-style' === $archive_style ) : ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -57,7 +57,7 @@ get_header();
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'mt-archive--block-grid-style' === $archive_style ) : ?>
|
||||
<?php if ( 'sad-archive--block-grid-style' === $archive_style ) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
Reference in New Issue
Block a user