Custom Pagination WordPress

Generally we use the worpdress default pagination for our wordpress blog but here I find and write the code for Custom pagination for our blog page. First of all open the functions.php file of the current activated theme of the wordpress. Then add the below code into it as function.

After adding this above code add the created function into your blog page and then you are done.

I'm a web developer / PHP programmer. I am also working on custom plugin development of wordpress.