how can I do numeric pagination?
Question
How can I do numeric pagination?
<?php
$args4 = array('post_type' => 'post', 'showposts' => 99, 'cat' => 23);
$loop4 = new WP_Query($args4);
while ($loop4->have_posts()) : $loop4->the_post();
?>
<article class="cover-image ds s-overlay post type-post status-publish format-status has-post-thumbnail">
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>">
<img src="<?php the_post_thumbnail_url(); ?>" alt="">
</a>
</div><!-- .post-thumbnail -->
<header class="entry-header">
<?php echo get_avatar(get_the_author_email(), '100'); ?>
<h3 class="entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark">
<?php the_title(); ?>
</a>
</h3>
<!-- .entry-meta -->
</header>
<!-- .entry-header -->
<div class="entry-content">
<p></p>
</div><!-- .entry-content -->
<div class="entry-meta">
<a href="<?php the_permalink(); ?>" rel="bookmark">
<i class="fa fa-calendar fs-14 color-main"></i>
<time class="entry-date published updated" datetime="2018-09-18T15:15:12+00:00"><?php echo get_the_date(); ?></time>
</a>
</div>
</article><!-- #post-## -->
<?php endwhile;
wp_reset_postdata(); ?>
<nav class="navigation pagination " role="navigation">
</nav>
0
pagination
3 years
2020-03-27T08:51:30-05:00
2020-03-27T08:51:30-05:00 0 Answers
100 views
0
Leave an answer