From 45e080cfba9543d6a0d0ef0c83f8138ae3d57409 Mon Sep 17 00:00:00 2001 From: Frank419 Date: Thu, 29 Aug 2024 15:33:08 +0800 Subject: [PATCH] Prefixed variables with mf_. Avoid conflicting. --- author.php | 24 ++++++++++++------------ page.php | 2 +- singular.php | 16 ++++++++-------- templates/author.php | 6 +++--- templates/loop.php | 28 ++++++++++++++-------------- templates/metadata.php | 20 ++++++++++---------- 6 files changed, 48 insertions(+), 48 deletions(-) diff --git a/author.php b/author.php index 361408b..814cbe8 100644 --- a/author.php +++ b/author.php @@ -8,42 +8,42 @@ if ( !defined( 'WPINC' ) ) {
- +

-
" aria-hidden="true"> - +

- - - + + +
-

- +

+
- +

diff --git a/page.php b/page.php index c5e26fc..fedf627 100644 --- a/page.php +++ b/page.php @@ -8,7 +8,7 @@ if ( !defined( 'WPINC' ) ) {
> diff --git a/singular.php b/singular.php index 7d02977..2fc44a0 100644 --- a/singular.php +++ b/singular.php @@ -5,32 +5,32 @@ if ( !defined( 'WPINC' ) ) { ?>
>
- '' || minimalistflex_get_first_image() ) && $default_image_location <> 'no' && $default_image_location <> 'archive' ): ?> + '' || minimalistflex_get_first_image() ) && $mf_default_image_location <> 'no' && $mf_default_image_location <> 'archive' ): ?> - +
- " aria-label=" - +
- +
- +

diff --git a/templates/loop.php b/templates/loop.php index d76f997..15d76ed 100644 --- a/templates/loop.php +++ b/templates/loop.php @@ -5,14 +5,14 @@ if ( !defined( 'WPINC' ) ) { ?>
> @@ -24,13 +24,13 @@ $default_image_location = get_theme_mod( 'minimalistflex_default_featured_images ) ?>"> - '' || minimalistflex_get_first_image() ) && $default_image_location <> 'no' && $default_image_location <> 'single' ): ?> + '' || minimalistflex_get_first_image() ) && $mf_default_image_location <> 'no' && $mf_default_image_location <> 'single' ): ?> - + - " aria-label="
- - + + - - 'no' ): ?> + + 'no' ): ?>
- get_the_date() ): ?> + get_the_date() ): ?>