1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-06-17 18:13:17 +02:00

remove pricing subtemplate

This commit is contained in:
Matthias Kretschmann 2015-12-12 15:25:42 +01:00
parent d708ed09d5
commit de302d772e

View File

@ -76,9 +76,6 @@ class Subtemplate {
case 'team': case 'team':
$result .= $this->team($subtemplateTitle); $result .= $this->team($subtemplateTitle);
break; break;
case 'pricing':
$result .= $this->pricing($subtemplateTitle);
break;
case 'teamGeneral': case 'teamGeneral':
$result .= $this->teamGeneral($subtemplateTitle); $result .= $this->teamGeneral($subtemplateTitle);
@ -983,26 +980,6 @@ class Subtemplate {
return $result; 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 = "<section class='subtemplate pricing' style='background-image:url({$bgImg})'>
<div class='centered-pricing'>
<h1>{$subtemplateTitle}</h1>
<div class='column-container'>
<div class='pricing-detail'><div>{$leftPricing}</div></div>
<div class='pricing-detail'><div>{$rightPricing}</div></div>
</div>
<a href='{$contactPage}'>Contact us to discuss custom pricing</a>
</div>
</section>";
return $result;
}
public function mainEventPage($subtemplateTitle) { public function mainEventPage($subtemplateTitle) {
$today = date('Ymd'); $today = date('Ymd');