• Hi Guys
    I am using Avada 3.9.1 theme on wordpress. I am allowing comments on pages.

    WHen a visitor goes to the page they have to fill in their name and email.

    I have edited the comments php in the theme folder, and wp-comments and set the field to a default name and email. However they only appear under the comments box on the page when i edit the theme comments php

    I have change values of the name and email on this page from

    . esc_attr( $commenter['comment_author'] ) .
    . esc_attr(  $commenter['comment_author_email'] ) .

    to myname and my email address respectivley

    However when i go to post the page i still get the error
    ERROR: please fill the required fields (name, email).
    which is strange as you can see the name and email in these fields.

    Where do i go to set these field values by default so wordpress accepts the pre defined values in the box.

    I have spent hours searching and tried various solutions but they do not work.

    Many thanks

Viewing 1 replies (of 1 total)
  • Hi patdundee,

    I believe you’re using this Avada premium theme.

    If that so, if you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    You can start by going to here:
    https://themeforest.net/item/avada-responsive-multipurpose-theme/2833226/support

    or directly to:
    https://theme-fusion.com/support/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    One advice though, usually Theme’s Technical Support will advice you to use latest WordPress version and the latest version of their theme.

    So if you aren’t, you can try that first before submit your questions.

Viewing 1 replies (of 1 total)
  • The topic ‘edit page comments php to set a default email and name’ is closed to new replies.