replace all mt- to sad-
This commit is contained in:
6
404.php
6
404.php
@ -30,7 +30,7 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
|
||||
</section>
|
||||
|
||||
<?php if ( true === $sophia_after_dark_pnf_latest_posts ) : ?>
|
||||
<div class="page-extra-content mt-404-latest-posts-wrapper">
|
||||
<div class="page-extra-content sad-404-latest-posts-wrapper">
|
||||
<?php
|
||||
$sophia_after_dark_pnf_latest_post_count = get_theme_mod( 'sophia_after_dark_pnf_latest_post_count', 3 );
|
||||
$sophia_after_dark_pnf_args = array(
|
||||
@ -41,9 +41,9 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
|
||||
$sophia_after_dark_pnf_query = new WP_Query( $sophia_after_dark_pnf_args );
|
||||
|
||||
if ( $sophia_after_dark_pnf_query->have_posts() ) :
|
||||
echo '<div class="mt-pnf-latest-posts-wrapper mt-related-posts-wrapper">';
|
||||
echo '<div class="sad-pnf-latest-posts-wrapper sad-related-posts-wrapper">';
|
||||
$sophia_after_dark_404_latest_title = get_theme_mod( 'sophia_after_dark_pnf_latest_title', __( 'You May Like', 'sophia-after-dark' ) );
|
||||
echo '<h2 class="section-title mt-related-post-title">' . esc_html( $sophia_after_dark_404_latest_title ) . '</h2>';
|
||||
echo '<h2 class="section-title sad-related-post-title">' . esc_html( $sophia_after_dark_404_latest_title ) . '</h2>';
|
||||
|
||||
while ( $sophia_after_dark_pnf_query->have_posts() ) :
|
||||
$sophia_after_dark_pnf_query->the_post();
|
||||
|
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; ?>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
.mt-meta-options-wrap .ui-button {
|
||||
.sad-meta-options-wrap .ui-button {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
@ -7,11 +7,11 @@
|
||||
box-shadow: none
|
||||
}
|
||||
|
||||
.mt-meta-options-wrap .ui-button-text {
|
||||
.sad-meta-options-wrap .ui-button-text {
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.mt-meta-options-wrap img {
|
||||
.sad-meta-options-wrap img {
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@ -19,22 +19,22 @@
|
||||
border: 4px solid transparent
|
||||
}
|
||||
|
||||
.mt-meta-options-wrap img:focus,
|
||||
.mt-meta-options-wrap img:hover {
|
||||
.sad-meta-options-wrap img:focus,
|
||||
.sad-meta-options-wrap img:hover {
|
||||
border-color: #ddd
|
||||
}
|
||||
|
||||
.mt-meta-options-wrap .ui-state-active img {
|
||||
.sad-meta-options-wrap .ui-state-active img {
|
||||
border-color: #00a0d2
|
||||
}
|
||||
|
||||
.mt-clearfix:after,
|
||||
.mt-clearfix:before {
|
||||
.sad-clearfix:after,
|
||||
.sad-clearfix:before {
|
||||
content: '';
|
||||
display: table
|
||||
}
|
||||
|
||||
.mt-clearfix:after {
|
||||
.sad-clearfix:after {
|
||||
clear: both
|
||||
}
|
||||
|
||||
|
@ -1,25 +1,25 @@
|
||||
/**
|
||||
/**
|
||||
* Customizer styles
|
||||
*
|
||||
*/
|
||||
.customize-control-mt-toggle label {
|
||||
.customize-control-sad-toggle label {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle label .customize-control-title {
|
||||
.customize-control-sad-toggle label .customize-control-title {
|
||||
width: calc(100% - 55px);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle label .description {
|
||||
.customize-control-sad-toggle label .description {
|
||||
order: 99;
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle input[type=checkbox] {
|
||||
.customize-control-sad-toggle input[type=checkbox] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle .switch {
|
||||
.customize-control-sad-toggle .switch {
|
||||
border: 1px solid rgba(0, 0, 0, .1);
|
||||
display: inline-block;
|
||||
width: 35px;
|
||||
@ -33,8 +33,8 @@
|
||||
transition: background 350ms ease;
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle .switch:after,
|
||||
.customize-control-mt-toggle .switch:before {
|
||||
.customize-control-sad-toggle .switch:after,
|
||||
.customize-control-sad-toggle .switch:before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 20px;
|
||||
@ -46,51 +46,51 @@
|
||||
transition: all 350ms cubic-bezier(0, .95, .38, .98), background 150ms ease;
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle .switch:before {
|
||||
.customize-control-sad-toggle .switch:before {
|
||||
background: rgba(0, 0, 0, .2);
|
||||
transform: translate3d(0, -50%, 0) scale(0);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle .switch:after {
|
||||
.customize-control-sad-toggle .switch:after {
|
||||
background: #999;
|
||||
border: 1px solid rgba(0, 0, 0, .1);
|
||||
transform: translate3d(0, -50%, 0);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle .switch:active:before {
|
||||
.customize-control-sad-toggle .switch:active:before {
|
||||
transform: translate3d(0, -50%, 0) scale(3);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle input:checked+.switch {
|
||||
.customize-control-sad-toggle input:checked+.switch {
|
||||
background: rgba(52, 152, 222, .3);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle input:checked+.switch:before {
|
||||
.customize-control-sad-toggle input:checked+.switch:before {
|
||||
background: rgba(52, 152, 222, .075);
|
||||
transform: translate3d(100%, -50%, 0) scale(1);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle input:checked+.switch:after {
|
||||
.customize-control-sad-toggle input:checked+.switch:after {
|
||||
background: #3498de;
|
||||
transform: translate3d(100%, -50%, 0);
|
||||
}
|
||||
|
||||
.customize-control-mt-toggle input:checked+.switch:active:before {
|
||||
.customize-control-sad-toggle input:checked+.switch:active:before {
|
||||
background: rgba(52, 152, 222, .075);
|
||||
transform: translate3d(100%, -50%, 0) scale(3);
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image>.image {
|
||||
.customize-control-sad-radio-image>.image {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image label {
|
||||
.customize-control-sad-radio-image label {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image label .image-label {
|
||||
.customize-control-sad-radio-image label .image-label {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -101,7 +101,7 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image label .image-label .inner {
|
||||
.customize-control-sad-radio-image label .image-label .inner {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
@ -109,25 +109,25 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image label:hover .image-label {
|
||||
.customize-control-sad-radio-image label:hover .image-label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input {
|
||||
.customize-control-sad-radio-image input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input img {
|
||||
.customize-control-sad-radio-image input img {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input:checked+label img {
|
||||
.customize-control-sad-radio-image input:checked+label img {
|
||||
-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, .25);
|
||||
box-shadow: 0 0 5px 2px rgba(0, 0, 0, .25);
|
||||
border: 1px solid #3498db;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input+label .image-clickable {
|
||||
.customize-control-sad-radio-image input+label .image-clickable {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
@ -151,15 +151,15 @@
|
||||
border: 1px solid #3498db;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input+label .image-clickable {
|
||||
.customize-control-sad-radio-image input+label .image-clickable {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
background: 0 0;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input+label .image-clickable,
|
||||
.customize-control-mt-radio-image input:checked+label img {
|
||||
.customize-control-sad-radio-image input+label .image-clickable,
|
||||
.customize-control-sad-radio-image input:checked+label img {
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@ -167,54 +167,54 @@
|
||||
border: 3px solid transparent;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input+label .image-clickable:focus,
|
||||
.customize-control-mt-radio-image input+label .image-clickable:hover {
|
||||
.customize-control-sad-radio-image input+label .image-clickable:focus,
|
||||
.customize-control-sad-radio-image input+label .image-clickable:hover {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input:checked+label img {
|
||||
.customize-control-sad-radio-image input:checked+label img {
|
||||
border-color: #00a0d2;
|
||||
display: block
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image .image label {
|
||||
.customize-control-sad-radio-image .image label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image input:checked+label img {
|
||||
.customize-control-sad-radio-image input:checked+label img {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.customize-control-mt-radio-image>.image {
|
||||
.customize-control-sad-radio-image>.image {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mt-clearfix:after,
|
||||
.mt-clearfix:before {
|
||||
.sad-clearfix:after,
|
||||
.sad-clearfix:before {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.mt-clearfix:after {
|
||||
.sad-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mt-repeater-field-control {
|
||||
.sad-repeater-field-control {
|
||||
background: #fff;
|
||||
margin-bottom: 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mt-repeater-footer {
|
||||
.sad-repeater-footer {
|
||||
margin-top: 15px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mt-repeater-field-control:first-child .mt-repeater-footer {
|
||||
.sad-repeater-field-control:first-child .sad-repeater-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mt-repeater-field-title {
|
||||
.sad-repeater-field-title {
|
||||
padding: 13px 15px;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
@ -228,7 +228,7 @@
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.mt-repeater-field-title:after {
|
||||
.sad-repeater-field-title:after {
|
||||
content: "\f142";
|
||||
font: 400 20px/1 dashicons;
|
||||
position: absolute;
|
||||
@ -242,11 +242,11 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mt-repeater-field-control.expanded .mt-repeater-field-title:after {
|
||||
.sad-repeater-field-control.expanded .sad-repeater-field-title:after {
|
||||
content: "\f140"
|
||||
}
|
||||
|
||||
.mt-repeater-fields {
|
||||
.sad-repeater-fields {
|
||||
padding: 0 10px 10px;
|
||||
border-top: none;
|
||||
line-height: 16px;
|
||||
@ -255,19 +255,19 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mt-repeater-fields .customize-control-title {
|
||||
.sad-repeater-fields .customize-control-title {
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
.mt-repeater-field-control.expanded .mt-repeater-fields {
|
||||
.sad-repeater-field-control.expanded .sad-repeater-fields {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mt-reapeater-add-control-field {
|
||||
.sad-reapeater-add-control-field {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-reapeater-add-add-control-field:before {
|
||||
.sad-reapeater-add-add-control-field:before {
|
||||
content: "\f132";
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
@ -277,11 +277,11 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.mt-repeater-type-icon {
|
||||
.sad-repeater-type-icon {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mt-repeater-selected-icon {
|
||||
.sad-repeater-selected-icon {
|
||||
background: #f6f6f6;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
@ -293,7 +293,7 @@
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.mt-repeater-selected-icon span {
|
||||
.sad-repeater-selected-icon span {
|
||||
position: absolute;
|
||||
background: #f6f6f6;
|
||||
right: -45px;
|
||||
@ -304,15 +304,15 @@
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.mt-repeater-selected-icon i {
|
||||
.sad-repeater-selected-icon i {
|
||||
margin-top: 3%;
|
||||
}
|
||||
|
||||
.mt-repeater-selected-icon span i {
|
||||
.sad-repeater-selected-icon span i {
|
||||
margin-top: 24%;
|
||||
}
|
||||
|
||||
.mt-repeater-icon-list {
|
||||
.sad-repeater-icon-list {
|
||||
height: 215px;
|
||||
overflow-y: scroll;
|
||||
font-size: 18px;
|
||||
@ -327,7 +327,7 @@
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mt-repeater-icon-list li {
|
||||
.sad-repeater-icon-list li {
|
||||
float: left;
|
||||
margin: 4% 3% 0;
|
||||
height: 40px;
|
||||
@ -337,23 +337,23 @@
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
.mt-repeater-icon-list li:hover {
|
||||
.sad-repeater-icon-list li:hover {
|
||||
background: #333;
|
||||
border: 1px solid #333;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mt-repeater-icon-list li.icon-active {
|
||||
.sad-repeater-icon-list li.icon-active {
|
||||
background: #0073aa;
|
||||
border: 1px solid #0073aa;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.customize-control-mt-repeater .mt-limit-msg {
|
||||
.customize-control-sad-repeater .sad-limit-msg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.customize-control-mt-repeater span.mt-limit-msg:nth-of-type(2) {
|
||||
.customize-control-sad-repeater span.sad-limit-msg:nth-of-type(2) {
|
||||
display: block;
|
||||
background: #fff;
|
||||
padding: 10px 15px;
|
||||
|
@ -1,6 +1,6 @@
|
||||
@media (max-width:1400px) {
|
||||
@media (max-width:1400px) {
|
||||
|
||||
.mt-container,
|
||||
.sad-container,
|
||||
.site-layout--boxed #page {
|
||||
width: 1200px
|
||||
}
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#colophon .widget .widget-title,
|
||||
#secondary .widget .widget-title,
|
||||
.mt-related-post-title {
|
||||
.sad-related-post-title {
|
||||
font-size: 17px
|
||||
}
|
||||
|
||||
@ -23,24 +23,24 @@
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.single .mt-related-posts-wrapper .entry-title {
|
||||
.single .sad-related-posts-wrapper .entry-title {
|
||||
font-size: 19px
|
||||
}
|
||||
|
||||
.mt-form-close {
|
||||
.sad-form-close {
|
||||
font-size: 50px
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:1200px) {
|
||||
|
||||
.mt-container,
|
||||
.sad-container,
|
||||
.site-layout--boxed #page {
|
||||
width: auto;
|
||||
margin: 0 2%
|
||||
}
|
||||
|
||||
.site-layout--boxed .mt-container {
|
||||
.site-layout--boxed .sad-container {
|
||||
padding: 0 10px
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
position: relative
|
||||
}
|
||||
|
||||
.mt-follow-title {
|
||||
.sad-follow-title {
|
||||
display: none
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@
|
||||
width: 30%
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-post-content {
|
||||
.top-featured-post-wrap .sad-post-content {
|
||||
width: 66%
|
||||
}
|
||||
|
||||
@ -105,20 +105,20 @@
|
||||
margin-right: 28px
|
||||
}
|
||||
|
||||
#mt-scrollup {
|
||||
#sad-scrollup {
|
||||
right: 10px
|
||||
}
|
||||
|
||||
#colophon .widget .widget-title,
|
||||
#secondary .widget .widget-title,
|
||||
.mt-related-post-title {
|
||||
.sad-related-post-title {
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
#colophon .widget .widget-title::before,
|
||||
#secondary .widget .widget-title::before,
|
||||
.features-post-title::before,
|
||||
.mt-related-post-title::before {
|
||||
.sad-related-post-title::before {
|
||||
height: 2px;
|
||||
top: 7px
|
||||
}
|
||||
@ -137,7 +137,7 @@
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-field {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-field {
|
||||
height: 54px;
|
||||
font-size: 20px
|
||||
}
|
||||
@ -191,7 +191,7 @@
|
||||
display: block
|
||||
}
|
||||
|
||||
.mt-social-menu-wrapper {
|
||||
.sad-social-menu-wrapper {
|
||||
position: relative
|
||||
}
|
||||
|
||||
@ -211,7 +211,7 @@
|
||||
z-index: 9999
|
||||
}
|
||||
|
||||
#site-navigation .mt-container {
|
||||
#site-navigation .sad-container {
|
||||
border: none;
|
||||
padding: 0
|
||||
}
|
||||
@ -334,13 +334,13 @@
|
||||
display: none
|
||||
}
|
||||
|
||||
.mt-archive--block-grid-style article,
|
||||
.mt-archive--masonry-style #mt-masonry article {
|
||||
.sad-archive--block-grid-style article,
|
||||
.sad-archive--masonry-style #sad-masonry article {
|
||||
width: 97%
|
||||
}
|
||||
|
||||
.no-sidebar.mt-archive--block-grid-style article,
|
||||
.no-sidebar.mt-archive--masonry-style #mt-masonry article {
|
||||
.no-sidebar.sad-archive--block-grid-style article,
|
||||
.no-sidebar.sad-archive--masonry-style #sad-masonry article {
|
||||
width: 47%
|
||||
}
|
||||
|
||||
@ -372,11 +372,11 @@
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.mt-author-bio {
|
||||
.sad-author-bio {
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
.single .mt-related-posts-wrapper .entry-title {
|
||||
.single .sad-related-posts-wrapper .entry-title {
|
||||
font-size: 15px
|
||||
}
|
||||
|
||||
@ -442,14 +442,14 @@
|
||||
margin-right: -3%
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-single-post-wrap {
|
||||
.top-featured-post-wrap .sad-single-post-wrap {
|
||||
width: 47%;
|
||||
float: left;
|
||||
margin-bottom: 3%;
|
||||
margin-right: 3%
|
||||
}
|
||||
|
||||
#top-footer.footer-column-four .mt-footer-widget {
|
||||
#top-footer.footer-column-four .sad-footer-widget {
|
||||
width: 47%
|
||||
}
|
||||
}
|
||||
@ -487,16 +487,16 @@
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-submit {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-submit {
|
||||
padding: 16px 46px
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-field {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-field {
|
||||
height: 48px;
|
||||
font-size: 18px
|
||||
}
|
||||
|
||||
.mt-form-close {
|
||||
.sad-form-close {
|
||||
font-size: 40px
|
||||
}
|
||||
|
||||
@ -535,7 +535,7 @@
|
||||
height: 450px
|
||||
}
|
||||
|
||||
.mt-live-link {
|
||||
.sad-live-link {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
@ -552,7 +552,7 @@
|
||||
margin-top: -50px;
|
||||
}
|
||||
|
||||
.logged-in .is-sticky .mt-social-menu-wrapper {
|
||||
.logged-in .is-sticky .sad-social-menu-wrapper {
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
@ -560,20 +560,20 @@
|
||||
margin-right: 0
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-single-post-wrap {
|
||||
.top-featured-post-wrap .sad-single-post-wrap {
|
||||
width: 100%;
|
||||
margin-right: 0
|
||||
}
|
||||
|
||||
.archive-grid-post-wrapper,
|
||||
.mt-archive--masonry-style .sophia-after-dark-content-masonry {
|
||||
.sad-archive--masonry-style .sophia-after-dark-content-masonry {
|
||||
margin-left: 0
|
||||
}
|
||||
|
||||
.mt-archive--block-grid-style article,
|
||||
.mt-archive--masonry-style #mt-masonry article,
|
||||
.no-sidebar.mt-archive--block-grid-style article,
|
||||
.no-sidebar.mt-archive--masonry-style #mt-masonry article {
|
||||
.sad-archive--block-grid-style article,
|
||||
.sad-archive--masonry-style #sad-masonry article,
|
||||
.no-sidebar.sad-archive--block-grid-style article,
|
||||
.no-sidebar.sad-archive--masonry-style #sad-masonry article {
|
||||
width: 100%;
|
||||
margin-left: 0
|
||||
}
|
||||
@ -590,17 +590,17 @@
|
||||
padding: 28px 0
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper {
|
||||
.sad-related-posts-wrapper {
|
||||
margin-left: 0
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper article {
|
||||
.sad-related-posts-wrapper article {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper .post-cats-list a {
|
||||
.sad-related-posts-wrapper .post-cats-list a {
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
@ -632,13 +632,13 @@
|
||||
font-size: 28px
|
||||
}
|
||||
|
||||
#top-footer.footer-column-three .mt-footer-widget {
|
||||
#top-footer.footer-column-three .sad-footer-widget {
|
||||
width: 97%
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:480px) {
|
||||
.mt-social-icon-wrap li {
|
||||
.sad-social-icon-wrap li {
|
||||
margin-right: 8px
|
||||
}
|
||||
|
||||
@ -650,11 +650,11 @@
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
.mt-social-wrapper {
|
||||
.sad-social-wrapper {
|
||||
margin: 12px 0 12px
|
||||
}
|
||||
|
||||
.mt-search-icon {
|
||||
.sad-search-icon {
|
||||
font-size: 14px;
|
||||
margin: 12px 0 12px 8px
|
||||
}
|
||||
@ -664,15 +664,15 @@
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author-info .mt-author-name {
|
||||
.single .sad-author-box .sad-author-info .sad-author-name {
|
||||
font-size: 18px
|
||||
}
|
||||
|
||||
.mt-author-bio {
|
||||
.sad-author-bio {
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.mt-author-meta {
|
||||
.sad-author-meta {
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
@ -715,8 +715,8 @@
|
||||
font-size: 20px
|
||||
}
|
||||
|
||||
#top-footer.footer-column-four .mt-footer-widget,
|
||||
#top-footer.footer-column-two .mt-footer-widget {
|
||||
#top-footer.footer-column-four .sad-footer-widget,
|
||||
#top-footer.footer-column-two .sad-footer-widget {
|
||||
width: 97%
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* Image uploader functions
|
||||
*/
|
||||
|
||||
@ -51,9 +51,9 @@ jQuery(($) => {
|
||||
'use strict';
|
||||
|
||||
// Initialize jQuery UI buttonset for radio image controls
|
||||
$('.mt-meta-options-wrap .buttonset').buttonset();
|
||||
$('.sad-meta-options-wrap .buttonset').buttonset();
|
||||
|
||||
// Initialize image upload/delete functionality
|
||||
initUploadMediaImage('.mt-upload-button');
|
||||
initDeleteMediaImage('.mt-delete-button');
|
||||
initUploadMediaImage('.sad-upload-button');
|
||||
initDeleteMediaImage('.sad-delete-button');
|
||||
});
|
@ -1,4 +1,4 @@
|
||||
jQuery(document).ready(function($) {
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -26,10 +26,10 @@ jQuery(document).ready(function($) {
|
||||
/**
|
||||
* Header Search script
|
||||
*/
|
||||
const $searchIcon = $('.mt-menu-search .mt-search-icon');
|
||||
const $searchIcon = $('.sad-menu-search .sad-search-icon');
|
||||
$searchIcon.click(function() {
|
||||
$('.mt-form-wrap').toggleClass('search-activate').find('.search-field').focus();
|
||||
const $element = $('.mt-form-wrap.search-activate');
|
||||
$('.sad-form-wrap').toggleClass('search-activate').find('.search-field').focus();
|
||||
const $element = $('.sad-form-wrap.search-activate');
|
||||
if ($element.length) {
|
||||
$(document).on('keydown', function(e) {
|
||||
const focusable = $element.find('input, button, [href], select, textarea, [tabindex]:not([tabindex="-1"])');
|
||||
@ -57,9 +57,9 @@ jQuery(document).ready(function($) {
|
||||
}
|
||||
}
|
||||
|
||||
$('.mt-form-wrap .mt-form-close').click(function() {
|
||||
$('.mt-form-wrap').toggleClass('search-activate');
|
||||
$(this).parents('.mt-menu-search').find('.mt-search-icon a').focus();
|
||||
$('.sad-form-wrap .sad-form-close').click(function() {
|
||||
$('.sad-form-wrap').toggleClass('search-activate');
|
||||
$(this).parents('.sad-menu-search').find('.sad-search-icon a').focus();
|
||||
});
|
||||
|
||||
/**
|
||||
@ -68,7 +68,7 @@ jQuery(document).ready(function($) {
|
||||
$(document).on('keydown', function(event) {
|
||||
if (event.keyCode === 27) {
|
||||
event.preventDefault();
|
||||
$('.mt-menu-search .mt-form-wrap').removeClass('search-activate');
|
||||
$('.sad-menu-search .sad-form-wrap').removeClass('search-activate');
|
||||
}
|
||||
});
|
||||
|
||||
@ -84,7 +84,7 @@ jQuery(document).ready(function($) {
|
||||
*/
|
||||
if (sophia_after_darkObject.menu_sticky === 'on') {
|
||||
const wpAdminBar = $('#wpadminbar').length ? $('#wpadminbar') : 0;
|
||||
$(".mt-social-menu-wrapper").sticky({
|
||||
$(".sad-social-menu-wrapper").sticky({
|
||||
topSpacing: wpAdminBar.length ? wpAdminBar.height() : 0
|
||||
});
|
||||
}
|
||||
@ -94,13 +94,13 @@ jQuery(document).ready(function($) {
|
||||
*/
|
||||
$(window).scroll(function() {
|
||||
if ($(this).scrollTop() > 1000) {
|
||||
$('#mt-scrollup').fadeIn('slow');
|
||||
$('#sad-scrollup').fadeIn('slow');
|
||||
} else {
|
||||
$('#mt-scrollup').fadeOut('slow');
|
||||
$('#sad-scrollup').fadeOut('slow');
|
||||
}
|
||||
});
|
||||
|
||||
$('#mt-scrollup').click(function() {
|
||||
$('#sad-scrollup').click(function() {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 600);
|
||||
@ -128,14 +128,14 @@ jQuery(document).ready(function($) {
|
||||
}
|
||||
|
||||
initializeSlider('.front-slider');
|
||||
initializeSlider('.mt-gallery-slider', false);
|
||||
initializeSlider('.sad-gallery-slider', false);
|
||||
|
||||
/**
|
||||
* Responsive menu
|
||||
*/
|
||||
$('.mt-social-menu-wrapper .menu-toggle').click(function() {
|
||||
$('.sad-social-menu-wrapper .menu-toggle').click(function() {
|
||||
$('#site-navigation').toggleClass('isActive').slideToggle('slow');
|
||||
const $element = $('.mt-header-menu-wrap');
|
||||
const $element = $('.sad-header-menu-wrap');
|
||||
if ($element.length) {
|
||||
$(document).on('keydown', function(e) {
|
||||
if ($('#site-navigation.isActive').length) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
( function( api ) {
|
||||
( function( api ) {
|
||||
|
||||
api.sectionConstructor['mt-upsell'] = api.Section.extend( {
|
||||
api.sectionConstructor['sad-upsell'] = api.Section.extend( {
|
||||
|
||||
// No events for this type of section.
|
||||
attachEvents: function () {},
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
} )( wp.customize );
|
||||
|
||||
wp.customize.controlConstructor['mt-toggle'] = wp.customize.Control.extend({
|
||||
wp.customize.controlConstructor['sad-toggle'] = wp.customize.Control.extend({
|
||||
ready: function(){
|
||||
'use strict';
|
||||
|
||||
@ -37,12 +37,12 @@ jQuery(document).ready(function($) {
|
||||
* Function for repeater field
|
||||
*/
|
||||
function sophia_after_dark_refresh_repeater_values(){
|
||||
$(".mt-repeater-field-control-wrap").each(function(){
|
||||
$(".sad-repeater-field-control-wrap").each(function(){
|
||||
|
||||
var values = [];
|
||||
var $this = $(this);
|
||||
|
||||
$this.find(".mt-repeater-field-control").each(function(){
|
||||
$this.find(".sad-repeater-field-control").each(function(){
|
||||
var valueToPush = {};
|
||||
|
||||
$(this).find('[data-name]').each(function(){
|
||||
@ -55,21 +55,21 @@ jQuery(document).ready(function($) {
|
||||
values.push(valueToPush);
|
||||
});
|
||||
|
||||
$this.next('.mt-repeater-collector').val(JSON.stringify(values)).trigger('change');
|
||||
$this.next('.sad-repeater-collector').val(JSON.stringify(values)).trigger('change');
|
||||
});
|
||||
}
|
||||
|
||||
$('#customize-theme-controls').on('click','.mt-repeater-field-title',function(){
|
||||
$('#customize-theme-controls').on('click','.sad-repeater-field-title',function(){
|
||||
$(this).next().slideToggle();
|
||||
$(this).closest('.mt-repeater-field-control').toggleClass('expanded');
|
||||
$(this).closest('.sad-repeater-field-control').toggleClass('expanded');
|
||||
});
|
||||
|
||||
$('#customize-theme-controls').on('click', '.mt-repeater-field-close', function(){
|
||||
$(this).closest('.mt-repeater-fields').slideUp();;
|
||||
$(this).closest('.mt-repeater-field-control').toggleClass('expanded');
|
||||
$('#customize-theme-controls').on('click', '.sad-repeater-field-close', function(){
|
||||
$(this).closest('.sad-repeater-fields').slideUp();;
|
||||
$(this).closest('.sad-repeater-field-control').toggleClass('expanded');
|
||||
});
|
||||
|
||||
$("body").on("click",'.mt-repeater-add-control-field', function(){
|
||||
$("body").on("click",'.sad-repeater-add-control-field', function(){
|
||||
|
||||
var fLimit = $(this).parent().find('.field-limit').val();
|
||||
var fCount = $(this).parent().find('.field-count').val();
|
||||
@ -77,14 +77,14 @@ jQuery(document).ready(function($) {
|
||||
fCount++;
|
||||
$(this).parent().find('.field-count').val(fCount);
|
||||
} else {
|
||||
$(this).before('<span class="mt-limit-msg"><em>Only '+fLimit+' repeater field will be permitted.</em></span>');
|
||||
$(this).before('<span class="sad-limit-msg"><em>Only '+fLimit+' repeater field will be permitted.</em></span>');
|
||||
return;
|
||||
}
|
||||
|
||||
var $this = $(this).parent();
|
||||
if(typeof $this != 'undefined') {
|
||||
|
||||
var field = $this.find(".mt-repeater-field-control:first").clone();
|
||||
var field = $this.find(".sad-repeater-field-control:first").clone();
|
||||
if(typeof field != 'undefined'){
|
||||
|
||||
field.find("input[type='text'][data-name]").each(function(){
|
||||
@ -112,10 +112,10 @@ jQuery(document).ready(function($) {
|
||||
}
|
||||
});
|
||||
|
||||
field.find(".mt-repeater-icon-list").each(function(){
|
||||
field.find(".sad-repeater-icon-list").each(function(){
|
||||
var defaultValue = $(this).next('input[data-name]').attr('data-default');
|
||||
$(this).next('input[data-name]').val(defaultValue);
|
||||
$(this).prev('.mt-repeater-selected-icon').children('i').attr('class','').addClass(defaultValue);
|
||||
$(this).prev('.sad-repeater-selected-icon').children('i').attr('class','').addClass(defaultValue);
|
||||
|
||||
$(this).find('li').each(function(){
|
||||
var icon_class = $(this).find('i').attr('class');
|
||||
@ -127,9 +127,9 @@ jQuery(document).ready(function($) {
|
||||
});
|
||||
});
|
||||
|
||||
field.find('.mt-repeater-fields').show();
|
||||
$this.find('.mt-repeater-field-control-wrap').append(field);
|
||||
field.addClass('expanded').find('.mt-repeater-fields').show();
|
||||
field.find('.sad-repeater-fields').show();
|
||||
$this.find('.sad-repeater-field-control-wrap').append(field);
|
||||
field.addClass('expanded').find('.sad-repeater-fields').show();
|
||||
$('.accordion-section-content').animate({ scrollTop: $this.height() }, 1000);
|
||||
sophia_after_dark_refresh_repeater_values();
|
||||
}
|
||||
@ -138,9 +138,9 @@ jQuery(document).ready(function($) {
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#customize-theme-controls").on("click", ".mt-repeater-field-remove",function(){
|
||||
$("#customize-theme-controls").on("click", ".sad-repeater-field-remove",function(){
|
||||
if( typeof $(this).parent() != 'undefined'){
|
||||
$(this).closest('.mt-repeater-field-control').slideUp('normal', function(){
|
||||
$(this).closest('.sad-repeater-field-control').slideUp('normal', function(){
|
||||
$(this).remove();
|
||||
sophia_after_dark_refresh_repeater_values();
|
||||
});
|
||||
@ -156,7 +156,7 @@ jQuery(document).ready(function($) {
|
||||
/**
|
||||
* Drag and drop to change order
|
||||
*/
|
||||
$(".mt-repeater-field-control-wrap").sortable({
|
||||
$(".sad-repeater-field-control-wrap").sortable({
|
||||
orientation: "vertical",
|
||||
update: function( event, ui ) {
|
||||
sophia_after_dark_refresh_repeater_values();
|
||||
@ -169,11 +169,11 @@ jQuery(document).ready(function($) {
|
||||
var mtFrame;
|
||||
|
||||
//Add image
|
||||
$('.customize-control-mt-repeater').on( 'click', '.mt-upload-button', function( event ){
|
||||
$('.customize-control-sad-repeater').on( 'click', '.sad-upload-button', function( event ){
|
||||
event.preventDefault();
|
||||
|
||||
var imgContainer = $(this).closest('.mt-fields-wrap').find( '.thumbnail-image'),
|
||||
placeholder = $(this).closest('.mt-fields-wrap').find( '.placeholder'),
|
||||
var imgContainer = $(this).closest('.sad-fields-wrap').find( '.thumbnail-image'),
|
||||
placeholder = $(this).closest('.sad-fields-wrap').find( '.placeholder'),
|
||||
imgIdInput = $(this).siblings('.upload-id');
|
||||
|
||||
mtFrame = wp.media({
|
||||
@ -195,10 +195,10 @@ jQuery(document).ready(function($) {
|
||||
});
|
||||
|
||||
// DELETE IMAGE LINK
|
||||
$('.customize-control-mt-repeater').on( 'click', '.mt-delete-button', function( event ){
|
||||
$('.customize-control-sad-repeater').on( 'click', '.sad-delete-button', function( event ){
|
||||
event.preventDefault();
|
||||
var imgContainer = $(this).closest('.mt-fields-wrap').find( '.thumbnail-image'),
|
||||
placeholder = $(this).closest('.mt-fields-wrap').find( '.placeholder'),
|
||||
var imgContainer = $(this).closest('.sad-fields-wrap').find( '.thumbnail-image'),
|
||||
placeholder = $(this).closest('.sad-fields-wrap').find( '.placeholder'),
|
||||
imgIdInput = $(this).siblings('.upload-id');
|
||||
imgContainer.find('img').remove();
|
||||
placeholder.removeClass('hidden');
|
||||
@ -208,15 +208,15 @@ jQuery(document).ready(function($) {
|
||||
/**
|
||||
* Repeater icon selector
|
||||
*/
|
||||
$('body').on('click', '.mt-repeater-icon-list li', function(){
|
||||
$('body').on('click', '.sad-repeater-icon-list li', function(){
|
||||
var icon_class = $(this).find('i').attr('class');
|
||||
$(this).addClass('icon-active').siblings().removeClass('icon-active');
|
||||
$(this).parent('.mt-repeater-icon-list').prev('.mt-repeater-selected-icon').children('i').attr('class','').addClass(icon_class);
|
||||
$(this).parent('.mt-repeater-icon-list').next('input').val(icon_class).trigger('change');
|
||||
$(this).parent('.sad-repeater-icon-list').prev('.sad-repeater-selected-icon').children('i').attr('class','').addClass(icon_class);
|
||||
$(this).parent('.sad-repeater-icon-list').next('input').val(icon_class).trigger('change');
|
||||
sophia_after_dark_refresh_repeater_values();
|
||||
});
|
||||
|
||||
$('body').on('click', '.mt-repeater-selected-icon', function(){
|
||||
$('body').on('click', '.sad-repeater-selected-icon', function(){
|
||||
$(this).next().slideToggle();
|
||||
});
|
||||
});
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Sophia After Dark functions and definitions
|
||||
*
|
||||
@ -92,7 +92,7 @@ if ( ! function_exists( 'sophia_after_dark_setup' ) ) :
|
||||
/**
|
||||
* Registers an editor stylesheet for the theme.
|
||||
*/
|
||||
add_editor_style( 'assets/css/mt-editor-style.css' );
|
||||
add_editor_style( 'assets/css/sad-editor-style.css' );
|
||||
|
||||
/**
|
||||
* Restoring the classic Widgets Editor
|
||||
@ -164,7 +164,7 @@ require get_template_directory() . '/inc/template-functions.php';
|
||||
/**
|
||||
* Customizer additions.
|
||||
*/
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer.php';
|
||||
|
||||
/**
|
||||
* Load Jetpack compatibility file.
|
||||
@ -176,28 +176,28 @@ if ( defined( 'JETPACK__VERSION' ) ) {
|
||||
/**
|
||||
* Load custom hook file
|
||||
*/
|
||||
require get_template_directory() . '/inc/hooks/mt-custom-hooks.php';
|
||||
require get_template_directory() . '/inc/hooks/sad-custom-hooks.php';
|
||||
|
||||
/**
|
||||
* Load custom hook top header file
|
||||
*/
|
||||
require get_template_directory() . '/inc/hooks/mt-top-header-hooks.php';
|
||||
require get_template_directory() . '/inc/hooks/sad-top-header-hooks.php';
|
||||
|
||||
/**
|
||||
* Load widget functions file
|
||||
*/
|
||||
require get_template_directory() . '/inc/widgets/mt-widget-functions.php';
|
||||
require get_template_directory() . '/inc/widgets/sad-widget-functions.php';
|
||||
|
||||
/**
|
||||
* Load metaboxes
|
||||
*/
|
||||
require get_template_directory() . '/inc/metaboxes/mt-post-sidebar-meta.php';
|
||||
require get_template_directory() . '/inc/metaboxes/sad-post-sidebar-meta.php';
|
||||
|
||||
/**
|
||||
* Load breadcrumbs class
|
||||
*/
|
||||
if ( ! function_exists( 'breadcrumb_trail' ) ) {
|
||||
require get_template_directory() . '/inc/mt-class-breadcrumbs.php';
|
||||
require get_template_directory() . '/inc/sad-class-breadcrumbs.php';
|
||||
}
|
||||
|
||||
// Function to allow images in WordPress comments
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* The header for our theme
|
||||
*
|
||||
@ -87,4 +87,4 @@ do_action( 'sophia_after_dark_before_page' );
|
||||
?>
|
||||
|
||||
<div id="content" class="site-content">
|
||||
<div class="mt-container">
|
||||
<div class="sad-container">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Sophia After Dark include the Customizer custom classes of customizer fields.
|
||||
*
|
||||
@ -27,7 +27,7 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'mt-toggle';
|
||||
public $type = 'sad-toggle';
|
||||
|
||||
public $tooltip = '';
|
||||
|
||||
@ -85,7 +85,7 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'mt-radio-image';
|
||||
public $type = 'sad-radio-image';
|
||||
|
||||
public $tooltip = '';
|
||||
|
||||
@ -155,7 +155,7 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'mt-repeater';
|
||||
public $type = 'sad-repeater';
|
||||
|
||||
public $sophia_after_dark_box_label = '';
|
||||
|
||||
@ -196,14 +196,14 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
</span>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="mt-repeater-field-control-wrap">
|
||||
<ul class="sad-repeater-field-control-wrap">
|
||||
<?php $this->sophia_after_dark_get_fields(); ?>
|
||||
</ul>
|
||||
|
||||
<input type="hidden" <?php $this->link(); ?> class="mt-repeater-collector" value="<?php echo esc_attr( $this->value() ); ?>" />
|
||||
<input type="hidden" <?php $this->link(); ?> class="sad-repeater-collector" value="<?php echo esc_attr( $this->value() ); ?>" />
|
||||
<input type="hidden" name="<?php echo esc_attr( $repeater_id ).'_count'; ?>" class="field-count" value="<?php echo absint( $field_count ); ?>">
|
||||
<input type="hidden" name="field_limit" class="field-limit" value="6">
|
||||
<button type="button" class="button mt-repeater-add-control-field"><?php echo esc_html( $this->sophia_after_dark_box_add_control ); ?></button>
|
||||
<button type="button" class="button sad-repeater-add-control-field"><?php echo esc_html( $this->sophia_after_dark_box_add_control ); ?></button>
|
||||
<?php
|
||||
}
|
||||
|
||||
@ -214,14 +214,14 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
if ( is_array( $values ) ) {
|
||||
foreach( $values as $value ) {
|
||||
?>
|
||||
<li class="mt-repeater-field-control">
|
||||
<h3 class="mt-repeater-field-title"><?php echo esc_html( $this->sophia_after_dark_box_label ); ?></h3>
|
||||
<div class="mt-repeater-fields">
|
||||
<li class="sad-repeater-field-control">
|
||||
<h3 class="sad-repeater-field-title"><?php echo esc_html( $this->sophia_after_dark_box_label ); ?></h3>
|
||||
<div class="sad-repeater-fields">
|
||||
<?php
|
||||
foreach ( $fields as $key => $field ) {
|
||||
$class = isset( $field['class'] ) ? $field['class'] : '';
|
||||
?>
|
||||
<div class="mt-repeater-field mt-repeater-type-<?php echo esc_attr( $field['type'] ).' '.esc_attr( $class ); ?>">
|
||||
<div class="sad-repeater-field sad-repeater-type-<?php echo esc_attr( $field['type'] ).' '.esc_attr( $class ); ?>">
|
||||
|
||||
<?php
|
||||
$label = isset( $field['label'] ) ? $field['label'] : '';
|
||||
@ -263,7 +263,7 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
*/
|
||||
case 'icon':
|
||||
$sophia_after_dark_fork_awesome_icon_array = sophia_after_dark_fork_awesome_icon_array();
|
||||
echo '<div class="mt-repeater-selected-icon"><i class="'.esc_attr( $new_value ).'"></i><span><i class="fa fa-angle-down"></i></span></div><ul class="mt-repeater-icon-list mt-clearfix">';
|
||||
echo '<div class="sad-repeater-selected-icon"><i class="'.esc_attr( $new_value ).'"></i><span><i class="fa fa-angle-down"></i></span></div><ul class="sad-repeater-icon-list sad-clearfix">';
|
||||
foreach ( $sophia_after_dark_fork_awesome_icon_array as $sophia_after_dark_fork_awesome_icon ) {
|
||||
$icon_class = $new_value == $sophia_after_dark_fork_awesome_icon ? 'icon-active' : '';
|
||||
echo '<li class='.esc_attr( $icon_class ).'><i class="'.esc_attr( $sophia_after_dark_fork_awesome_icon ).'"></i></li>';
|
||||
@ -276,7 +276,7 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
*/
|
||||
case 'social_icon':
|
||||
$sophia_after_dark_fork_awesome_social_icon_array = sophia_after_dark_fork_awesome_social_icon_array();
|
||||
echo '<div class="mt-repeater-selected-icon"><i class="'.esc_attr( $new_value ).'"></i><span><i class="fa fa-angle-down"></i></span></div><ul class="mt-repeater-icon-list mt-clearfix">';
|
||||
echo '<div class="sad-repeater-selected-icon"><i class="'.esc_attr( $new_value ).'"></i><span><i class="fa fa-angle-down"></i></span></div><ul class="sad-repeater-icon-list sad-clearfix">';
|
||||
foreach ( $sophia_after_dark_fork_awesome_social_icon_array as $sophia_after_dark_fork_awesome_icon ) {
|
||||
$icon_class = $new_value == $sophia_after_dark_fork_awesome_icon ? 'icon-active' : '';
|
||||
echo '<li class='.esc_attr( $icon_class ).'><i class="'.esc_attr( $sophia_after_dark_fork_awesome_icon ).'"></i></li>';
|
||||
@ -335,9 +335,9 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
if ( $new_value ) {
|
||||
$image_class = ' hidden';
|
||||
}
|
||||
echo '<div class="mt-fields-wrap"><div class="attachment-media-view"><div class="placeholder'. esc_attr( $image_class ).'">';
|
||||
echo '<div class="sad-fields-wrap"><div class="attachment-media-view"><div class="placeholder'. esc_attr( $image_class ).'">';
|
||||
esc_html_e( 'No image selected', 'sophia-after-dark' );
|
||||
echo '</div><div class="thumbnail thumbnail-image"><img src="'.esc_url( $new_value ).'" style="max-width:100%;"/></div><div class="actions mt-clearfix"><button type="button" class="button mt-delete-button align-left">'. esc_html( $remove_btn_label ) .'</button><button type="button" class="button mt-upload-button alignright">'. esc_html( $upload_btn_label ) .'</button><input data-default="'.esc_attr( $default ).'" class="upload-id" data-name="'.esc_attr( $key ).'" type="hidden" value="'.esc_attr( $new_value ).'"/></div></div></div>';
|
||||
echo '</div><div class="thumbnail thumbnail-image"><img src="'.esc_url( $new_value ).'" style="max-width:100%;"/></div><div class="actions sad-clearfix"><button type="button" class="button sad-delete-button align-left">'. esc_html( $remove_btn_label ) .'</button><button type="button" class="button sad-upload-button alignright">'. esc_html( $upload_btn_label ) .'</button><input data-default="'.esc_attr( $default ).'" class="upload-id" data-name="'.esc_attr( $key ).'" type="hidden" value="'.esc_attr( $new_value ).'"/></div></div></div>';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -347,10 +347,10 @@ if ( ! function_exists( 'sophia_after_dark_register_custom_controls' ) ) :
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<div class="mt-clearfix mt-repeater-footer">
|
||||
<div class="sad-clearfix sad-repeater-footer">
|
||||
<div class="alignright">
|
||||
<a class="mt-repeater-field-remove" href="#remove"><?php esc_html_e( 'Delete', 'sophia-after-dark' ) ?></a> |
|
||||
<a class="mt-repeater-field-close" href="#close"><?php esc_html_e( 'Close', 'sophia-after-dark' ) ?></a>
|
||||
<a class="sad-repeater-field-remove" href="#remove"><?php esc_html_e( 'Delete', 'sophia-after-dark' ) ?></a> |
|
||||
<a class="sad-repeater-field-close" href="#close"><?php esc_html_e( 'Close', 'sophia-after-dark' ) ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Sophia After Dark manage the Customizer options of design settings panel.
|
||||
*
|
||||
@ -58,7 +58,7 @@ function sophia_after_dark_customize_design_panels_sections_register( $wp_custom
|
||||
*/
|
||||
$wp_customize->add_setting( 'sophia_after_dark_archive_style',
|
||||
array(
|
||||
'default' => 'mt-archive--masonry-style',
|
||||
'default' => 'sad-archive--masonry-style',
|
||||
'sanitize_callback' => 'sanitize_key',
|
||||
)
|
||||
);
|
||||
@ -70,8 +70,8 @@ function sophia_after_dark_customize_design_panels_sections_register( $wp_custom
|
||||
'settings' => 'sophia_after_dark_archive_style',
|
||||
'priority' => 10,
|
||||
'choices' => array(
|
||||
'mt-archive--block-grid-style' => get_template_directory_uri() . '/assets/images/archive-block-grid.png',
|
||||
'mt-archive--masonry-style' => get_template_directory_uri() . '/assets/images/archive-masonry.png',
|
||||
'sad-archive--block-grid-style' => get_template_directory_uri() . '/assets/images/archive-block-grid.png',
|
||||
'sad-archive--masonry-style' => get_template_directory_uri() . '/assets/images/archive-masonry.png',
|
||||
),
|
||||
)
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Sophia After Dark Theme Customizer
|
||||
*
|
||||
@ -78,25 +78,25 @@ add_action( 'customize_preview_init', 'sophia_after_dark_customize_preview_js' )
|
||||
*/
|
||||
function sophia_after_dark_customize_backend_scripts() {
|
||||
global $sophia_after_dark_theme_version;
|
||||
wp_enqueue_style( 'sophia-after-dark--admin-customizer-style', get_template_directory_uri() . '/assets/css/mt-customizer-styles.css', array(), esc_attr( esc_attr( $sophia_after_dark_theme_version ) ) );
|
||||
wp_enqueue_style( 'sophia-after-dark--admin-customizer-style', get_template_directory_uri() . '/assets/css/sad-customizer-styles.css', array(), esc_attr( esc_attr( $sophia_after_dark_theme_version ) ) );
|
||||
wp_enqueue_style( 'jquery-ui', esc_url( get_template_directory_uri() . '/assets/css/jquery-ui.css' ) );
|
||||
wp_enqueue_script( 'sophia-after-dark--admin-customizer-script', get_template_directory_uri() . '/assets/js/mt-customizer-controls.js', array( 'jquery', 'customize-controls' ), esc_attr( $sophia_after_dark_theme_version ), true );
|
||||
wp_enqueue_script( 'sophia-after-dark--admin-customizer-script', get_template_directory_uri() . '/assets/js/sad-customizer-controls.js', array( 'jquery', 'customize-controls' ), esc_attr( $sophia_after_dark_theme_version ), true );
|
||||
}
|
||||
add_action( 'customize_controls_enqueue_scripts', 'sophia_after_dark_customize_backend_scripts', 10 );
|
||||
|
||||
/**
|
||||
* Add Kirki required file for custom fields
|
||||
*/
|
||||
#require get_template_directory() . '/inc/customizer/mt-customizer-additional-open-graph.php';
|
||||
#require get_template_directory() . '/inc/customizer/sad-customizer-additional-open-graph.php';
|
||||
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-custom-classes.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-panels.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-sanitize.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-callback.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-custom-classes.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-panels.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-sanitize.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-callback.php';
|
||||
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-general-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-header-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-front-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-additional-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-design-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/mt-customizer-footer-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-general-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-header-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-front-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-additional-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-design-panel-options.php';
|
||||
require get_template_directory() . '/inc/customizer/sad-customizer-footer-panel-options.php';
|
@ -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 );
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Managed the custom functions and hooks for top header of theme.
|
||||
*
|
||||
@ -12,8 +12,8 @@ if ( ! function_exists( 'sophia_after_dark_top_header_start' ) ) :
|
||||
* function to start top header section
|
||||
*/
|
||||
function sophia_after_dark_top_header_start() {
|
||||
echo '<div id="top-header" class="top-header-wrap mt-clearfix">';
|
||||
echo '<div class="mt-container">';
|
||||
echo '<div id="top-header" class="top-header-wrap sad-clearfix">';
|
||||
echo '<div class="sad-container">';
|
||||
}
|
||||
|
||||
endif;
|
||||
@ -88,7 +88,7 @@ if ( ! function_exists( 'sophia_after_dark_top_header_nav' ) ) :
|
||||
$sophia_after_dark_live_now_label = get_theme_mod( 'sophia_after_dark_live_now_label', __( 'Live Now', 'sophia-after-dark' ) );
|
||||
$sophia_after_dark_live_now_link = get_theme_mod( 'sophia_after_dark_live_now_link' );
|
||||
?>
|
||||
<div class="mt-live-link">
|
||||
<div class="sad-live-link">
|
||||
<a href="<?php echo esc_url( $sophia_after_dark_live_now_link ); ?>" target="_blank"> <i class="fa fa-play-circle-o" aria-hidden="true"></i><?php echo esc_html( $sophia_after_dark_live_now_label ); ?></a>
|
||||
</div>
|
||||
<?php
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Functions for rendering meta boxes in post/page
|
||||
*
|
||||
@ -78,7 +78,7 @@ function sophia_after_dark_sidebar_callback( $post ) {
|
||||
// Create our nonce field.
|
||||
wp_nonce_field( 'sophia_after_dark_nonce_' . basename( __FILE__ ) , 'sophia_after_dark_sidebar_layout_nonce' );
|
||||
?>
|
||||
<div class="mt-meta-options-wrap">
|
||||
<div class="sad-meta-options-wrap">
|
||||
<div class="buttonset">
|
||||
<?php foreach ( $sophia_after_dark_page_sidebar_option as $field ) { ?>
|
||||
<input type="radio" id="<?php echo esc_attr( $field['id'] ); ?>" value="<?php echo esc_attr( $field['value'] ); ?>" name="sophia_after_dark_post_sidebar_layout" <?php checked( $field['value'], $post_sidebar_layout ); ?> />
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Dynamic styles
|
||||
*
|
||||
@ -32,12 +32,12 @@ if ( ! function_exists( 'sophia_after_dark_dynamic_styles' ) ) :
|
||||
}
|
||||
}
|
||||
|
||||
$output_css .= "a,a:hover,a:focus,a:active,.entry-cat .cat-links a:hover,.entry-cat a:hover,.entry-footer a:hover,.comment-author .fn .url:hover,.commentmetadata .comment-edit-link, #cancel-comment-reply-link, #cancel-comment-reply-link:before, .logged-in-as a,.widget a:hover, .widget a:hover::before, .widget li:hover::before,.mt-social-icon-wrap li a:hover,.mt-social-icon-wrap li a:focus,#site-navigation ul li:hover>a,#site-navigation ul li.current-menu-item>a,#site-navigation ul li.current_page_ancestor>a,#site-navigation ul li.current-menu-ancestor>a,#site-navigation ul li.current_page_item>a,#site-navigation ul li.current-menu-parent>a,#site-navigation ul li.focus>a,.banner-sub-title,.entry-title a:hover,.cat-links a:hover,.entry-footer .mt-readmore-btn:hover,.btn-wrapper a:hover,.mt-readmore-btn:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover,#footer-menu li a:hover,.sophia_after_dark_latest_posts .mt-post-title a:hover,#mt-scrollup:hover,.menu-toggle:hover, #top-navigation ul li a:hover,.mt-search-icon:hover, .entry-meta a:hover, .front-slider-block .banner-title a:hover, .post-info-wrap .entry-meta a:hover, .single .mt-single-related-posts .entry-title a:hover, .breadcrumbs .trail-items li a:hover, .wrap-label i,.has-thumbnail .post-info-wrap .entry-title a:hover,.front-slider-block .post-info-wrap .entry-title a:hover,#top-footer a:hover{ color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= "a,a:hover,a:focus,a:active,.entry-cat .cat-links a:hover,.entry-cat a:hover,.entry-footer a:hover,.comment-author .fn .url:hover,.commentmetadata .comment-edit-link, #cancel-comment-reply-link, #cancel-comment-reply-link:before, .logged-in-as a,.widget a:hover, .widget a:hover::before, .widget li:hover::before,.sad-social-icon-wrap li a:hover,.sad-social-icon-wrap li a:focus,#site-navigation ul li:hover>a,#site-navigation ul li.current-menu-item>a,#site-navigation ul li.current_page_ancestor>a,#site-navigation ul li.current-menu-ancestor>a,#site-navigation ul li.current_page_item>a,#site-navigation ul li.current-menu-parent>a,#site-navigation ul li.focus>a,.banner-sub-title,.entry-title a:hover,.cat-links a:hover,.entry-footer .sad-readmore-btn:hover,.btn-wrapper a:hover,.sad-readmore-btn:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover,#footer-menu li a:hover,.sophia_after_dark_latest_posts .sad-post-title a:hover,#sad-scrollup:hover,.menu-toggle:hover, #top-navigation ul li a:hover,.sad-search-icon:hover, .entry-meta a:hover, .front-slider-block .banner-title a:hover, .post-info-wrap .entry-meta a:hover, .single .sad-single-related-posts .entry-title a:hover, .breadcrumbs .trail-items li a:hover, .wrap-label i,.has-thumbnail .post-info-wrap .entry-title a:hover,.front-slider-block .post-info-wrap .entry-title a:hover,#top-footer a:hover{ color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".widget_search .search-submit,.widget_search .search-submit:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover, .error-404.not-found, .sophia_after_dark_social_media a:hover, .custom-header,.widget_tag_cloud .tagcloud a:hover,.widget.widget_tag_cloud a:hover { border-color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".front-slider-block .lSAction > a:hover, .top-featured-post-wrap .post-thumbnail .post-number, .post-cats-list a, #site-navigation .menu-item-description, article .post-thumbnail::before, #secondary .widget .widget-title::before, .mt-related-post-title::before, #colophon .widget .widget-title::before, .features-post-title::before, .mt-menu-search .mt-form-wrap .search-form .search-submit,.mt-live-link a,.widget_tag_cloud .tagcloud a:hover,.widget.widget_tag_cloud a:hover { background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".edit-link .post-edit-link,.reply .comment-reply-link,.widget_search .search-submit, .mt-menu-search .mt-form-wrap .search-form .search-submit:hover, article.sticky::before{ background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".front-slider-block .lSAction > a:hover, .top-featured-post-wrap .post-thumbnail .post-number, .post-cats-list a, #site-navigation .menu-item-description, article .post-thumbnail::before, #secondary .widget .widget-title::before, .sad-related-post-title::before, #colophon .widget .widget-title::before, .features-post-title::before, .sad-menu-search .sad-form-wrap .search-form .search-submit,.sad-live-link a,.widget_tag_cloud .tagcloud a:hover,.widget.widget_tag_cloud a:hover { background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".edit-link .post-edit-link,.reply .comment-reply-link,.widget_search .search-submit, .sad-menu-search .sad-form-wrap .search-form .search-submit:hover, article.sticky::before{ background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
|
||||
$output_css .= ".mt-menu-search .mt-form-wrap .search-form .search-field:focus{ outline-color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
$output_css .= ".sad-menu-search .sad-form-wrap .search-form .search-field:focus{ outline-color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
|
||||
|
||||
$slider_bg_image = get_theme_mod( 'sophia_after_dark_slider_bg_image' );
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Functions which enhance the theme by hooking into WordPress
|
||||
*
|
||||
@ -33,7 +33,7 @@ function sophia_after_dark_body_classes( $classes ) {
|
||||
*/
|
||||
if ( is_archive() || is_home() || is_search()) {
|
||||
$archive_sidebar_layout = get_theme_mod( 'sophia_after_dark_archive_sidebar_layout', 'no-sidebar' );
|
||||
$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' );
|
||||
$classes[] = esc_attr( $archive_sidebar_layout );
|
||||
$classes[] = esc_attr( $archive_style );
|
||||
} elseif ( is_single() ) {
|
||||
@ -125,8 +125,8 @@ function sophia_after_dark_admin_scripts( $hook ) {
|
||||
}
|
||||
|
||||
wp_enqueue_script( 'jquery-ui-button' );
|
||||
wp_enqueue_script( 'sophia-after-dark--admin-script', get_template_directory_uri() .'/assets/js/mt-admin-scripts.js', array( 'jquery' ), esc_attr( $sophia_after_dark_theme_version ), true );
|
||||
wp_enqueue_style( 'sophia-after-dark--admin-style', get_template_directory_uri() . '/assets/css/mt-admin-styles.css', array(), esc_attr( $sophia_after_dark_theme_version ) );
|
||||
wp_enqueue_script( 'sophia-after-dark--admin-script', get_template_directory_uri() .'/assets/js/sad-admin-scripts.js', array( 'jquery' ), esc_attr( $sophia_after_dark_theme_version ), true );
|
||||
wp_enqueue_style( 'sophia-after-dark--admin-style', get_template_directory_uri() . '/assets/css/sad-admin-styles.css', array(), esc_attr( $sophia_after_dark_theme_version ) );
|
||||
}
|
||||
/*----------------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/**
|
||||
@ -140,12 +140,12 @@ function sophia_after_dark_scripts(): void {
|
||||
wp_enqueue_style('lightslider-style', "$dir/assets/library/lightslider/css/lightslider.min.css", [], null);
|
||||
wp_enqueue_style('animate', "$dir/assets/library/animate/animate.min.css", [], '3.5.1');
|
||||
wp_enqueue_style('sophia-after-dark-style', get_stylesheet_uri(), [], $v);
|
||||
wp_enqueue_style('sophia-after-dark-responsive-style', "$dir/assets/css/mt-responsive.css", [], $v);
|
||||
wp_enqueue_style('sophia-after-dark-responsive-style', "$dir/assets/css/sad-responsive.css", [], $v);
|
||||
|
||||
wp_enqueue_script('sophia-after-dark-combine-scripts', "$dir/assets/js/mt-combine-scripts.js", ['jquery'], $v, true);
|
||||
wp_enqueue_script('sophia-after-dark-combine-scripts', "$dir/assets/js/sad-combine-scripts.js", ['jquery'], $v, true);
|
||||
wp_enqueue_script('sophia-after-dark-navigation', "$dir/assets/js/navigation.js", [], $v, true);
|
||||
wp_enqueue_script('sophia-after-dark-skip-link-focus-fix', "$dir/assets/js/skip-link-focus-fix.js", [], $v, true);
|
||||
wp_enqueue_script('sophia-after-dark-custom-scripts', "$dir/assets/js/mt-custom-scripts.js", ['jquery'], $v, true);
|
||||
wp_enqueue_script('sophia-after-dark-custom-scripts', "$dir/assets/js/sad-custom-scripts.js", ['jquery'], $v, true);
|
||||
|
||||
wp_localize_script('sophia-after-dark-custom-scripts', 'sophia_after_darkObject', [
|
||||
'menu_sticky' => get_theme_mod('sophia_after_dark_enable_sticky_menu', true) ? 'on' : 'off',
|
||||
@ -199,12 +199,12 @@ if ( ! function_exists( 'sophia_after_dark_social_media_content' ) ) :
|
||||
|
||||
if ( ! empty( $social_icons ) ) {
|
||||
?>
|
||||
<ul class="mt-social-icon-wrap">
|
||||
<ul class="sad-social-icon-wrap">
|
||||
<?php
|
||||
foreach ( $social_icons as $social_icon ) {
|
||||
if ( ! empty( $social_icon->social_url ) ) {
|
||||
?>
|
||||
<li class="mt-social-icon">
|
||||
<li class="sad-social-icon">
|
||||
<a href="<?php echo esc_url( $social_icon->social_url ); ?>" target="_blank">
|
||||
<i class="<?php echo esc_attr( $social_icon->social_icon ); ?>"></i>
|
||||
</a>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Custom template tags for this theme
|
||||
*
|
||||
@ -104,7 +104,7 @@ if ( ! function_exists( 'sophia_after_dark_entry_footer' ) ) :
|
||||
|
||||
$sophia_after_dark_archive_read_more = get_theme_mod( 'sophia_after_dark_archive_read_more', __( 'Discover', 'sophia-after-dark' ) );
|
||||
?>
|
||||
<a href="<?php the_permalink(); ?>" class="mt-readmore-btn"><?php echo esc_html( $sophia_after_dark_archive_read_more ); ?> <i class="fa fa-long-arrow-right"> </i></a>
|
||||
<a href="<?php the_permalink(); ?>" class="sad-readmore-btn"><?php echo esc_html( $sophia_after_dark_archive_read_more ); ?> <i class="fa fa-long-arrow-right"> </i></a>
|
||||
<?php
|
||||
}
|
||||
|
||||
@ -181,7 +181,7 @@ if ( ! function_exists( 'sophia_after_dark_post_thumbnail' ) ) :
|
||||
$current_post = $wp_query->current_post;
|
||||
|
||||
$thumbnail_size = 'post-thumbnail';
|
||||
$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' );
|
||||
$sidebar_layout = sophia_after_dark_is_sidebar_layout();
|
||||
|
||||
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) {
|
||||
@ -189,9 +189,9 @@ if ( ! function_exists( 'sophia_after_dark_post_thumbnail' ) ) :
|
||||
}
|
||||
|
||||
// define image size in various section
|
||||
if ( 'mt-archive--masonry-style' === $archive_style ) {
|
||||
if ( 'sad-archive--masonry-style' === $archive_style ) {
|
||||
$thumbnail_size = 'sophia-after-dark-post-auto';
|
||||
}elseif ( 'mt-archive--block-grid-style' === $archive_style ) {
|
||||
}elseif ( 'sad-archive--block-grid-style' === $archive_style ) {
|
||||
$thumbnail_size = 'sophia-after-dark-full-width';
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* MT: Author Info
|
||||
*
|
||||
@ -80,7 +80,7 @@ class sophia_after_dark_Author_Info extends WP_widget {
|
||||
|
||||
echo $before_widget;
|
||||
?>
|
||||
<div class="mt-author-info-wrapper">
|
||||
<div class="sad-author-info-wrapper">
|
||||
<?php
|
||||
if ( ! empty( $sophia_after_dark_widget_title ) ) {
|
||||
echo $before_title . esc_html( $sophia_after_dark_widget_title ) . $after_title;
|
||||
@ -123,7 +123,7 @@ class sophia_after_dark_Author_Info extends WP_widget {
|
||||
* @param array $new_instance Values just sent to be saved.
|
||||
* @param array $old_instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in sad-widget-fields.php
|
||||
*
|
||||
* @return array Updated safe values to be saved.
|
||||
*/
|
||||
@ -151,7 +151,7 @@ class sophia_after_dark_Author_Info extends WP_widget {
|
||||
*
|
||||
* @param array $instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in sad-widget-fields.php
|
||||
*/
|
||||
public function form( $instance ) {
|
||||
$widget_fields = $this->widget_fields();
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* MT: Latest Posts
|
||||
*
|
||||
@ -79,13 +79,13 @@ class sophia_after_dark_Latest_Posts extends WP_widget {
|
||||
|
||||
echo $before_widget;
|
||||
?>
|
||||
<div class="mt-latest-posts-wrapper">
|
||||
<div class="sad-latest-posts-wrapper">
|
||||
<?php
|
||||
if ( !empty( $sophia_after_dark_widget_title ) ) {
|
||||
echo $before_title . esc_html( $sophia_after_dark_widget_title ) . $after_title;
|
||||
}
|
||||
?>
|
||||
<div class="mt-posts-content-wrapper">
|
||||
<div class="sad-posts-content-wrapper">
|
||||
<?php
|
||||
$sophia_after_dark_posts_args = array(
|
||||
'posts_per_page' => absint( $sophia_after_dark_post_count ),
|
||||
@ -99,14 +99,14 @@ class sophia_after_dark_Latest_Posts extends WP_widget {
|
||||
while ( $sophia_after_dark_posts_query->have_posts() ) {
|
||||
$sophia_after_dark_posts_query->the_post();
|
||||
?>
|
||||
<div class="mt-single-post-wrap">
|
||||
<div class="sad-single-post-wrap">
|
||||
<?php if ( has_post_thumbnail() ) { ?>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
|
||||
<figure><div class="mt-post-thumb"><?php the_post_thumbnail( 'thumbnail' ); ?></div></figure>
|
||||
<figure><div class="sad-post-thumb"><?php the_post_thumbnail( 'thumbnail' ); ?></div></figure>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<div class="mt-post-content">
|
||||
<h5 class="mt-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
|
||||
<div class="sad-post-content">
|
||||
<h5 class="sad-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
|
||||
<div class="entry-cat">
|
||||
<?php
|
||||
sophia_after_dark_posted_on();
|
||||
@ -134,7 +134,7 @@ class sophia_after_dark_Latest_Posts extends WP_widget {
|
||||
* @param array $new_instance Values just sent to be saved.
|
||||
* @param array $old_instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in sad-widget-fields.php
|
||||
*
|
||||
* @return array Updated safe values to be saved.
|
||||
*/
|
||||
@ -162,7 +162,7 @@ class sophia_after_dark_Latest_Posts extends WP_widget {
|
||||
*
|
||||
* @param array $instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in sad-widget-fields.php
|
||||
*/
|
||||
public function form( $instance ) {
|
||||
$widget_fields = $this->widget_fields();
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* MT: Social Media
|
||||
*
|
||||
@ -61,13 +61,13 @@ class sophia_after_dark_Social_Media extends WP_widget {
|
||||
|
||||
echo $before_widget;
|
||||
?>
|
||||
<div class="mt-aside-social-wrapper">
|
||||
<div class="sad-aside-social-wrapper">
|
||||
<?php
|
||||
if ( ! empty( $sophia_after_dark_widget_title ) ) {
|
||||
echo $before_title . esc_html( $sophia_after_dark_widget_title ) . $after_title;
|
||||
}
|
||||
?>
|
||||
<div class="mt-social-icons-wrapper">
|
||||
<div class="sad-social-icons-wrapper">
|
||||
<?php sophia_after_dark_social_media_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -83,7 +83,7 @@ class sophia_after_dark_Social_Media extends WP_widget {
|
||||
* @param array $new_instance Values just sent to be saved.
|
||||
* @param array $old_instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_updated_field_value() defined in sad-widget-fields.php
|
||||
*
|
||||
* @return array Updated safe values to be saved.
|
||||
*/
|
||||
@ -111,7 +111,7 @@ class sophia_after_dark_Social_Media extends WP_widget {
|
||||
*
|
||||
* @param array $instance Previously saved values from database.
|
||||
*
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in mt-widget-fields.php
|
||||
* @uses sophia_after_dark_widgets_show_widget_field() defined in sad-widget-fields.php
|
||||
*/
|
||||
public function form( $instance ) {
|
||||
$widget_fields = $this->widget_fields();
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Define custom fields for widgets
|
||||
*
|
||||
@ -122,9 +122,9 @@ function sophia_after_dark_widgets_show_widget_field( $instance = '', $widget_fi
|
||||
<?php echo $image; ?>
|
||||
</div>
|
||||
|
||||
<div class="actions mt-clearfix">
|
||||
<button type="button" class="button mt-delete-button align-left"><?php esc_html_e( 'Remove', 'sophia-after-dark' ); ?></button>
|
||||
<button type="button" class="button mt-upload-button alignright"><?php esc_html_e( 'Select Image', 'sophia-after-dark' ); ?></button>
|
||||
<div class="actions sad-clearfix">
|
||||
<button type="button" class="button sad-delete-button align-left"><?php esc_html_e( 'Remove', 'sophia-after-dark' ); ?></button>
|
||||
<button type="button" class="button sad-upload-button alignright"><?php esc_html_e( 'Select Image', 'sophia-after-dark' ); ?></button>
|
||||
|
||||
<input name="<?php echo esc_attr( $instance->get_field_name( $sophia_after_dark_widgets_name ) ); ?>" id="<?php echo esc_attr( $instance->get_field_id( $sophia_after_dark_widgets_name ) ); ?>" class="upload-id" type="hidden" value="<?php echo esc_url( $sophia_after_dark_widget_field_value ) ?>"/>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* custom function and work related to widgets.
|
||||
*
|
||||
@ -77,7 +77,7 @@ add_action( 'widgets_init', 'sophia_after_dark_widgets_init' );
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
require get_template_directory() . '/inc/widgets/mt-widget-fields.php'; // Widget fields
|
||||
require get_template_directory() . '/inc/widgets/mt-author-info.php'; // Author Info
|
||||
require get_template_directory() . '/inc/widgets/mt-latest-posts.php'; // Latest Posts
|
||||
require get_template_directory() . '/inc/widgets/mt-social-media.php'; // Social Media
|
||||
require get_template_directory() . '/inc/widgets/sad-widget-fields.php'; // Widget fields
|
||||
require get_template_directory() . '/inc/widgets/sad-author-info.php'; // Author Info
|
||||
require get_template_directory() . '/inc/widgets/sad-latest-posts.php'; // Latest Posts
|
||||
require get_template_directory() . '/inc/widgets/sad-social-media.php'; // Social Media
|
14
index.php
14
index.php
@ -17,23 +17,23 @@ declare(strict_types=1);
|
||||
|
||||
get_header();
|
||||
|
||||
$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');
|
||||
|
||||
?>
|
||||
|
||||
<div class="mt-page-content-wrapper">
|
||||
<div class="sad-page-content-wrapper">
|
||||
<div itemscope id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?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
|
||||
@ -43,7 +43,7 @@ $archive_style = get_theme_mod('sophia_after_dark_archive_style', 'mt-archive--m
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
<?php if ('mt-archive--masonry-style' === $archive_style): ?>
|
||||
<?php if ('sad-archive--masonry-style' === $archive_style): ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -54,7 +54,7 @@ $archive_style = get_theme_mod('sophia_after_dark_archive_style', 'mt-archive--m
|
||||
<?php get_template_part('template-parts/content', 'none'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ('mt-archive--block-grid-style' === $archive_style): ?>
|
||||
<?php if ('sad-archive--block-grid-style' === $archive_style): ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#, fuzzy
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sophia After Dark\n"
|
||||
@ -15,11 +15,11 @@ msgstr ""
|
||||
"X-Loco-Version: 2.5.2; wp-5.7\n"
|
||||
"X-Domain: sophia-after-dark\n"
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:304
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:304
|
||||
msgid "— Select a page —"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-fields.php:70
|
||||
#: inc/widgets/sad-widget-fields.php:70
|
||||
msgid "- - Select User - -"
|
||||
msgstr ""
|
||||
|
||||
@ -27,118 +27,118 @@ msgstr ""
|
||||
msgid "404"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:267
|
||||
#: inc/sad-class-breadcrumbs.php:267
|
||||
msgid "404 Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:236
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:236
|
||||
msgid "404 Page Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-social-media.php:19
|
||||
#: inc/widgets/sad-social-media.php:19
|
||||
msgid "A widget shows the social media icons."
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:19
|
||||
#: inc/widgets/sad-latest-posts.php:19
|
||||
msgid "A widget to display the latest posts with thumbnail."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:59
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:59
|
||||
msgid "Add Icon"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:94
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:94
|
||||
msgid "Add Icon Before Tag"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:39
|
||||
#: inc/widgets/sad-widget-functions.php:39
|
||||
msgid "Add MT: Ads Banner widgets here."
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:23
|
||||
#: inc/widgets/sad-widget-functions.php:23
|
||||
msgid "Add widgets here."
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:56
|
||||
#: inc/widgets/sad-widget-functions.php:56
|
||||
msgid "Added widgets are display at Footer Widget Area."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:71
|
||||
#: inc/customizer/sad-customizer-panels.php:71
|
||||
msgid "Additional Features"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:22
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:22
|
||||
msgid "Archive Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:42
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:42
|
||||
msgid "Archive/Blog Sidebar Layout"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:68
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:68
|
||||
msgid "Archive/Blog Style"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:268
|
||||
#: inc/sad-class-breadcrumbs.php:268
|
||||
msgid "Archives"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-author-info.php:53
|
||||
#: inc/widgets/sad-author-info.php:53
|
||||
msgid "Author Image"
|
||||
msgstr ""
|
||||
|
||||
#: inc/hooks/mt-custom-hooks.php:276
|
||||
#: inc/hooks/sad-custom-hooks.php:276
|
||||
msgid "Back To Top"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:85
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:85
|
||||
msgid "Bottom Footer"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:82
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:82
|
||||
msgid "Breadcrumbs"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:265
|
||||
#: inc/sad-class-breadcrumbs.php:265
|
||||
msgctxt "breadcrumbs aria label"
|
||||
msgid "Breadcrumbs"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:264
|
||||
#: inc/sad-class-breadcrumbs.php:264
|
||||
msgid "Browse:"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:212
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:212
|
||||
msgid "Button Label"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:234
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:234
|
||||
msgid "Button Link"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:69
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:69
|
||||
msgid "Choose default post category"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-general-panel-options.php:91
|
||||
#: inc/customizer/sad-customizer-general-panel-options.php:91
|
||||
msgid "Choose site layout from available layouts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:65
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:65
|
||||
msgid "Choose social media icon."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:64
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:64
|
||||
msgid "Choose widget layout from available layouts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:353
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:353
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#. Name of the theme
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:122
|
||||
#: inc/hooks/mt-custom-hooks.php:558
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:122
|
||||
#: inc/hooks/sad-custom-hooks.php:558
|
||||
msgid "Sophia After Dark"
|
||||
msgstr ""
|
||||
|
||||
@ -156,7 +156,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. %s is the page number.
|
||||
#: inc/mt-class-breadcrumbs.php:274
|
||||
#: inc/sad-class-breadcrumbs.php:274
|
||||
#, php-format
|
||||
msgid "Comment Page %s"
|
||||
msgstr ""
|
||||
@ -181,41 +181,41 @@ msgstr[1] ""
|
||||
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:130
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:130
|
||||
msgid "Copyright Text"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:145
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:145
|
||||
msgid "Count"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:790 inc/mt-class-breadcrumbs.php:1219
|
||||
#: inc/sad-class-breadcrumbs.php:790 inc/sad-class-breadcrumbs.php:1219
|
||||
msgctxt "daily archives date format"
|
||||
msgid "j"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:144
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:144
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:45
|
||||
#: inc/widgets/sad-latest-posts.php:45
|
||||
msgid "Default Order"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:43
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:43
|
||||
msgid "Default Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:352
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:352
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:59
|
||||
#: inc/customizer/sad-customizer-panels.php:59
|
||||
msgid "Design Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:105
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:86
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:86
|
||||
msgid "Discover"
|
||||
msgstr ""
|
||||
|
||||
@ -226,67 +226,67 @@ msgstr ""
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:105
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:105
|
||||
msgid "Enable Breadcrumbs"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:130
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:130
|
||||
msgid "Enable Featured Posts Section"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:107
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:107
|
||||
msgid "Enable Footer Menu"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:43
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:43
|
||||
msgid "Enable Footer Widget Area"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:254
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:254
|
||||
msgid "Enable Latest Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:188
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:188
|
||||
msgid "Enable Live Now Button"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:178
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:178
|
||||
msgid "Enable Related Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:320
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:320
|
||||
msgid "Enable Search Icon"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:45
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:45
|
||||
msgid "Enable Slider Section"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:297
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:297
|
||||
msgid "Enable Social Icons"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:274
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:274
|
||||
msgid "Enable Sticky Menu"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:116
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:116
|
||||
msgid "Enable Title Prefix"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:45
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:45
|
||||
msgid "Enable Top Header"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:69
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:69
|
||||
msgid "Enable Trending Section"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-general-panel-options.php:68
|
||||
#: inc/customizer/sad-customizer-general-panel-options.php:68
|
||||
msgid "Enable Wow Animation"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:70
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:70
|
||||
msgid "Enter social media url."
|
||||
msgstr ""
|
||||
|
||||
@ -294,25 +294,25 @@ msgstr ""
|
||||
msgid "error"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:255
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:255
|
||||
msgid "Extra Options"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:145
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:153
|
||||
#: inc/hooks/mt-custom-hooks.php:447
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:145
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:153
|
||||
#: inc/hooks/sad-custom-hooks.php:447
|
||||
msgid "Featured News"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:174
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:174
|
||||
msgid "Featured Post Order"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:111
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:111
|
||||
msgid "Featured Posts Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/hooks/mt-custom-hooks.php:117
|
||||
#: inc/hooks/sad-custom-hooks.php:117
|
||||
msgid "Follow Us: "
|
||||
msgstr ""
|
||||
|
||||
@ -320,44 +320,44 @@ msgstr ""
|
||||
msgid "Footer"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:54
|
||||
#: inc/widgets/sad-widget-functions.php:54
|
||||
#, php-format
|
||||
msgid "Footer %d"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:83
|
||||
#: inc/customizer/sad-customizer-panels.php:83
|
||||
msgid "Footer Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:21
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:21
|
||||
msgid "Footer Widget Area"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:47
|
||||
#: inc/customizer/sad-customizer-panels.php:47
|
||||
msgid "Front Sections"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:23
|
||||
#: inc/customizer/sad-customizer-panels.php:23
|
||||
msgid "General Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:37
|
||||
#: inc/widgets/sad-widget-functions.php:37
|
||||
msgid "Header Ads Section"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer.php:31
|
||||
#: inc/customizer/sad-customizer.php:31
|
||||
msgid "Header Image for only Innerpages"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-panels.php:35
|
||||
#: inc/customizer/sad-customizer-panels.php:35
|
||||
msgid "Header Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:266
|
||||
#: inc/sad-class-breadcrumbs.php:266
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:772
|
||||
#: inc/sad-class-breadcrumbs.php:772
|
||||
msgctxt "hour archives time format"
|
||||
msgid "g a"
|
||||
msgstr ""
|
||||
@ -387,7 +387,7 @@ msgctxt "Josefin Sans font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:178
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:178
|
||||
msgid "Latest Posts"
|
||||
msgstr ""
|
||||
|
||||
@ -397,7 +397,7 @@ msgstr ""
|
||||
msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:49
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:49
|
||||
msgid "Left sidebar"
|
||||
msgstr ""
|
||||
|
||||
@ -407,46 +407,46 @@ msgctxt "list item separator"
|
||||
msgid ", "
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:204
|
||||
#: inc/hooks/mt-top-header-hooks.php:88
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:204
|
||||
#: inc/hooks/sad-top-header-hooks.php:88
|
||||
msgid "Live Now"
|
||||
msgstr ""
|
||||
|
||||
#: inc/hooks/mt-custom-hooks.php:78
|
||||
#: inc/hooks/sad-custom-hooks.php:78
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#. Minute archive title. %s is the minute time format.
|
||||
#: inc/mt-class-breadcrumbs.php:276
|
||||
#: inc/sad-class-breadcrumbs.php:276
|
||||
#, php-format
|
||||
msgid "Minute %s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:738
|
||||
#: inc/sad-class-breadcrumbs.php:738
|
||||
msgctxt "minute and hour archives time format"
|
||||
msgid "g:i a"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:755
|
||||
#: inc/sad-class-breadcrumbs.php:755
|
||||
msgctxt "minute archives time format"
|
||||
msgid "i"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:789 inc/mt-class-breadcrumbs.php:845
|
||||
#: inc/mt-class-breadcrumbs.php:1215
|
||||
#: inc/sad-class-breadcrumbs.php:789 inc/sad-class-breadcrumbs.php:845
|
||||
#: inc/sad-class-breadcrumbs.php:1215
|
||||
msgctxt "monthly archives date format"
|
||||
msgid "F"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-author-info.php:22
|
||||
#: inc/widgets/sad-author-info.php:22
|
||||
msgid "MT: Author Info"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:22
|
||||
#: inc/widgets/sad-latest-posts.php:22
|
||||
msgid "MT: Latest Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-social-media.php:22
|
||||
#: inc/widgets/sad-social-media.php:22
|
||||
msgid "MT: Social Media"
|
||||
msgstr ""
|
||||
|
||||
@ -454,16 +454,16 @@ msgstr ""
|
||||
msgid "Mystery Themes"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:339
|
||||
#: inc/widgets/mt-widget-fields.php:119
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:339
|
||||
#: inc/widgets/sad-widget-fields.php:119
|
||||
msgid "No image selected"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:67
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:67
|
||||
msgid "No sidebar Content Centered"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:61
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:61
|
||||
msgid "No sidebar Full width"
|
||||
msgstr ""
|
||||
|
||||
@ -482,16 +482,16 @@ msgid "Oops! That page can’t be found."
|
||||
msgstr ""
|
||||
|
||||
#. %s is the page number.
|
||||
#: inc/mt-class-breadcrumbs.php:272
|
||||
#: inc/sad-class-breadcrumbs.php:272
|
||||
#, php-format
|
||||
msgid "Page %s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:192
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:192
|
||||
msgid "Page Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:212
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:212
|
||||
msgid "Pages Sidebar Layout"
|
||||
msgstr ""
|
||||
|
||||
@ -506,23 +506,23 @@ msgctxt "Poppins font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:52
|
||||
#: inc/widgets/sad-latest-posts.php:52
|
||||
msgid "Post Count"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:297
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:297
|
||||
msgid "Post count"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:41
|
||||
#: inc/widgets/sad-latest-posts.php:41
|
||||
msgid "Post Order"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:131
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:131
|
||||
msgid "Post Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:150
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:150
|
||||
msgid "Posts Sidebar Layout"
|
||||
msgstr ""
|
||||
|
||||
@ -530,19 +530,19 @@ msgstr ""
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-general-panel-options.php:117
|
||||
#: inc/customizer/sad-customizer-general-panel-options.php:117
|
||||
msgid "Primary Color"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-latest-posts.php:46
|
||||
#: inc/widgets/sad-latest-posts.php:46
|
||||
msgid "Random Order"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:179
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:179
|
||||
msgid "Random Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:94
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:94
|
||||
msgid "Read More Button"
|
||||
msgstr ""
|
||||
|
||||
@ -557,35 +557,35 @@ msgstr ""
|
||||
msgid "Related Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:334
|
||||
#: inc/widgets/mt-widget-fields.php:126
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:334
|
||||
#: inc/widgets/sad-widget-fields.php:126
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:55
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:55
|
||||
msgid "Right sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: inc/hooks/mt-custom-hooks.php:138
|
||||
#: inc/hooks/sad-custom-hooks.php:138
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: inc/hooks/mt-custom-hooks.php:317
|
||||
#: inc/hooks/sad-custom-hooks.php:317
|
||||
#, php-format
|
||||
msgid "Search Results for: %s"
|
||||
msgstr ""
|
||||
|
||||
#. %s is the search query.
|
||||
#: inc/mt-class-breadcrumbs.php:270
|
||||
#: inc/sad-class-breadcrumbs.php:270
|
||||
#, php-format
|
||||
msgid "Search results for: %s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:276
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:276
|
||||
msgid "Section Title"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-author-info.php:46
|
||||
#: inc/widgets/sad-author-info.php:46
|
||||
msgid "Select Author"
|
||||
msgstr ""
|
||||
|
||||
@ -593,41 +593,41 @@ msgstr ""
|
||||
msgid "Select Category"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-custom-classes.php:333
|
||||
#: inc/widgets/mt-widget-fields.php:127
|
||||
#: inc/customizer/sad-customizer-custom-classes.php:333
|
||||
#: inc/widgets/sad-widget-fields.php:127
|
||||
msgid "Select Image"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-author-info.php:19
|
||||
#: inc/widgets/sad-author-info.php:19
|
||||
msgid "Select the user to display the author info."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:95
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:95
|
||||
msgid "Show/Hide Hash Icon before tag."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-design-panel-options.php:117
|
||||
#: inc/customizer/sad-customizer-design-panel-options.php:117
|
||||
msgid "Show/Hide title prefix in archive pages."
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:46
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:46
|
||||
msgid "Show/Hide top header section."
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-widget-functions.php:21
|
||||
#: inc/widgets/sad-widget-functions.php:21
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:17
|
||||
#: inc/metaboxes/mt-post-sidebar-meta.php:26
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:17
|
||||
#: inc/metaboxes/sad-post-sidebar-meta.php:26
|
||||
msgid "Sidebar Layout"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-general-panel-options.php:90
|
||||
#: inc/customizer/sad-customizer-general-panel-options.php:90
|
||||
msgid "Site Layout"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-general-panel-options.php:25
|
||||
#: inc/customizer/sad-customizer-general-panel-options.php:25
|
||||
msgid "Site Settings"
|
||||
msgstr ""
|
||||
|
||||
@ -635,35 +635,35 @@ msgstr ""
|
||||
msgid "Skip To Content"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:68
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:68
|
||||
msgid "Slider category"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:92
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:92
|
||||
msgid "Slider Section Background Image"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-front-panel-options.php:26
|
||||
#: inc/customizer/sad-customizer-front-panel-options.php:26
|
||||
msgid "Slider Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:64
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:64
|
||||
msgid "Social Icon"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:21
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:21
|
||||
msgid "Social Icons"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:69
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:69
|
||||
msgid "Social Link URL"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:54
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:54
|
||||
msgid "Social Media"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-additional-panel-options.php:58
|
||||
#: inc/customizer/sad-customizer-additional-panel-options.php:58
|
||||
msgid "Social Media Icons"
|
||||
msgstr ""
|
||||
|
||||
@ -679,16 +679,16 @@ msgstr ""
|
||||
msgid "Tagged %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:166
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:166
|
||||
msgid "Tags Count"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:139
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:139
|
||||
msgid "Tags Orderby"
|
||||
msgstr ""
|
||||
|
||||
#. 1: Theme name, 2: Theme author.
|
||||
#: inc/hooks/mt-custom-hooks.php:565
|
||||
#: inc/hooks/sad-custom-hooks.php:565
|
||||
#, php-format
|
||||
msgid "Theme: %1$s by %2$s."
|
||||
msgstr ""
|
||||
@ -697,50 +697,50 @@ msgstr ""
|
||||
msgid "Top Header"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:26
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:26
|
||||
msgid "Top Header Settings"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:117
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:117
|
||||
msgid "Trending Label"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:109
|
||||
#: inc/hooks/mt-top-header-hooks.php:50
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:109
|
||||
#: inc/hooks/sad-top-header-hooks.php:50
|
||||
msgid "Trending Now"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-header-panel-options.php:70
|
||||
#: inc/customizer/sad-customizer-header-panel-options.php:70
|
||||
msgid "Trending section shows the popular tags."
|
||||
msgstr ""
|
||||
|
||||
#. Weekly archive title. %s is the week date format.
|
||||
#: inc/mt-class-breadcrumbs.php:278
|
||||
#: inc/sad-class-breadcrumbs.php:278
|
||||
#, php-format
|
||||
msgid "Week %s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:818
|
||||
#: inc/sad-class-breadcrumbs.php:818
|
||||
msgctxt "weekly archives date format"
|
||||
msgid "W"
|
||||
msgstr ""
|
||||
|
||||
#: inc/customizer/mt-customizer-footer-panel-options.php:63
|
||||
#: inc/customizer/sad-customizer-footer-panel-options.php:63
|
||||
msgid "Widget Area Layout"
|
||||
msgstr ""
|
||||
|
||||
#: inc/widgets/mt-author-info.php:34 inc/widgets/mt-latest-posts.php:35
|
||||
#: inc/widgets/mt-social-media.php:35
|
||||
#: inc/widgets/sad-author-info.php:34 inc/widgets/sad-latest-posts.php:35
|
||||
#: inc/widgets/sad-social-media.php:35
|
||||
msgid "Widget title"
|
||||
msgstr ""
|
||||
|
||||
#: inc/mt-class-breadcrumbs.php:788 inc/mt-class-breadcrumbs.php:817
|
||||
#: inc/mt-class-breadcrumbs.php:844 inc/mt-class-breadcrumbs.php:871
|
||||
#: inc/mt-class-breadcrumbs.php:1211
|
||||
#: inc/sad-class-breadcrumbs.php:788 inc/sad-class-breadcrumbs.php:817
|
||||
#: inc/sad-class-breadcrumbs.php:844 inc/sad-class-breadcrumbs.php:871
|
||||
#: inc/sad-class-breadcrumbs.php:1211
|
||||
msgctxt "yearly archives date format"
|
||||
msgid "Y"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:39 inc/customizer/mt-customizer-design-panel-options.php:268
|
||||
#: 404.php:39 inc/customizer/sad-customizer-design-panel-options.php:268
|
||||
msgid "You May Like"
|
||||
msgstr ""
|
||||
|
2
page.php
2
page.php
@ -14,7 +14,7 @@
|
||||
*/
|
||||
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/WebPage">
|
||||
<main id="main" class="site-main" role="main" aria-label="<?php esc_attr_e( 'Page Content', 'sophia-after-dark' ); ?>">
|
||||
|
||||
|
76
rtl.css
76
rtl.css
@ -1,4 +1,4 @@
|
||||
/* 146 of 1186 CSS properties converted by rtl.daskhat.ir
|
||||
/* 146 of 1186 CSS properties converted by rtl.daskhat.ir
|
||||
These properties should be override originals.
|
||||
just load rtl css file after original css file.*/
|
||||
|
||||
@ -142,31 +142,31 @@ article.hentry .entry-footer>span{
|
||||
margin: 0 20px 0 5px ;
|
||||
}
|
||||
|
||||
.mt-column-wrapper{
|
||||
.sad-column-wrapper{
|
||||
margin-right: -3%;
|
||||
}
|
||||
|
||||
.mt-column-1{
|
||||
.sad-column-1{
|
||||
margin-left: -4px;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.mt-column-2{
|
||||
.sad-column-2{
|
||||
margin-left: -4px;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.mt-column-3{
|
||||
.sad-column-3{
|
||||
margin-left: -4px;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.mt-column-4{
|
||||
.sad-column-4{
|
||||
margin-left: -4px;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.mt-column-5{
|
||||
.sad-column-5{
|
||||
margin-left: -4px;
|
||||
margin-right: 3%;
|
||||
}
|
||||
@ -252,15 +252,15 @@ body.site-layout--boxed{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.mt-header-social-wrapper, .mt-header-extra-icons{
|
||||
.sad-header-social-wrapper, .sad-header-extra-icons{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap{
|
||||
.sad-social-icon-wrap{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap li{
|
||||
.sad-social-icon-wrap li{
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
@ -273,40 +273,40 @@ body.site-layout--boxed{
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.mt-social-search-wrapper{
|
||||
.sad-social-search-wrapper{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.mt-social-wrapper{
|
||||
.sad-social-wrapper{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-follow-title{
|
||||
.sad-follow-title{
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.mt-menu-search{
|
||||
.sad-menu-search{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.mt-search-icon{
|
||||
.sad-search-icon{
|
||||
margin: 15px 40px 15px 0 ;
|
||||
}
|
||||
|
||||
.mt-search-icon i{
|
||||
.sad-search-icon i{
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap{
|
||||
.sad-menu-search .sad-form-wrap{
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form{
|
||||
.sad-menu-search .sad-form-wrap .search-form{
|
||||
right: 50%;
|
||||
margin-right: -50%;
|
||||
}
|
||||
|
||||
.mt-form-close{
|
||||
.sad-form-close{
|
||||
left: 40px;
|
||||
}
|
||||
|
||||
@ -401,7 +401,7 @@ body.site-layout--boxed{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-post-content{
|
||||
.top-featured-post-wrap .sad-post-content{
|
||||
float: left;
|
||||
}
|
||||
|
||||
@ -409,7 +409,7 @@ body.site-layout--boxed{
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn i, .btn-wrapper a i , .mt-readmore-btn i{
|
||||
.entry-footer .sad-readmore-btn i, .btn-wrapper a i , .sad-readmore-btn i{
|
||||
margin-right: 5px;
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
@ -417,7 +417,7 @@ body.site-layout--boxed{
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn:hover i, .btn-wrapper a:hover i, .mt-readmore-btn:hover i{
|
||||
.entry-footer .sad-readmore-btn:hover i, .btn-wrapper a:hover i, .sad-readmore-btn:hover i{
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
@ -429,37 +429,37 @@ article.sticky::before{
|
||||
content: "\f100";
|
||||
}
|
||||
|
||||
.archive-grid-post-wrapper, .mt-archive--masonry-style .sophia-after-dark-content-masonry{
|
||||
.archive-grid-post-wrapper, .sad-archive--masonry-style .sophia-after-dark-content-masonry{
|
||||
margin-right: -3%;
|
||||
}
|
||||
|
||||
.mt-archive--block-grid-style article, .mt-archive--masonry-style #mt-masonry article{
|
||||
.sad-archive--block-grid-style article, .sad-archive--masonry-style #sad-masonry article{
|
||||
margin-right: 3%;
|
||||
margin-left: -4px;
|
||||
}
|
||||
|
||||
.mt-archive--masonry-style #mt-masonry article{
|
||||
.sad-archive--masonry-style #sad-masonry article{
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#secondary .widget .widget-title, .mt-related-post-title, #colophon .widget .widget-title{
|
||||
#secondary .widget .widget-title, .sad-related-post-title, #colophon .widget .widget-title{
|
||||
padding-right: 35px;
|
||||
}
|
||||
|
||||
#secondary .widget .widget-title::before, .mt-related-post-title:before, #colophon .widget .widget-title:before, .features-post-title:before{
|
||||
#secondary .widget .widget-title::before, .sad-related-post-title:before, #colophon .widget .widget-title:before, .features-post-title:before{
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mt-author-box{
|
||||
.sad-author-box{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author__avatar{
|
||||
.single .sad-author-box .sad-author__avatar{
|
||||
float: right;
|
||||
margin-left: 2%;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author-info{
|
||||
.single .sad-author-box .sad-author-info{
|
||||
float: right;
|
||||
}
|
||||
|
||||
@ -483,11 +483,11 @@ article.sticky::before{
|
||||
left: -10px;
|
||||
}
|
||||
|
||||
#top-footer .mt-footer-widget-wrapper{
|
||||
#top-footer .sad-footer-widget-wrapper{
|
||||
margin-right: -3%;
|
||||
}
|
||||
|
||||
#top-footer.footer-column-one .mt-footer-widget, #top-footer.footer-column-two .mt-footer-widget, #top-footer.footer-column-three .mt-footer-widget, #top-footer.footer-column-four .mt-footer-widget{
|
||||
#top-footer.footer-column-one .sad-footer-widget, #top-footer.footer-column-two .sad-footer-widget, #top-footer.footer-column-three .sad-footer-widget, #top-footer.footer-column-four .sad-footer-widget{
|
||||
margin-right: 3%;
|
||||
margin-left: -4px;
|
||||
}
|
||||
@ -504,29 +504,29 @@ article.sticky::before{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.sophia_after_dark_latest_posts .mt-single-post-wrap > a{
|
||||
.sophia_after_dark_latest_posts .sad-single-post-wrap > a{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.sophia_after_dark_latest_posts .mt-post-content{
|
||||
.sophia_after_dark_latest_posts .sad-post-content{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper{
|
||||
.sad-related-posts-wrapper{
|
||||
margin-right: -3%;
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper article{
|
||||
.sad-related-posts-wrapper article{
|
||||
margin-right: 3%;
|
||||
margin-left: -4px;
|
||||
}
|
||||
|
||||
#mt-scrollup{
|
||||
#sad-scrollup{
|
||||
left: 40px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#mt-scrollup::before{
|
||||
#sad-scrollup::before{
|
||||
left: -36px;
|
||||
padding: 3px 6px 2px 4px ;
|
||||
}
|
||||
|
14
search.php
14
search.php
@ -7,23 +7,23 @@
|
||||
* @package Sophia After Dark
|
||||
* @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">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main" aria-label="<?php esc_attr_e( 'Search Results', 'sophia-after-dark' ); ?>">
|
||||
|
||||
<?php
|
||||
if ( 'mt-archive--block-grid-style' === $archive_style ) {
|
||||
if ( 'sad-archive--block-grid-style' === $archive_style ) {
|
||||
echo '<div class="archive-grid-post-wrapper">';
|
||||
}
|
||||
|
||||
if ( have_posts() ) :
|
||||
if ( 'mt-archive--masonry-style' === $archive_style ) :
|
||||
if ( 'sad-archive--masonry-style' === $archive_style ) :
|
||||
?>
|
||||
<div class="sophia-after-dark-content-masonry">
|
||||
<div id="mt-masonry">
|
||||
<div id="sad-masonry">
|
||||
<?php
|
||||
endif;
|
||||
|
||||
@ -33,7 +33,7 @@ get_header();
|
||||
get_template_part( 'template-parts/content', 'search' );
|
||||
endwhile;
|
||||
|
||||
if ( 'mt-archive--masonry-style' === $archive_style ) :
|
||||
if ( 'sad-archive--masonry-style' === $archive_style ) :
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
@ -47,7 +47,7 @@ get_header();
|
||||
|
||||
endif;
|
||||
|
||||
if ( 'mt-archive--block-grid-style' === $archive_style ) {
|
||||
if ( 'sad-archive--block-grid-style' === $archive_style ) {
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* The Sidebar containing the footer widget areas.
|
||||
*
|
||||
@ -23,34 +23,34 @@ if ( ! is_active_sidebar( 'footer-sidebar' ) &&
|
||||
$layout = get_theme_mod( 'sophia_after_dark_widget_area_layout', 'column-three' );
|
||||
?>
|
||||
|
||||
<div id="top-footer" class="footer-widgets-wrapper footer-<?php echo esc_attr( $layout ); ?> mt-clearfix">
|
||||
<div class="mt-container">
|
||||
<div class="footer-widgets-area mt-clearfix">
|
||||
<div class="mt-footer-widget-wrapper mt-column-wrapper mt-clearfix">
|
||||
<div id="top-footer" class="footer-widgets-wrapper footer-<?php echo esc_attr( $layout ); ?> sad-clearfix">
|
||||
<div class="sad-container">
|
||||
<div class="footer-widgets-area sad-clearfix">
|
||||
<div class="sad-footer-widget-wrapper sad-column-wrapper sad-clearfix">
|
||||
|
||||
<?php
|
||||
// Footer widget 1 (always shown)
|
||||
echo '<div class="mt-footer-widget wow fadeInLeft" data-wow-duration="0.3s">';
|
||||
echo '<div class="sad-footer-widget wow fadeInLeft" data-wow-duration="0.3s">';
|
||||
dynamic_sidebar( 'footer-sidebar' );
|
||||
echo '</div>';
|
||||
|
||||
// Footer widget 2 (shown in all but column-one layout)
|
||||
if ( $layout !== 'column-one' ) {
|
||||
echo '<div class="mt-footer-widget wow fadeInLeft" data-wow-duration="0.6s">';
|
||||
echo '<div class="sad-footer-widget wow fadeInLeft" data-wow-duration="0.6s">';
|
||||
dynamic_sidebar( 'footer-sidebar-2' );
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
// Footer widget 3 (only for three or four column layouts)
|
||||
if ( in_array( $layout, [ 'column-three', 'column-four' ], true ) ) {
|
||||
echo '<div class="mt-footer-widget wow fadeInLeft" data-wow-duration="0.9s">';
|
||||
echo '<div class="sad-footer-widget wow fadeInLeft" data-wow-duration="0.9s">';
|
||||
dynamic_sidebar( 'footer-sidebar-3' );
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
// Footer widget 4 (only for four column layout)
|
||||
if ( $layout === 'column-four' ) {
|
||||
echo '<div class="mt-footer-widget wow fadeInLeft" data-wow-duration="1.2s">';
|
||||
echo '<div class="sad-footer-widget wow fadeInLeft" data-wow-duration="1.2s">';
|
||||
dynamic_sidebar( 'footer-sidebar-4' );
|
||||
echo '</div>';
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
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/Article">
|
||||
<main id="main" class="site-main" role="main" aria-label="<?php esc_attr_e( 'Single Post Content', 'sophia-after-dark' ); ?>">
|
||||
<?php
|
||||
|
228
style.css
228
style.css
@ -1,4 +1,4 @@
|
||||
/*!
|
||||
/*!
|
||||
Theme Name: Sophia After Dark
|
||||
Author: Sophia Atkinson, Mystery Themes
|
||||
Author URI: https://sophia.wtf
|
||||
@ -599,8 +599,8 @@ Alignments
|
||||
Clearings
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.mt-clearfix:before,
|
||||
.mt-clearfix:after,
|
||||
.sad-clearfix:before,
|
||||
.sad-clearfix:after,
|
||||
.row:before,
|
||||
.row:after,
|
||||
.entry-content:before,
|
||||
@ -613,20 +613,20 @@ Clearings
|
||||
.site-content:after,
|
||||
.site-footer:before,
|
||||
.site-footer:after,
|
||||
.mt-container:after,
|
||||
.mt-container:before {
|
||||
.sad-container:after,
|
||||
.sad-container:before {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
|
||||
.mt-clearfix:after,
|
||||
.sad-clearfix:after,
|
||||
.row:after,
|
||||
.entry-content:after,
|
||||
.comment-content:after,
|
||||
.site-header:after,
|
||||
.site-content:after,
|
||||
.site-footer:after,
|
||||
.mt-container:after {
|
||||
.sad-container:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@ -648,12 +648,12 @@ Clearings
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.footer-widgets-wrapper .mt-social-icon-wrap,
|
||||
.widget-area .mt-social-icon-wrap {
|
||||
.footer-widgets-wrapper .sad-social-icon-wrap,
|
||||
.widget-area .sad-social-icon-wrap {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.mt-social-icons-wrapper {
|
||||
.sad-social-icons-wrapper {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@ -1199,12 +1199,12 @@ object {
|
||||
Grid CSS
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.mt-column-wrapper {
|
||||
.sad-column-wrapper {
|
||||
margin-left: -3%;
|
||||
margin-bottom: -3%;
|
||||
}
|
||||
|
||||
.mt-column-1 {
|
||||
.sad-column-1 {
|
||||
display: inline-block;
|
||||
margin-right: -4px;
|
||||
vertical-align: top;
|
||||
@ -1213,7 +1213,7 @@ Grid CSS
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
.mt-column-2 {
|
||||
.sad-column-2 {
|
||||
display: inline-block;
|
||||
margin-right: -4px;
|
||||
vertical-align: top;
|
||||
@ -1222,7 +1222,7 @@ Grid CSS
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
.mt-column-3 {
|
||||
.sad-column-3 {
|
||||
display: inline-block;
|
||||
margin-right: -4px;
|
||||
vertical-align: top;
|
||||
@ -1231,7 +1231,7 @@ Grid CSS
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
.mt-column-4 {
|
||||
.sad-column-4 {
|
||||
display: inline-block;
|
||||
margin-right: -4px;
|
||||
vertical-align: top;
|
||||
@ -1240,7 +1240,7 @@ Grid CSS
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
.mt-column-5 {
|
||||
.sad-column-5 {
|
||||
display: inline-block;
|
||||
margin-right: -4px;
|
||||
vertical-align: top;
|
||||
@ -1581,7 +1581,7 @@ body.site-layout--boxed {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.widget .author-social .mt-social-icon-wrap {
|
||||
.widget .author-social .sad-social-icon-wrap {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
@ -1590,12 +1590,12 @@ body.site-layout--boxed {
|
||||
background: #0B0B0B none repeat scroll 0 0;
|
||||
}
|
||||
|
||||
.mt-container {
|
||||
.sad-container {
|
||||
width: 1320px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mt-hide {
|
||||
.sad-hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -1681,11 +1681,11 @@ Header CSS
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mt-live-link {
|
||||
.sad-live-link {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-live-link a {
|
||||
.sad-live-link a {
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
background: #D33;
|
||||
@ -1694,15 +1694,15 @@ Header CSS
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.mt-live-link a i {
|
||||
.sad-live-link a i {
|
||||
margin-right: 10px;
|
||||
font-size: 22px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.mt-live-link a:hover,
|
||||
.mt-live-link a:focus {
|
||||
.sad-live-link a:hover,
|
||||
.sad-live-link a:focus {
|
||||
color: #ffffff;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
|
||||
}
|
||||
@ -1736,44 +1736,44 @@ Header CSS
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.mt-header-social-wrapper,
|
||||
.mt-header-extra-icons {
|
||||
.sad-header-social-wrapper,
|
||||
.sad-header-extra-icons {
|
||||
float: left;
|
||||
width: 30%;
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap {
|
||||
.sad-social-icon-wrap {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap li {
|
||||
.sad-social-icon-wrap li {
|
||||
display: inline-block;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap li a:hover {
|
||||
.sad-social-icon-wrap li a:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
.mt-header-extra-icons {
|
||||
.sad-header-extra-icons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mt-header-extra-icons {
|
||||
.sad-header-extra-icons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mt-logo-row-wrapper {
|
||||
.sad-logo-row-wrapper {
|
||||
background: #0B0B0B;
|
||||
-webkit-transition: 0.3s ease;
|
||||
-o-transition: 0.3s ease;
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.is-sticky .mt-logo-row-wrapper {
|
||||
.is-sticky .sad-logo-row-wrapper {
|
||||
background: #fff;
|
||||
z-index: 9999;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
@ -1785,11 +1785,11 @@ Header CSS
|
||||
margin: 9px 0;
|
||||
}
|
||||
|
||||
.mt-social-menu-wrapper {
|
||||
.sad-social-menu-wrapper {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.is-sticky .mt-social-menu-wrapper {
|
||||
.is-sticky .sad-social-menu-wrapper {
|
||||
background: #0B0B0B;
|
||||
z-index: 9999;
|
||||
}
|
||||
@ -1799,16 +1799,16 @@ Header CSS
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mt-social-search-wrapper {
|
||||
.sad-social-search-wrapper {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-social-wrapper {
|
||||
.sad-social-wrapper {
|
||||
float: left;
|
||||
margin: 15px 0 15px;
|
||||
}
|
||||
|
||||
.mt-follow-title {
|
||||
.sad-follow-title {
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
@ -1816,19 +1816,19 @@ Header CSS
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap {
|
||||
.sad-social-icon-wrap {
|
||||
float: right;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap li {
|
||||
.sad-social-icon-wrap li {
|
||||
display: inline-block;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.mt-social-icon-wrap li a {
|
||||
.sad-social-icon-wrap li a {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@ -1836,11 +1836,11 @@ Header CSS
|
||||
Search CSS
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.mt-menu-search {
|
||||
.sad-menu-search {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mt-search-icon {
|
||||
.sad-search-icon {
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
@ -1848,19 +1848,19 @@ Search CSS
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mt-search-icon a {
|
||||
.sad-search-icon a {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.mt-search-icon:hover {
|
||||
.sad-search-icon:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
.mt-search-icon i {
|
||||
.sad-search-icon i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap {
|
||||
.sad-menu-search .sad-form-wrap {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@ -1878,7 +1878,7 @@ Search CSS
|
||||
transition: 0.5s ease;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap.search-activate {
|
||||
.sad-menu-search .sad-form-wrap.search-activate {
|
||||
display: block;
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
@ -1887,7 +1887,7 @@ Search CSS
|
||||
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form {
|
||||
.sad-menu-search .sad-form-wrap .search-form {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
@ -1900,7 +1900,7 @@ Search CSS
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-field {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-field {
|
||||
border: none;
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 20px;
|
||||
@ -1913,11 +1913,11 @@ Search CSS
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-field:focus {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-field:focus {
|
||||
outline: 2px solid #F5A9B8;
|
||||
}
|
||||
|
||||
.mt-menu-search .mt-form-wrap .search-form .search-submit {
|
||||
.sad-menu-search .sad-form-wrap .search-form .search-submit {
|
||||
margin-top: 30px;
|
||||
padding: 16px 60px;
|
||||
background: #F5A9B8;
|
||||
@ -1930,7 +1930,7 @@ Search CSS
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.mt-form-close {
|
||||
.sad-form-close {
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
top: 30px;
|
||||
@ -1939,11 +1939,11 @@ Search CSS
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mt-form-close a {
|
||||
.sad-form-close a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mt-form-close:hover {
|
||||
.sad-form-close:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
@ -2201,7 +2201,7 @@ Slider CSS
|
||||
}
|
||||
|
||||
|
||||
.front-slider-wrapper .mt-container {
|
||||
.front-slider-wrapper .sad-container {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
}
|
||||
@ -2354,11 +2354,11 @@ Slider CSS
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-single-post-wrap {
|
||||
.top-featured-post-wrap .sad-single-post-wrap {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-single-post-wrap:last-child {
|
||||
.top-featured-post-wrap .sad-single-post-wrap:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@ -2370,7 +2370,7 @@ Slider CSS
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.top-featured-post-wrap .mt-post-content {
|
||||
.top-featured-post-wrap .sad-post-content {
|
||||
float: right;
|
||||
width: 68%;
|
||||
}
|
||||
@ -2424,7 +2424,7 @@ article {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.single .mt-related-posts-wrapper .entry-title {
|
||||
.single .sad-related-posts-wrapper .entry-title {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
@ -2457,33 +2457,33 @@ article {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn,
|
||||
.entry-footer .sad-readmore-btn,
|
||||
.btn-wrapper a,
|
||||
.mt-readmore-btn {
|
||||
.sad-readmore-btn {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
color: #dfdfdf;
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn i,
|
||||
.entry-footer .sad-readmore-btn i,
|
||||
.btn-wrapper a i,
|
||||
.mt-readmore-btn i {
|
||||
.sad-readmore-btn i {
|
||||
margin-left: 5px;
|
||||
-webkit-transition: 0.3s ease;
|
||||
-o-transition: 0.3s ease;
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn:hover,
|
||||
.entry-footer .sad-readmore-btn:hover,
|
||||
.btn-wrapper a:hover,
|
||||
.mt-readmore-btn:hover {
|
||||
.sad-readmore-btn:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
.entry-footer .mt-readmore-btn:hover i,
|
||||
.entry-footer .sad-readmore-btn:hover i,
|
||||
.btn-wrapper a:hover i,
|
||||
.mt-readmore-btn:hover i {
|
||||
.sad-readmore-btn:hover i {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
@ -2595,12 +2595,12 @@ article.page .post-thumbnail::before,
|
||||
}
|
||||
|
||||
.archive-grid-post-wrapper,
|
||||
.mt-archive--masonry-style .sophia-after-dark-content-masonry {
|
||||
.sad-archive--masonry-style .sophia-after-dark-content-masonry {
|
||||
margin-left: -3%;
|
||||
}
|
||||
|
||||
.mt-archive--block-grid-style article,
|
||||
.mt-archive--masonry-style #mt-masonry article {
|
||||
.sad-archive--block-grid-style article,
|
||||
.sad-archive--masonry-style #sad-masonry article {
|
||||
display: inline-block;
|
||||
width: 47%;
|
||||
margin-left: 3%;
|
||||
@ -2608,12 +2608,12 @@ article.page .post-thumbnail::before,
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.no-sidebar.mt-archive--block-grid-style article,
|
||||
.no-sidebar.mt-archive--masonry-style #mt-masonry article {
|
||||
.no-sidebar.sad-archive--block-grid-style article,
|
||||
.no-sidebar.sad-archive--masonry-style #sad-masonry article {
|
||||
width: 30.33%;
|
||||
}
|
||||
|
||||
.mt-archive--masonry-style #mt-masonry article {
|
||||
.sad-archive--masonry-style #sad-masonry article {
|
||||
margin-right: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
@ -2627,7 +2627,7 @@ Sidebar CSS
|
||||
}
|
||||
|
||||
#secondary .widget .widget-title,
|
||||
.mt-related-post-title,
|
||||
.sad-related-post-title,
|
||||
#colophon .widget .widget-title {
|
||||
margin-bottom: 15px;
|
||||
font-size: 18px;
|
||||
@ -2638,7 +2638,7 @@ Sidebar CSS
|
||||
}
|
||||
|
||||
#secondary .widget .widget-title::before,
|
||||
.mt-related-post-title:before,
|
||||
.sad-related-post-title:before,
|
||||
#colophon .widget .widget-title:before,
|
||||
.features-post-title:before {
|
||||
position: absolute;
|
||||
@ -2668,31 +2668,31 @@ Sidebar CSS
|
||||
Single CSS
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.mt-author-box {
|
||||
.sad-author-box {
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
padding: 20px;
|
||||
margin-bottom: 60px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mt-author-box:after {
|
||||
.sad-author-box:after {
|
||||
content: "";
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author__avatar {
|
||||
.single .sad-author-box .sad-author__avatar {
|
||||
float: left;
|
||||
margin-right: 2%;
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author-info {
|
||||
.single .sad-author-box .sad-author-info {
|
||||
float: left;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.single .mt-author-box .author-title {
|
||||
.single .sad-author-box .author-title {
|
||||
color: #ffffff;
|
||||
text-transform: capitalize;
|
||||
font-weight: 700;
|
||||
@ -2700,13 +2700,13 @@ Single CSS
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author-info .mt-author-name {
|
||||
.single .sad-author-box .sad-author-info .sad-author-name {
|
||||
text-transform: capitalize;
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.single .mt-author-box .mt-author-info .mt-author-name a {
|
||||
.single .sad-author-box .sad-author-info .sad-author-name a {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@ -2774,7 +2774,7 @@ Custom Header styles
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
.custom-header.has-bg-img .mt-container {
|
||||
.custom-header.has-bg-img .sad-container {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
}
|
||||
@ -2820,7 +2820,7 @@ Custom Header styles
|
||||
display: none;
|
||||
}
|
||||
|
||||
#breadcrumb .mt-container {
|
||||
#breadcrumb .sad-container {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
@ -2845,14 +2845,14 @@ Footer CSS
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#top-footer .mt-footer-widget-wrapper {
|
||||
#top-footer .sad-footer-widget-wrapper {
|
||||
margin-left: -3%;
|
||||
}
|
||||
|
||||
#top-footer.footer-column-one .mt-footer-widget,
|
||||
#top-footer.footer-column-two .mt-footer-widget,
|
||||
#top-footer.footer-column-three .mt-footer-widget,
|
||||
#top-footer.footer-column-four .mt-footer-widget {
|
||||
#top-footer.footer-column-one .sad-footer-widget,
|
||||
#top-footer.footer-column-two .sad-footer-widget,
|
||||
#top-footer.footer-column-three .sad-footer-widget,
|
||||
#top-footer.footer-column-four .sad-footer-widget {
|
||||
display: inline-block;
|
||||
margin-left: 2.85%;
|
||||
width: 29%;
|
||||
@ -2861,15 +2861,15 @@ Footer CSS
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
#top-footer.footer-column-one .mt-footer-widget {
|
||||
#top-footer.footer-column-one .sad-footer-widget {
|
||||
width: 97%;
|
||||
}
|
||||
|
||||
#top-footer.footer-column-two .mt-footer-widget {
|
||||
#top-footer.footer-column-two .sad-footer-widget {
|
||||
width: 47%;
|
||||
}
|
||||
|
||||
#top-footer.footer-column-four .mt-footer-widget {
|
||||
#top-footer.footer-column-four .sad-footer-widget {
|
||||
width: 22%;
|
||||
}
|
||||
|
||||
@ -2919,7 +2919,7 @@ Footer CSS
|
||||
float: center;
|
||||
}
|
||||
|
||||
.site-info .mt-disclaimer-text {
|
||||
.site-info .sad-disclaimer-text {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@ -2950,11 +2950,11 @@ sophia-after-dark Widget CSS
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.author-social .mt-social-icon-wrap {
|
||||
.author-social .sad-social-icon-wrap {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.author-social .mt-social-icon-wrap li a {
|
||||
.author-social .sad-social-icon-wrap li a {
|
||||
background: #212121;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
@ -2965,38 +2965,38 @@ sophia-after-dark Widget CSS
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-single-post-wrap>a {
|
||||
.sad-latest-posts-wrapper .sad-single-post-wrap>a {
|
||||
float: left;
|
||||
width: 27%;
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-post-thumb {
|
||||
.sad-latest-posts-wrapper .sad-post-thumb {
|
||||
border: 1px solid #e1e1e1;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-single-post-wrap {
|
||||
.sad-latest-posts-wrapper .sad-single-post-wrap {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-single-post-wrap:last-child {
|
||||
.sad-latest-posts-wrapper .sad-single-post-wrap:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-single-post-wrap::after {
|
||||
.sad-latest-posts-wrapper .sad-single-post-wrap::after {
|
||||
clear: both;
|
||||
display: block;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-post-content {
|
||||
.sad-latest-posts-wrapper .sad-post-content {
|
||||
float: right;
|
||||
width: 67%;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-post-title a {
|
||||
.sad-latest-posts-wrapper .sad-post-title a {
|
||||
font-size: 16px;
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
@ -3004,20 +3004,20 @@ sophia-after-dark Widget CSS
|
||||
margin-bottom: -15px;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-post-title a:hover {
|
||||
.sad-latest-posts-wrapper .sad-post-title a:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .entry-cat {
|
||||
.sad-latest-posts-wrapper .entry-cat {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .mt-readmore-btn {
|
||||
.sad-latest-posts-wrapper .sad-readmore-btn {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mt-latest-posts-wrapper .tags-links {
|
||||
.sad-latest-posts-wrapper .tags-links {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -3045,15 +3045,15 @@ sophia-after-dark Widget CSS
|
||||
border-color: #F5A9B8;
|
||||
}
|
||||
|
||||
.mt-single-related-posts {
|
||||
.sad-single-related-posts {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper {
|
||||
.sad-related-posts-wrapper {
|
||||
margin-left: -3%;
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper article {
|
||||
.sad-related-posts-wrapper article {
|
||||
display: inline-block;
|
||||
margin-left: 3%;
|
||||
margin-right: -4px;
|
||||
@ -3061,14 +3061,14 @@ sophia-after-dark Widget CSS
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.mt-related-posts-wrapper article.no-thumbnail {
|
||||
.sad-related-posts-wrapper article.no-thumbnail {
|
||||
padding: 0 10px !important;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
Scroll To Top styles
|
||||
--------------------------------------------------------------*/
|
||||
#mt-scrollup {
|
||||
#sad-scrollup {
|
||||
position: fixed;
|
||||
right: 40px;
|
||||
bottom: 20px;
|
||||
@ -3090,7 +3090,7 @@ Scroll To Top styles
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
#mt-scrollup::before {
|
||||
#sad-scrollup::before {
|
||||
content: '\f178';
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
@ -3105,7 +3105,7 @@ Scroll To Top styles
|
||||
transition: .5s;
|
||||
}
|
||||
|
||||
#mt-scrollup:hover {
|
||||
#sad-scrollup:hover {
|
||||
color: #F5A9B8;
|
||||
}
|
||||
|
||||
|
@ -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 ); ?>
|
||||
|
@ -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';
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user