diff --git a/kit/category-bestand.php b/kit/category-bestand.php index 2acc05c..92b4289 100644 --- a/kit/category-bestand.php +++ b/kit/category-bestand.php @@ -5,9 +5,9 @@ Template Name: Bestand get_header(); - $category_id = get_cat_ID('Bestand'); + $categories = get_the_category(); $args = array( - 'cat' => $category_id, + 'cat' => $categories[0]->cat_ID, 'orderby' => 'title', 'order' => 'ASC', 'nopaging' => true, @@ -26,13 +26,21 @@ Template Name: Bestand
- - -
+
+

+ name ); + } + ?> +

+ + post_content); + echo $content; + ?>
@@ -71,7 +79,7 @@ Template Name: Bestand $category_id, + 'cat' => $categories[0]->cat_ID, 'orderby' => 'title', 'order' => 'ASC', 'nopaging' => true, diff --git a/kit/category.php b/kit/category.php index dee5cd5..43fe30d 100644 --- a/kit/category.php +++ b/kit/category.php @@ -12,7 +12,7 @@ get_header(); echo esc_html( $categories[0]->name ); } ?> - +
diff --git a/kit/template-parts/content-category.php b/kit/template-parts/content-category.php deleted file mode 100644 index 9628c13..0000000 --- a/kit/template-parts/content-category.php +++ /dev/null @@ -1,11 +0,0 @@ -
-
- - ', '' ); ?> - -
- -
- -
-
diff --git a/kit/template-parts/content-page.php b/kit/template-parts/content-page.php index a099f7d..d09a0a7 100644 --- a/kit/template-parts/content-page.php +++ b/kit/template-parts/content-page.php @@ -12,9 +12,12 @@ $kit_category_url = get_category_link( $kit_categories[0]->term_id );
-
- -
+
+ +