Create pagination

Home Forums WordPress Themes – Premium Pure & Simple Create pagination

This topic contains 3 replies, has 2 voices, and was last updated by  Sushil Adhikari 2 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #40070


    Is it possible to change “older posts” and “newer posts” into a pagination, as in your theme Sleeky and how can I realize that?


    Sushil Adhikari

    Hi Hemen,

    Of course you can do this, but you have to be technically sound on WordPress. As this task required customization.

    Here we will give tips on how to do.

    You have to overwrite puresimple_paging_nav() of parent theme on child theme functions.php file. And use the_posts_pagination() function . This function is used by twentysixteen theme you can see on index.php template .

    Here is the example

    ` // Previous/next page navigation.
    the_posts_pagination( array(
    ‘prev_text’ => __( ‘Previous page’, ‘twentysixteen’ ),
    ‘next_text’ => __( ‘Next page’, ‘twentysixteen’ ),
    ‘before_page_number’ => ‘‘ . __( ‘Page’, ‘twentysixteen’ ) . ‘ ‘,
    ) );`

    Note: Design may look ugly so you have to do some tweak there.





    thanks for the info, I will try it.


    Sushil Adhikari

    Great Hemen

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.