-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.php
60 lines (47 loc) · 1.26 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
<?php
get_header();
the_post();
if(has_shortcode( get_the_content(), 'vc_row' ) || has_shortcode( get_the_content(), 'listingpro_submit' ) || has_shortcode( get_the_content(), 'listingpro_pricing' ) || is_front_page()) {
if(has_shortcode( get_the_content(), 'vc_row' ) && has_shortcode( get_the_content(), 'listingpro_promotional' )){
?>
<section class="aliceblue lp-blog-for-app-view">
<?php the_content(); ?>
</section>
<?php
}else{
?>
<section>
<?php the_content(); ?>
</section>
<?php
}
}else{
?>
<!-- section-contianer open -->
<div class="section-contianer">
<div class="container page-container-five">
<!-- page title close -->
<div class="row">
<!-- content open -->
<div class="col-md-8 col-sm-8">
<div class="blog-post clearfix">
<div class="post-content blog-test-page">
<?php the_content(); ?>
</div>
<?php wp_link_pages(); ?>
<?php comments_template('', true); ?>
</div>
</div>
<!-- content close -->
<!-- sider open -->
<div class="col-md-4 col-sm-4 listing-second-view">
<div class="side-bar">
<?php get_template_part("sidebar");?>
</div>
</div>
</div>
</div>
</div>
<?php
}
get_footer(); ?>