echo paginate_links() Numbers links wp

does any one know how to echo paginate_links() url ?

Eg : Prev 1 2 3 4 Next

Read More

so i want to echo :

prev >> URL
1 >> URL
2 >> URL

Like this.
any one can help me.

thank you

Related posts

Leave a Reply

1 comment

  1. Try something like this:

    $pagination = paginate_links(array(
        ....
        'type' => 'array',
    ));
    
    var_dump($pagination);
    

    WP is kinda tricky, but this should help 🙂