feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -155,7 +155,7 @@ if (!function_exists('aksrt_get_ajax_number_paginate')) {
|
||||
// Prev.
|
||||
if ($page > 1) {
|
||||
$url = esc_url(str_replace('%#%', (string) ($page - 1), $base));
|
||||
$links[] = '<a class="' . esc_attr($next_class) . ' prev page-numbers" ajax-replace="true" href="' . $url . '"><i class="fa fa-angle-left em12" aria-hidden="true"></i></a>';
|
||||
$links[] = '<a class="' . esc_attr($next_class) . ' prev page-numbers" ajax-replace="true" href="' . $url . '"><i class="fa fas fa-angle-left em12" aria-hidden="true"></i></a>';
|
||||
}
|
||||
|
||||
for ($n = 1; $n <= $total_pages; $n++) {
|
||||
@@ -182,7 +182,7 @@ if (!function_exists('aksrt_get_ajax_number_paginate')) {
|
||||
// Next.
|
||||
if ($page < $total_pages) {
|
||||
$url = esc_url(str_replace('%#%', (string) ($page + 1), $base));
|
||||
$links[] = '<a class="' . esc_attr($next_class) . ' next page-numbers" ajax-replace="true" href="' . $url . '"><i class="fa fa-angle-right em12" aria-hidden="true"></i></a>';
|
||||
$links[] = '<a class="' . esc_attr($next_class) . ' next page-numbers" ajax-replace="true" href="' . $url . '"><i class="fa fas fa-angle-right em12" aria-hidden="true"></i></a>';
|
||||
}
|
||||
|
||||
return '<div class="pagenav ' . esc_attr($pag_class) . '">' . implode('', $links) . '</div>';
|
||||
|
||||
Reference in new issue
Block a user