-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-faq.php
146 lines (83 loc) · 2.95 KB
/
page-faq.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php get_header(''); ?>
<section id="main-slider">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<!-- Wrapper for slides -->
<div class="carousel-inner " role="listbox">
<?php $query = new WP_Query( array( 'category_name' => 'homeslider' ) );
while ( $query->have_posts() ) {
$query->the_post();
$i++;
//$feat_image = the_post_thumbnail();
?>
<!--item-->
<div class="item <?php if($i == 1){echo "active";} ?>" >
<?php echo the_post_thumbnail() ; ?>
<div class="carousel-caption">
<h1><?php the_title(); ?></h1>
</div>
</div>
<!-- /item -->
<?php wp_reset_postdata(); } ?>
</div>
</div>
</section>
<!-- /top-slider-section-->
<!-- /top-slider-section-->
<section id="post-wf-area">
<div class="container">
<div class="content-up">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 content-area">
<h2 class="auction-title" style="text-transform: uppercase;">FREQUENTLY ASKED QUESTIONS
</h2>
<p>Select the category below that closet matches your question:</p>
<!-- post -->
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<?php $query = new WP_Query( array( 'category_name' => 'faq' ) );
while ( $query->have_posts() ) {
$query->the_post();
$i++;
//$feat_image = the_post_thumbnail();
?>
<!--panel-->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading<?php echo $i ?>">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse<?php echo $i; ?>" aria-expanded="false" aria-controls="collapse<?php echo $i; ?>">
<?php the_title( ); ?>
</a>
</h4>
</div>
<div id="collapse<?php echo $i; ?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
<?php the_content( ); ?>
</div>
</div>
</div>
<!-- panel -->
<?php wp_reset_postdata(); } ?>
<div class="get-mebrsp-btn">
<a href="<?php echo get_home_url(); ?>"><button class="btn">Get A Price </button></a>
</div>
<!-- panel -->
</div>
<!-- post -->
</div>
<div class="col-xs-12 col-sm-12 col-md-3 sidebar-area">
<div class="sidebar-content">
<?php
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-page')) : // Sidebar name
?>
<?php
endif;
?>
</div>
<!-- /.sidebar-content -->
</div>
</div>
</div>
</div>
</section>
<!--/footer_widget_area-->
<?php get_footer(); ?>