diff --git a/controller/classes/Subtemplate.php b/controller/classes/Subtemplate.php index cf7a0b5..0e0148e 100644 --- a/controller/classes/Subtemplate.php +++ b/controller/classes/Subtemplate.php @@ -76,9 +76,6 @@ class Subtemplate { case 'team': $result .= $this->team($subtemplateTitle); break; - case 'pricing': - $result .= $this->pricing($subtemplateTitle); - break; case 'teamGeneral': $result .= $this->teamGeneral($subtemplateTitle); @@ -983,26 +980,6 @@ class Subtemplate { return $result; } - public function pricing($subtemplateTitle) { - - $bgImg = get_sub_field('background_image')['url']; - $rightPricing = get_sub_field('right_pricing_text'); - $leftPricing = get_sub_field('left_pricing_text'); - $contactPage = get_field('contact_page','option'); - - $result = "
-
-

{$subtemplateTitle}

-
-
{$leftPricing}
-
{$rightPricing}
-
- Contact us to discuss custom pricing -
-
"; - - return $result; - } public function mainEventPage($subtemplateTitle) { $today = date('Ymd');