Is there a simple way to get the blog page to only list the primary category next to the post title?
I've got a blog with many posts applied to a large number of categories (6+ sometimes on a single post). This looks very messy and confusing on the blog page when it shows all the categories next to the post title.
I realise I can simply use CSS to hide the category entirely but would prefer to keep it and restrict it to the primary category.
Is there a function file filter I can use to get the list of categories to only show primary category and not all?
Hi,
Is there a simple way to get the blog page to only list the primary category next to the post title?
I've got a blog with many posts applied to a large number of categories (6+ sometimes on a single post). This looks very messy and confusing on the blog page when it shows all the categories next to the post title.
I realise I can simply use CSS to hide the category entirely but would prefer to keep it and restrict it to the primary category.
Is there a function file filter I can use to get the list of categories to only show primary category and not all?
Thanks,
Nick.