I don’t want my blog to use “categories” is there a way to turn them off? I can just not define any but then they are still listed as “uncategorized”
Leave a Reply
You must be logged in to post a comment.
I don’t want my blog to use “categories” is there a way to turn them off? I can just not define any but then they are still listed as “uncategorized”
You must be logged in to post a comment.
You’re not obligated to use categories. The listing of categories is a function of the theme, you can edit your theme and remove that. Depending on the structure of your theme these may be in a number of places. You can search for instances of
get_the_category
and comment them out. Look for a file calledloop.php
first, failing that, yoursingle.php
andindex.php
files.*edit:
I should mention, it may be the case that your particular theme doesn’t allow you to remove the category listing as easily as I’ve outlined, if you’re using a framework based theme where these functions are removed from the normal template structure for instance. In this case you should seek assistance with the support of whomever developed your theme, or choose another.
There is not a built in hook or filter to unregister a taxonomy (category is a built in WordPress taxonomy). There is a trac ticket with a patch but it has not been implemented.
I found a solution on Kaiser’s Git Hub Page that allows you to unregister built in taxonomies.