Support » Plugin: WP-PageNavi » How to add pagination in this

  • Resolved lahorimela

    (@lahorimela)


    Hello,
    I am using this code and I want to add pagination in this code. How I can do this can you please make full code for it.

    <?php $posts = get_posts('orderby=recent&numberposts=30'); foreach($posts as $post) { ?>
    
    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
    
    <?php
    foreach((get_the_category()) as $category) {
    echo $category->cat_name . ' ';
    }
    ?>

    https://wordpress.org/plugins/wp-pagenavi/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add pagination in this’ is closed to new replies.