Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter chriszee

    (@chriszee)

    Here is my comments php.

    [ SNIP ]

    • This reply was modified 6 years, 3 months ago by Jan Dembowski.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please do not post large code or responses like that here, it doesn’t work after ~10 lines or so.

    If you need share that data please use https://gist.github.com/ instead and post the link to that gist.

    Plugin Author Denis Yanchevskiy

    (@denisco)

    Hello @chriszee,

    DCO Comment Attachment uses the comment_form_submit_field filter to display the attachment field, but your theme don’t use it.

    You can try to replace

    <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
    <?php comment_id_fields(); ?>
    </p>

    with

    <?php echo apply_filters( 'comment_form_submit_field', '<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p>' ); ?>
    <?php comment_id_fields(); ?>
    Plugin Author Denis Yanchevskiy

    (@denisco)

    Marking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Dont work on my theme’ is closed to new replies.