WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Comments in 3.0 and Custom Post Types w/ Publish (3 posts)

  1. chocks
    Member
    Posted 4 years ago #

    Hi Otto,

    I was wondering if you have different instructions as per the new alternative to work with the comment form. I'm using the following:

    $args = array(
    'title_reply' => 'Leave a Comment',
    'comment_field' => '<textarea id="comment" name="comment" cols="80" rows="8" aria-required="true"></textarea>',
    'comment_notes_after'  => '',
    );
    comment_form($args);

    So I can't use:

    <div id="comment-user-details">
    <?php do_action('alt_comment_login'); ?>

    Any idea? Or should I 'hardcode' everything so to use it..?

    Another topic: is there a way to get the Publish module on custom post types? Or am I missing something when I created them? I'd like to see the same functionality (automatically posting posts and custom post types -posts cap, etc).

    Thanks!

    Chocks

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 4 years ago #

    If you use the new comment_form() function, then that's all automatic. It will add the code into the comment form without you doing anything at all.

    And no, currently the publish is hardcoded to posts and pages.

  3. chocks
    Member
    Posted 4 years ago #

    Nice. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic