• Hi. After reading your plugin’s description and finding nothing else that specifically does what I’m looking for, I thought I would ask…can we use this plugin to just disable the Category taxonomy (disable, not delete)? Effectively, hide it from the front-end and back-end. I have no need to categorize our blog’s blog posts, but I still need to have the blog. Can you or your plugin assist with this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Hey @madmoneymike5,

    This plugin disable posts and, if not supported by other post types, both categories and tags. In a future release the plan is to have a settings page and the ability to toggle some of these features off, but right now I don’t think Disable Blog would be the right fit if you’re only looking to disable categories.

    If you’re comfortable with code you can add the following in your theme’s functions.php file or a custom plugin file. This will unregister the ‘category’ taxonomy for posts, taken from this example:

    function alter_taxonomy_for_post() {
      unregister_taxonomy_for_object_type( 'category', 'post' );
    }
    add_action( 'init', 'alter_taxonomy_for_post' );
    

    Hope that helps!
    Joshua

    • This reply was modified 2 years, 7 months ago by Joshua David Nelson. Reason: fixing line breaks
    • This reply was modified 2 years, 7 months ago by Joshua David Nelson. Reason: fixing typo :-/
    Thread Starter madmoneymike5

    (@madmoneymike5)

    Thank you, Joshua! That helped some. It removed it from the back end, but the entire Category taxonomy is still showing in the front end everywhere it normally would, which is where I need it removed from the most.

    Any ideas?

    Thanks!!

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    You’ll probably need to modify your theme templates and/or create a redirect on category specific archives. Here’s an article I found that might be helpful: https://itnext.io/disable-categories-tags-and-author-pages-on-your-wordpress-website-7d2166f9b613

    There are other aspects (REST API, xmlrpc, etc) if you wanted to go super deep, but redirecting the archive templates will have you mostly covered.

    If/when Disable Blog can provide this functionality, I’ll reach out. Hope that helps in the meantime.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Simply Disable Categories’ is closed to new replies.