Update themes for new get_complex_component()

This commit is contained in:
Skylar Ittner 2018-05-07 02:10:44 -06:00
parent 8d57885054
commit 92cea5c4ff
3 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ include __DIR__ . "/inc/header.inc.php";
</div>
<br />
<?php
$btn = get_complex_component("submit-btn", null, ["link"]);
$btn = get_complex_component("submit-btn", null, ["icon", "text"]);
$icon = $btn['icon'];
$text = $btn['text'];
?>

View File

@ -35,7 +35,7 @@
</div>
<br />
<?php
$btn = get_complex_component("submit-btn", null, ["link"]);
$btn = get_complex_component("submit-btn", null, ["icon", "text"]);
$icon = $btn['icon'];
$text = $btn['text'];
?>

View File

@ -16,7 +16,7 @@
<li>
<?php
if (!is_complex_empty("banner-btn-1")) {
$btn = get_complex_component("banner-btn-1");
$btn = get_complex_component("banner-btn-1", null, ['icon', 'link', 'text']);
$icon = $btn['icon'];
$link = $btn['link'];
$text = $btn['text'];
@ -29,7 +29,7 @@
<li>
<?php
if (!is_complex_empty("banner-btn-2")) {
$btn = get_complex_component("banner-btn-2");
$btn = get_complex_component("banner-btn-2", null, ['icon', 'link', 'text']);
$icon = $btn['icon'];
$link = $btn['link'];
$text = $btn['text'];
@ -103,7 +103,7 @@ END;
</div>
<?php
if (!is_complex_empty("sidebar-btn")) {
$btn = get_complex_component("sidebar-btn");
$btn = get_complex_component("sidebar-btn", null, ['icon', 'link', 'text']);
$icon = $btn['icon'];
$link = $btn['link'];
$text = $btn['text'];
@ -127,7 +127,7 @@ END;
<?php
if (!is_complex_empty("two-btn")) {
$btn = get_complex_component("two-btn");
$btn = get_complex_component("two-btn", null, ['icon', 'link', 'text']);
$icon = $btn['icon'];
$link = $btn['link'];
$text = $btn['text'];