The get-the-category tag has no wiki summary.
0
votes
2answers
282 views
Display the deepest child category from Category X (in loop)
I have a number of top-level categories including "News" and "Sport". They each have multiple levels of child categories as shown below.
News
Australia
NSW
Sydney
Sports
Cycling
Road ...
2
votes
1answer
132 views
How can I get archives for specific category without category_base in the url?
I'm using this code to get archives for a specific category:
function extend_date_archives_add_rewrite_rules($wp_rewrite){
$rules = array();
$structures = array(
...
0
votes
1answer
73 views
Show single Child Category on Custom Post
Am hoping someone can help me pull out a single custom category name and show it on my custom post page. I've created a new custom post type 'Itinerary' as well as some new custom categories (terms):
...
0
votes
1answer
146 views
Using wp_list_categories like the the_category (showing just current categories of a post)
fromi'm using wp_list_categories to get an unordered list with headlines (on single.php inside the post-loop):
<ul><?php wp_list_categories('title_li=0');?></ul>
the thing is: i ...
-1
votes
1answer
28 views
How to display my categories in a list (to a post, not the sidebar)?
i want to display my categories to a post like a list. i have this (parent- and child-) categories:
- Sports
- Football
- Basketball
- Toys
- Dolls
- Lego
- Books
for example one ...
1
vote
0answers
139 views
List only child categories within posts
I am using the_category() to display categories in my posts that are also filed in child-categories. Unfortunately this also displays the parent category which i would love to hide. Is there a way to ...