1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-31 17:17:47 +01:00

createAccount -> callToAction

This commit is contained in:
Matthias Kretschmann 2015-12-12 15:31:02 +01:00
parent de302d772e
commit a88986163d

View File

@ -55,8 +55,8 @@ class Subtemplate {
case 'bluebox': case 'bluebox':
$result .= $this->blueBox($subtemplateTitle); $result .= $this->blueBox($subtemplateTitle);
break; break;
case 'createaccount': case 'calltoaction':
$result .= $this->createAccount($subtemplateTitle); $result .= $this->callToAction($subtemplateTitle);
break; break;
case 'galleries': case 'galleries':
$result .= $this->galleries($subtemplateTitle); $result .= $this->galleries($subtemplateTitle);
@ -295,7 +295,7 @@ class Subtemplate {
return $result; return $result;
} }
public function createAccount($subtemplateTitle) { public function callToAction($subtemplateTitle) {
$buttonText = get_sub_field('create_free_account_text'); $buttonText = get_sub_field('create_free_account_text');
$signUpLink = get_field('sign_up_link','option'); $signUpLink = get_field('sign_up_link','option');
$backgroundImg = get_sub_field('image')['url']; $backgroundImg = get_sub_field('image')['url'];