From a5263b7385d5237ec57ef12447dbfe17fbe622bb Mon Sep 17 00:00:00 2001 From: AK Delfin Date: Fri, 14 Oct 2022 16:50:33 +0300 Subject: [PATCH] new paginator en --- arriah.php | 6 +++--- category-4782.php | 10 +++++++++- footer.php | 22 +++++----------------- index.php | 12 ++++++++---- lang.php | 2 +- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/arriah.php b/arriah.php index 0cc6ab6..f72a787 100644 --- a/arriah.php +++ b/arriah.php @@ -80,12 +80,12 @@ function arriah_parser(){ if ($result) { - //echo "Y: $title: $mysqldate\n"; + echo "Y: $title: $mysqldate\n"; continue; } - //echo "N: $slug\n"; - continue; + echo "N: $slug\n"; + // continue; $my_post = [ 'post_title' => $title, diff --git a/category-4782.php b/category-4782.php index b68b871..88dedc9 100644 --- a/category-4782.php +++ b/category-4782.php @@ -70,7 +70,15 @@ $nn = 0;?> - +max_num_pages > 1 ) : ?>
'http://vetandlife.ru/category/en/%_%', + 'prev_text' => __( '<  '.vij_lang('prev', LANG_VERSION), 'quidus' ), + 'next_text' => __( vij_lang('next', LANG_VERSION).'  >', 'quidus' ), + 'end_size' => 2, + 'mid_size' => 3, + 'before_page_number' => '' . __( 'Page', 'quidus' ) . ' ', + ) ); + ?>
diff --git a/footer.php b/footer.php index e10f5c9..72f19cf 100644 --- a/footer.php +++ b/footer.php @@ -27,12 +27,7 @@ -
- - - -
- + @@ -84,8 +79,8 @@
- - + +
@@ -135,13 +130,6 @@ -
- - - -
- - 'mob-lite']);?>
@@ -157,8 +145,8 @@ diff --git a/index.php b/index.php index 9588666..ce2b988 100644 --- a/index.php +++ b/index.php @@ -38,9 +38,11 @@ $nn = 0;?> - + + + + +
@@ -57,7 +59,9 @@ $nn = 0;?>
-
+
+ + diff --git a/lang.php b/lang.php index 2f2b211..d286664 100644 --- a/lang.php +++ b/lang.php @@ -51,7 +51,7 @@ function vij_lang($name, $lan){ 'svid_smi' => 'Media Registration Certificate', 'copyright_text' => 'It is required to provide a valid URL when reprinting and using information from the Veterinary Medicine and Life website. When using materials in print media, indicate the source - Veterinary Medicine and Life', 'email_btn' => 'Sign up', - 'email_title' => 'Sign up to our newsletters to get the latest on your favourite topics from the Veterinary Medicine and Life', + 'email_title' => 'Sign up to our newsletter to get the latest updates on your favourite topics from the Veterinary Medicine and Life', 'your_mail' => 'Your email', 'gazeta' => 'Veterinary Medicine and Life newspaper', 'up_bth' => 'UP',