WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Woocommerce support? (3 posts)

  1. pixeline
    Member
    Posted 1 year ago #

    I installed the Co-Authors Plus plugin and am able to select multiple authors for posts, but not for my woocommerce products (custom post type: "product").

    Is that on purpose or is it a bug?

    http://wordpress.org/extend/plugins/co-authors-plus/

  2. Renato Alves
    Member
    Posted 11 months ago #

    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.

  3. eburnettw79
    Member
    Posted 5 months ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic