-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-10.php
More file actions
52 lines (31 loc) · 783 Bytes
/
page-10.php
File metadata and controls
52 lines (31 loc) · 783 Bytes
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(); ?>
<div class="row">
<div class="col-xs-12 col-sm-8">
<?php
$args=array(
'type'=>'post',
'posts_per_page'=>3,
'category__in'=>array(6,7,8)
);
$lastBlog=new WP_Query($args);
if( $lastBlog->have_posts()):
while( $lastBlog->have_posts() ): $lastBlog->the_post(); ?>
<?php get_template_part('content',get_post_format()); ?>
<?php endwhile;
endif;
?>
</div>
<div class="col-xs-12 col-sm-8">
<?php
if( have_posts() ):
while( have_posts() ): the_post(); ?>
<?php get_template_part('content',get_post_format()); ?>
<?php endwhile;
endif;
?>
</div>
<div class="col-xs-12 col-sm-4">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>