diff --git a/functions.php b/functions.php index cf1b0be..12355cf 100644 --- a/functions.php +++ b/functions.php @@ -161,6 +161,7 @@ function argon_get_locate(){ if (is_admin()){ $determined_locale = get_user_locale(); } + return argon_locate_filter($determined_locale); } function theme_locale_hook($locate, $domain){ if ($domain == 'argon'){ diff --git a/template-parts/content-page.php b/template-parts/content-page.php index 98bc154..6579415 100644 --- a/template-parts/content-page.php +++ b/template-parts/content-page.php @@ -1,12 +1,13 @@
> -
"> + +
"> "; echo "
"; } - if (argon_has_post_thumbnail() && get_option('argon_show_thumbnail_in_banner_in_content_page') == 'true'){ + if (argon_has_post_thumbnail() && $show_thumbnail_in_banner == 'true'){ $thumbnail_url = argon_get_post_thumbnail(); echo "