Wordpress pagination custom css

admin

Administrator
Staff member
i have a question about wordpress pagination custome css.In my category.php,i use the follow code to display the pagination

Code:
$args = [
                    'prev_text'=>'«',
                    'next_text'=>'»',
                    'type'=>'list'
        ];
        echo paginate_links($args);

then it output a
Code:
<ul>
with some
Code:
<li>
tags.but i want to modify the
Code:
class
attribute of
Code:
ul
tag,the default
Code:
class
attribute is
Code:
page-numbers
,i want to it change to be
Code:
pagination
,so how can i do?