From dad25818b9f79137b1f98068c45652adcc35e9f4 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sun, 7 Jun 2020 17:57:38 +0200 Subject: [PATCH] category page with pagination and filter --- kit/category.php | 37 +++++++++++++++++++++++++++++++++++++ kit/css/search.css | 8 ++++++++ kit/search.php | 4 ---- 3 files changed, 45 insertions(+), 4 deletions(-) diff --git a/kit/category.php b/kit/category.php index ce9a2c9..4511447 100644 --- a/kit/category.php +++ b/kit/category.php @@ -13,6 +13,31 @@ get_header(); } ?> +
+ +
+

+ post_count); + _e("Showing results from", 'kit') . _e(" " . $post_count_start . " to " . $post_count_end . ". Total results: " . $wp_query->found_posts. ""); + ?> +

+
+ 2, + 'prev_text' => __( '< Previous', 'kit' ), + 'next_text' => __( 'Next >', 'kit' ), + 'type' => 'list', + 'before_page_number' => __('Page ', 'kit') + ) ); ?> +
+
+ +
+
+
+
+ 2, + 'prev_text' => __( '< Previous', 'kit' ), + 'next_text' => __( 'Next >', 'kit' ), + 'type' => 'list', + 'before_page_number' => __('Page ', 'kit') + ) ); ?> +
+
+
diff --git a/kit/css/search.css b/kit/css/search.css index 29ad849..ba0fbf4 100644 --- a/kit/css/search.css +++ b/kit/css/search.css @@ -139,3 +139,11 @@ h2.screen-reader-text { .search-term { background-color: yellow; } + +.tx-indexedsearch .tx-indexedsearch-browsebox ul li .current { + font-weight: bold; +} + +.tx-indexedsearch .tx-indexedsearch-browsebox ul li { + font-weight: normal; +} diff --git a/kit/search.php b/kit/search.php index 6b3d2f7..df8efd8 100644 --- a/kit/search.php +++ b/kit/search.php @@ -60,7 +60,6 @@ get_header(); ) ); ?> - @@ -86,9 +85,6 @@ get_header(); 'before_page_number' => __('Page ', 'kit') ) ); ?> - - -