Support » Plugin: DCO Comment Attachment » 50 kb file limit Hostgator on Hestia theme

  • Resolved Daria

    (@daria2b)


    I’m having trouble doing the workaround to bypass the file limit imposed by my hosting company. It’s the same problem as described here: https://wordpress.org/support/topic/oops-that-page-cant-be-found-51/

    I’m trying to locate the file to edit, but I’m unable to file it in Hestia theme. All previous answers did not help me.

    The comments.php in Hestia theme has this:
    <?php comment_form( hestia_comments_template() ); ?>

    I found the only mention of wp-comments-post.php file in public_html/wp-includes/comments-temlate.php but it didn’t solve the problem.

    Where can I find the needed file under Hestia theme?

    • This topic was modified 2 years, 2 months ago by Daria.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Denis Yanchevskiy

    (@denisco)

    Hello @daria2b,

    Please try this reply.

    Thread Starter Daria

    (@daria2b)

    Thank you so much, Denis. This solved the problem!

    Hi Daria,

    I saw that you are facing a similar issue as me. I am new to wordpress and would really appreciate some guidance on how you resolved this thing. I have a couple of questions:

    1. I have a comment.php and a comment-template.php file in wp-includes. Which file do I make a copy of?

    2. Once I make a copy do I put “comment_form(array(‘action’ => ‘/blahblah.php’));” in the copy or the original?

    kind regards
    Aniket.

    Thread Starter Daria

    (@daria2b)

    There is a file called wp-comments-post.php in the main folder (public_html) of your website – that’s the file you need to copy.
    Don’t make any change to the file, just rename it, e.g. to ned-comments-post.php and keep it in the same folder as the original.

    Then you need to find the file as Denis mentioned located in public_html/wp-contents/themes/hestia/inc/helpers/layout-functions.php

    That’s where you make the changes he shows in the other post: https://wordpress.org/support/topic/oops-that-page-cant-be-found-when-uploading-image/#post-12731133

    Hey Daria,

    Thanks a lot for your response! It worked!
    Have a nice summer:)

    • This reply was modified 2 years, 1 month ago by aniket13m.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘50 kb file limit Hostgator on Hestia theme’ is closed to new replies.