Update themes for new get_complex_component()
This commit is contained in:
parent
8d57885054
commit
92cea5c4ff
@ -33,7 +33,7 @@ include __DIR__ . "/inc/header.inc.php";
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
$btn = get_complex_component("submit-btn", null, ["link"]);
|
$btn = get_complex_component("submit-btn", null, ["icon", "text"]);
|
||||||
$icon = $btn['icon'];
|
$icon = $btn['icon'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
?>
|
?>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
$btn = get_complex_component("submit-btn", null, ["link"]);
|
$btn = get_complex_component("submit-btn", null, ["icon", "text"]);
|
||||||
$icon = $btn['icon'];
|
$icon = $btn['icon'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
?>
|
?>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
if (!is_complex_empty("banner-btn-1")) {
|
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'];
|
$icon = $btn['icon'];
|
||||||
$link = $btn['link'];
|
$link = $btn['link'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
@ -29,7 +29,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
if (!is_complex_empty("banner-btn-2")) {
|
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'];
|
$icon = $btn['icon'];
|
||||||
$link = $btn['link'];
|
$link = $btn['link'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
@ -103,7 +103,7 @@ END;
|
|||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if (!is_complex_empty("sidebar-btn")) {
|
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'];
|
$icon = $btn['icon'];
|
||||||
$link = $btn['link'];
|
$link = $btn['link'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
@ -127,7 +127,7 @@ END;
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!is_complex_empty("two-btn")) {
|
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'];
|
$icon = $btn['icon'];
|
||||||
$link = $btn['link'];
|
$link = $btn['link'];
|
||||||
$text = $btn['text'];
|
$text = $btn['text'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user