single_cat_title
-
Hi I’m using single_cat_title next to the_title so that I can display the post title and the category next to one another.
It works fine no problem however it only shows the parent category and not the child category that the post is actually in for instance
I currently have
POST TITLE – CARSbut would like
POST TILE – AUDI
Where AUDI is a child of the category CARS
Hope someone can help because I can’t find answer anywhere on Google or the Codex
And also I can’t work out how to make the single_cat_title link to the child archive page either it always links to the post page instead
- The topic ‘single_cat_title’ is closed to new replies.