Tùy chỉnh the_posts_pagination category categories (ok)

the_posts_pagination(
  [
    'prev_text'          => lionel_pagi_get_svg(['icon' => 'chevron-left']),
    'next_text'          => '</span>' . lionel_pagi_get_svg(['icon' => 'chevron-right']),
  ]
);
function filter_navigation_markup_template( $template, $class ) { 
  $template = '<nav class="navigation %1$s" role="navigation"><div class="nav-links">%3$s</div></nav>'; 
  return $template; 
}; 
add_filter( 'navigation_markup_template', 'filter_navigation_markup_template', 10, 2 ); 
.navigation.pagination {
	.page-numbers {
		width: 40px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    border: 1px solid;
    color: #484747;
    >svg {
	    width: 20px;
	    height: 20px;
		}
	}
}

Last updated