-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.php
84 lines (76 loc) · 2.24 KB
/
tag.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
get_header();
b4st_main_before();
?>
<main id="site-main" class="mb-5 mt-2 container">
<div class="row py-2">
<?php get_template_part('functions/carousel') ?>
<div class="col-12 px-1">
<div class="text-center">
<?php
if ( is_active_sidebar( 'sidebar-1' ) ) : //check the sidebar if used.
dynamic_sidebar( 'sidebar-1' ); // show the sidebar.
endif;
?>
</div>
</div>
<div class="col-12 col-xl-8 col-lg-8 col-md-12 col-sm-12 col-xs-12 mb-2 px-0">
<div class="p-2">
<div class="up px-1 py-3 text-left">
<h3 class=" text-evo"><b> <i class="fas fa-hashtag"></i> <?php _e('Tag: ', 'b4st'); echo single_tag_title(); ?></b></h3>
</div>
<div class="col-12">
<div class="row">
<?php get_template_part('loops/index-loop'); ?>
</div>
</div>
<?php get_template_part('functions/anime-manga') ?>
</div>
</div>
<div class="col-12 col-xl-4 col-lg-4 col-md-12 col-sm-12 col-xs-12 my-2 px-0">
<div class="p-2 pt-1">
<?php get_template_part('functions/sidebar') ?>
</div>
</div>
</div>
<?php
/*
Did you want a traditional article-plus-sidebar layout?
=======================================================
Use this below instead of the one line above -- and
remove some of the CSS styles controlling `.entry-content`
<div class="container">
<div class="row">
<div class="col-sm">
<div id="content" role="main">
<header class="mb-5">
<h1>
<?php _e('Tag: ', 'b4st'); echo single_tag_title(); ?>
</h1>
</header>
<?php get_template_part('loops/index-loop'); ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
</div>
*/
?>
</main>
<?php
b4st_main_after();
if(is_active_sidebar('main-widget-area')): ?>
<section id="site-main-widgets" class="bg-light">
<div class="container">
<div class="row pt-5 pb-4" id="main-widget-area" role="navigation">
<?php
b4st_main_widgets_before();
dynamic_sidebar('main-widget-area');
b4st_main_widgets_after();
?>
</div>
</div>
</section>
<?php endif;
get_footer();
?>