• I am unable to assign a category to any documents now. WP 4.9.8 and plugin version 3.1.2. Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • I have been using this plugin for several years – and have a copy of V2.0 of the plugin.
    It has never supported the standard category – and I use a different plugin to provide an equivalent function.

    You can easily extend the plugin to make use of categories.

    1. Create a folder called wp-document-revisions-cat
    2. Create a file called wp-document-revisions-cat.php within it.
    3. Enter the following text in this file:
      <?php
      /**
      Plugin Name: WP Document Revisions Cat
      Description: Adds Category to WP Document Revisions
      Version: 1
      Author: Neil James
      License: GPL3
       *
      @package wp-document-revisions-cat
       */
      
      add_filter( 'document_revisions_cpt', 'add_category_doc' );
      
      function add_category_doc( $args ) {
      	$args['taxonomies'] = array( 'category' );
      	return $args;
      }
    4. Go to the application and activate the plugin “WP Document Revisions Cat”

    Hope this is of use,
    Neil

Viewing 1 replies (of 1 total)
  • The topic ‘Missing Categories’ is closed to new replies.