# 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;
		}
	}
}
```

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M5bi6eMzarikn_PrUoM%2F-M5biIhx83mqr80DfYP2%2FScreenshot_1.png?alt=media\&token=6a7ce4aa-74dd-4f0f-a173-4063dd93e366)
