WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] How to add pagination in this (2 posts)

  1. lahorimela
    Member
    Posted 8 months ago #

    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/

  2. lahorimela
    Member
    Posted 8 months ago #

    I fix this issue...topic should be closed.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.