How to put pagination for post in WordPress template

This is very important for put pagination for post.

Just follow below step
1) Put below code in functions.php file of your current active theme.
2) Call this function after complete your while loop

Download this file and put function in your current active theme functions.php file.

Download file

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s