• Resolved Mike_sa

    (@mike_sa)


    Hi

    I am having a small issue with the setup of a custom post type. The custom post type is working perfectly except for the fact that the comment system is closed, even though comments are turned on and working for the blod posts 🙁

    `add_action(‘after_setup_theme’,’homeslider’);
    function homeslider(){
    if(!class_exists(‘Super_Custom_Post_Type’))
    return;

    $homeslider = new Super_Custom_Post_Type( ‘shoe-of-day’);
    $homeslider->set_icon( ‘picture’ );
    }’

    I have looked at an tried all sorts of things but nothing works. Has anyone experience this with super CPT before, I am using the Woo Themes framework and a canvas child theme, reverted back to a default wp theme and still it did not work 🙁

    http://wordpress.org/extend/plugins/super-cpt/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mike_sa

    (@mike_sa)

    one more thing, the allow comments check box does not appear in the admin editor for the custom post

    Thread Starter Mike_sa

    (@mike_sa)

    solved it 🙂
    needed to add support for comments for the custom post type 🙂

    add_post_type_support( $post_type, $supports )

    Plugin Author Matthew Boynes

    (@mboynes)

    Glad to see you have that figured out, Mike! For reference, here is a list of the default arguments that get passed to register_post_type. You can override them on a per-post-type basis, or override in bulk using the provided scpt_plugin_default_cpt_options filter, which the default args passes through.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments saying closed’ is closed to new replies.