-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathauthor.php
47 lines (37 loc) · 1013 Bytes
/
author.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
<?php
/**
* The template for displaying archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Blocksy
*/
get_header();
$prefix = blocksy_manager()->screen->get_prefix();
$blog_post_structure = get_theme_mod($prefix . '_structure', 'grid');
/**
* Note to code reviewers: This line doesn't need to be escaped.
* Function blocksy_output_hero_section() used here escapes the value properly.
*/
echo blocksy_output_hero_section([
'type' => 'type-2'
]);
?>
<div class="ct-container" <?php echo wp_kses(blocksy_sidebar_position_attr(), []); ?> <?php echo blocksy_get_v_spacing() ?>>
<section>
<?php
/**
* Note to code reviewers: This line doesn't need to be escaped.
* Function blocksy_output_hero_section() used here
* escapes the value properly.
*/
echo blocksy_output_hero_section([
'type' => 'type-1'
]);
echo blocksy_render_archive_cards();
?>
</section>
<?php get_sidebar(); ?>
</div>
<?php
get_footer();