From 8504f8296138131e3187bf12413b15219428b9c7 Mon Sep 17 00:00:00 2001 From: Git Manager GUI Date: Thu, 28 May 2026 20:21:29 +0200 Subject: [PATCH] Upload via Git Manager GUI --- single-bluesky_wiki.php | 176 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 single-bluesky_wiki.php diff --git a/single-bluesky_wiki.php b/single-bluesky_wiki.php new file mode 100644 index 0000000..1653e65 --- /dev/null +++ b/single-bluesky_wiki.php @@ -0,0 +1,176 @@ +parent) { + $parent = get_term($cat->parent, 'wiki_category'); + if ($parent && !is_wp_error($parent)) + $breadcrumb[] = ['label' => $parent->name, 'url' => get_term_link($parent)]; + } + $breadcrumb[] = ['label' => $cat->name, 'url' => get_term_link($cat)]; +} + +// Sidebar: alle Kategorien & Artikel +$all_top_cats = get_terms(['taxonomy'=>'wiki_category','hide_empty'=>true,'parent'=>0,'orderby'=>'menu_order']); +$current_cat_ids = wp_list_pluck($cats ?: [], 'term_id'); +$current_post_id = get_the_ID(); +?> + + + + + +
+
+
+ + + + + + +
+
+
+ + +