replace all mt- to sad-
This commit is contained in:
@ -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';
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user