WordPress.org

Support

Support » Plugins and Hacks » Woocommerce support?

Woocommerce support?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m with the same problem. I’m seeing a way of adding support, but I think I’ll have to change the Core files, for now at least.

    Problem: WooCommerce does not have post type support for products – easy fix — create an init function to add post type support for “author” and stick it in your functions.php file:

    add_action('init', 'my_custom_init');
    function my_custom_init() {
    	add_post_type_support( 'product', 'author' );
    }

    `

    Products will then show the coauthors box in the edit screen

    Codex – add post type support
    https://codex.wordpress.org/Function_Reference/add_post_type_support

    Just a note of caution: I don’t believe co authors plus plugin is optimized for custom post types (yet). While you can apply guest authors to custom post types, they don’t show up in the guest author menu (can’t make author post archives)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce support?’ is closed to new replies.