From de302d772ebaa87f1d71e2decd6d3233abfb59df Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 12 Dec 2015 15:25:42 +0100 Subject: [PATCH] remove pricing subtemplate --- controller/classes/Subtemplate.php | 23 ----------------------- 1 file changed, 23 deletions(-) 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');