diff --git a/single.php b/single.php index 2b28b2e..c17d29c 100644 --- a/single.php +++ b/single.php @@ -59,88 +59,119 @@ function eqd_single_after_entry() { function eqd_single_after_entry_content() { $hide_section_per_category = false; $categories = get_the_category(); + + // hide option foreach ( $categories as $_category ) { $hide_section_per_category = get_field( 'hide_student_loans_section', 'category_' . $_category->term_id ); if ( $hide_section_per_category ) { break; } } + + // hide option if ( $hide_section_per_category ) { return; } + + // hide option $hide_section_per_page = get_field( 'hide_student_loans_section', get_the_ID() ); if ( $hide_section_per_page ) { return; } ?> - +
-
- -

Refinance student loans, get a bonus in

-
+ +
+ +

Refinance student loans, get a bonus in

+
+
- - - - - - - +
Lender NameLenderOfferLearn more
+ + + + + + - + - + - + + +
Lender NameLenderOfferLearn more
- <?php echo $logo_image['alt']; ?> - + <?php echo $company_logo['alt']; ?> +
- + Bonus
- + +
-
- - +
+ + + + + +
+ +
Fixed
+ + + Variable +
+
@@ -154,11 +185,11 @@ class="btn" function eqd_single_after_entry_modals() { ?> - +