forked from yutianhot/zibll
-
Notifications
You must be signed in to change notification settings - Fork 1
/
author.php
52 lines (50 loc) · 1.13 KB
/
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
48
49
50
51
52
<?php
get_header();
global $wp_query;
$curauth = $wp_query->get_queried_object();
?>
<?php if (function_exists('dynamic_sidebar')) {
echo '<div class="container fluid-widget">';
dynamic_sidebar('all_top_fluid');
dynamic_sidebar('author_top_fluid');
echo '</div>';
}
?>
<main class="container">
<div class="content-wrap">
<div class="content-layout">
<?php if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('author_top_content');
}
?>
<?php
zib_author_header();
zib_author_content();
$args = array(
'no_margin' => true,
'no_author' => true,
);
// zib_posts_list($args);
// zib_paging();
?>
<?php if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('author_bottom_content');
}
?>
</div>
</div>
<?php get_sidebar() ?>
</main>
<?php if (function_exists('dynamic_sidebar')) {
echo '<div class="container fluid-widget">';
dynamic_sidebar('author_bottom_fluid');
dynamic_sidebar('all_bottom_fluid');
echo '</div>';
}
?>
<?php
global $wp_query;
$curauth = $wp_query->get_queried_object();
$user_id = $curauth->ID;
zib_rewards_modal($user_id); ?>
<?php get_footer(); ?>