From b657a08d0b453c90a44dfae39a9ad9718d569b89 Mon Sep 17 00:00:00 2001 From: Steve Jones Date: Tue, 24 Oct 2023 16:01:26 -0400 Subject: [PATCH 1/2] Change the footer callout on the press archive to the signup callout Fixes #192 --- inc/template-tags.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 29e363f..089fb9c 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -121,8 +121,10 @@ function eqd_tha_footer_cta() { // Individual page. $disable = get_field( 'disable' ); + var_dump( $disable ); + if ( ! $disable ) : - if ( ! is_author() && ! is_archive() && ! is_category() && ! is_tax() ) : + if ( ( ! is_author() && ! is_archive() && ! is_category() && ! is_tax() ) || is_archive( 'eqd-featured-press' ) ) : ?>
From 94a85d7852eba1c2b0fca6a0aa25b413561a9571 Mon Sep 17 00:00:00 2001 From: Steve Jones Date: Tue, 24 Oct 2023 16:01:49 -0400 Subject: [PATCH 2/2] removed - var_dump --- inc/template-tags.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 089fb9c..4c3f3a7 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -121,8 +121,6 @@ function eqd_tha_footer_cta() { // Individual page. $disable = get_field( 'disable' ); - var_dump( $disable ); - if ( ! $disable ) : if ( ( ! is_author() && ! is_archive() && ! is_category() && ! is_tax() ) || is_archive( 'eqd-featured-press' ) ) : ?>