-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
101 lines (53 loc) · 1.79 KB
/
page.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
<?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-8 content-area">
<h2 class="auction-title" style="text-transform: uppercase;"><?php the_title( ); ?></h2>
<!-- post -->
<?php the_content( ); ?>
<!-- post -->
</div>
<div class="col-xs-12 col-sm-12 col-md-4 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(); ?>