Contact form - by queenb123 - on WordPress WooCommerce support

This topic has 29 replies, 4 voices, and was last updated 7 years, 11 months ago ago by Jack Richardson

  • Avatar: Eva
    Eva Kemp
    Support staff
    February 2, 2016 at 11:19

    Hello,

    You need edit the file wp-content/themes/woopress/framework/theme-functions.php in lines 1440, 1450.

    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    February 3, 2016 at 11:41

    hi Eva,

    I stillcant change the from name – it still says from word press, here is what i get from line 1450:

    $headers = “$email “. PHP_EOL;
    $headers .= “Reply-To: $email”. PHP_EOL;
    $headers .= “MIME-Version: 1.0”. PHP_EOL;
    $headers .= “Content-type: text/plain; charset=utf-8”. PHP_EOL;
    $headers .= “Content-Transfer-Encoding: quoted-printable”. PHP_EOL;

    if(wp_mail($reciever_email, $subject, $body, $headers)) {
    $return[‘status’] = ‘success’;
    $return[‘msg’] = __(‘All is well, your email has been sent.’, ETHEME_DOMAIN);
    } else{
    $return[‘status’] = ‘error’;
    $return[‘msg’] = __(‘Error while sending a message!’, ETHEME_DOMAIN);
    }
    $captcha_instance->remove( $_GET[‘captcha-prefix’] );

    what do i change please so i dont see the from name as “wordpress” or is this just the default?

    Avatar: Eva
    Eva Kemp
    Support staff
    February 3, 2016 at 12:21

    Hello,

    Have you changed FTP and wp-admin credentials?
    Please provide us with the correct ones.

    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    February 3, 2016 at 12:31

    its a live site now so can only give you wp creds

    please note it will be deleted in 24 hours

    please see private content

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    February 3, 2016 at 14:12

    Hello,

    To check theme files we also need FTP credentials.
    So please provide us with them.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    February 3, 2016 at 14:17

    cant i just email you the theme-options.php file and you can edit that then send it back to me….would that be ok instead?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 5, 2016 at 16:01

    Hello,

    Please take our apologies for a delay.
    You can change “From” mail header using the following code in wp-content/themes/woopress/functions.php:

    add_filter('wp_mail_from','yoursite_wp_mail_from');
    function yoursite_wp_mail_from($content_type) {
      return 'your@mailaddress.com';
    }
    add_filter('wp_mail_from_name','yoursite_wp_mail_from_name');
    function yoursite_wp_mail_from_name($name) {
      return 'Your name';
    }

    Best regards,
    Jack Richardson.

    Avatar: hexman
    hexman
    Participant
    May 19, 2016 at 21:16

    Hello, I am having some issues with the contact form. Can you please help me?

    I need:

    First Name*
    Last Name*
    Company
    Address
    City State (with dropdown) zip code
    Phone*
    Email*
    Subject*
    Comments*

    I want it just like this website: http://duratechsafety.com/Contact.html

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 20, 2016 at 10:21

    Hello @hexman,

    If you are using our contact form theme shortcode then you need to edit the wp-content/themes/framework/shortcodes.php file in “Contact form” section to add needed fields or you can use 3-rd party plugin to create your own contact form.

    Best regards,
    Jack Richardson.

  • 1 2
    Viewing 29 results - 21 through 29 (of 29 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.