mirror of
https://github.com/ascribe/wp-theme
synced 2025-02-01 20:39:56 +01:00
remove pricing subtemplate
This commit is contained in:
parent
d708ed09d5
commit
de302d772e
@ -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 = "<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) {
|
||||
$today = date('Ymd');
|
||||
|
Loading…
Reference in New Issue
Block a user