-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
57 lines (50 loc) · 964 Bytes
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Display footer
*
* @package Unicorns
*/
use UnicornsVendor\EightshiftLibs\Helpers\Components;
use Unicorns\Manifest\Manifest;
?>
</main>
<?php
echo wp_kses_post(
Components::render(
'layout-three-columns',
[
'selectorClass' => 'footer',
'layoutLeft' => [
Components::render(
'logo',
[
'parentClass' => 'footer',
'logoSrc' => \apply_filters(Manifest::MANIFEST_ITEM, 'logo.svg'),
'logoAlt' => \get_bloginfo('name'),
'logoTitle' => \get_bloginfo('name'),
'logoHref' => \get_bloginfo('url'),
]
),
Components::render(
'menu',
[
'parentClass' => 'footer',
'menu' => 'footer_main_nav',
'variation' => 'horizontal'
]
),
],
'layoutRight' => Components::render(
'copyright',
[
'copyrightYear' => gmdate('Y'),
'copyrightContent' => esc_html__('All love and happiness'),
]
),
]
)
);
wp_footer();
?>
</body>
</html>