• Resolved gaudiweb

    (@gaudiweb)


    Hi all,
    how do I (re-) activate the standard wordpress categories to work with EDD products in parallel to the download_categories?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @gaudiweb

    Yes, you can use WordPress default categories to Work with EDD.

    Please add below custom code snippet to your theme / child theme functions.php file.

    add_action('init', 'add_categories_to_cpt');
    function add_categories_to_cpt(){
        register_taxonomy_for_object_type( 'category', 'download' );
    }
    Thread Starter gaudiweb

    (@gaudiweb)

    great, thanks for the swift reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘use std wp categories’ is closed to new replies.