-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
45 lines (36 loc) · 1.12 KB
/
index.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
<?php get_header(); ?>
<!--------------Content--------------->
<section id="content">
<div class="wrap-content zerogrid">
<div class="row block03">
<div class="col-2-3">
<div class="wrap-col">
<?php while(have_posts()) : the_post();?>
<article>
<?php the_post_thumbnail();?>
<h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
<div class="info">[By <?php the_author();?> on <?php the_time('F d, Y');?> with <?php comments_popup_link('No Comment Here','One Comment','% comments','adnan','Commnet Disable');?>]</div>
<?php read_more(30);?> ... <a href="<?php the_permalink();?>">read more</a>
</article>
<?php endwhile;?>
<div id="pagi">
<?php
the_posts_pagination(array(
'show_all' =>true,
'prev_text' => 'PREV',
'next_text' => 'NEXT',
'screen_reader_text' =>' ',
'before_page_number' =>'<b>',
'after_page_number' =>'</b>'
));
?>
</div>
</div>
</div>
<div class="col-1-3">
<?php get_sidebar();?>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>