Support » Plugin: DCO Comment Attachment » Plugin not working with Answers Theme

  • Resolved heyhi123



    I’m using the Answers Theme and a demo page is shown here –

    If you scroll to the bottom of that demo page, you will see what the answers box looks like. When I activated the plugin on my own site, it still looks like the demo example and no option to upload images etc.

    Is there a reason the plugin wouldn’t work with this theme? If so, do you know what I need to do to make it work please?

    Thank you very much for your time.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Denis Yanchevskiy


    Hello @heyhi123,

    Unfortunately, this is a paid theme, and I can’t download it and try to figure it out 🙁 .

    As far as I can see, the seller provides 1 year of theme support. Please try to contact them. Perhaps they can advise something.

    Thank you for your reply.

    Hi @denisco

    The theme creator got back to me and said I can provide you with the theme zip file to allow you to check. Would that be OK with you?

    Plugin Author Denis Yanchevskiy


    Sure. You can send me the archive using this form. I will try to deal with the problem.

    Hi @denisco

    Thank you.

    I used the form and attached the Answers theme zip file, but it said “You are not allowed to upload files of this type.”

    Plugin Author Denis Yanchevskiy


    Can you please try again or upload the zip file to any cloud and specify the link in the “Your Message” field? Thanks.

    Hi @denisco

    Thanks – sent!

    Plugin Author Denis Yanchevskiy


    I received. Thank you.

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

    You need to replace
    <input name="submit" type="submit" id="submit" class="<?php if ( $user_ID ) { echo 'spacer';} ?>" value="Submit" />

    $css_class = $user_ID ? 'spacer' : '';
    echo apply_filters( 'comment_form_submit_field', '<input name="submit" type="submit" id="submit" class="' . $css_class . '" value="Submit" />' ); 

    in comments.php file in Answers theme folder.

    My result.

    Hi @denisco

    You are amazing!!

    Thank you for taking the time to check and to provide a clear resolution.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.