WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] support extra post type (4 posts)

  1. adrianoesch
    Member
    Posted 1 year ago #

    sorry for bothering, but i cant find the responsible snipped of code to add an extra post-type. id wish to choose coauthors also for the post-type "publication" (http://wordpress.org/extend/plugins/wp-publication-archive). i tried this:

    var $supported_post_types = array('publication','page', 'post');

    but no effect. thanks in advance and cheers.

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Can you share how you're registered your post type? It will need to support authors:

    add_post_type_support( 'publication', 'author' );

  3. adrianoesch
    Member
    Posted 1 year ago #

    hey daniel, thanks for the answer. i solved my problem differently, using the quasi MedPubAPI (https://github.com/asifr/PHP-PubMed-API-Wrapper)for each users profile. have a good day!

  4. Renato Alves
    Member
    Posted 11 months ago #

    Any change of showing the way, or adding support to the Woocommerce post type?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic