• garymontagu

    (@garymontagu)


    Hi Guys

    I am not a developer, but managed to work out how to update and amend pages on my website, which was developed by a company in India for me. I have a contact form on the site, which works fine and sends contact details to our email address [email protected], which is what we want. But at the bottom of the home page, we have a ‘Get in touch’, where people can click the email address and send an email. The problem is that it is a different email address and we would like to have it the same as the contact form. But there doesn’t seem to be an easy way for me to change this email address. I’ve looked at the HTML and there is nothing on the home page. So I took a mildly educated guess (bearing in mind I am not technical or a developer) that it could be something to do with Themes. So I went to Theme File Editor and within tourandaluciainternational: style.css since it is at the bottom of the page, I checked out footer.php and found some HTML code tat seemed related to what I am trying to do

    Email: <a href=”mailto:<?php echo get_option(‘contact_email’); ?>”><?php echo get_option(‘contact_email’); ?></a>

    Get in Touch
    Email:
    Tel. Spain
    UK

    So I assumed that the contact_email is somewhere that contains the email address that I need to update as this is where I overwrite the email address for the correct one.

    Any help or advice on how to do this, in the simplest of terms, would be greatly received.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Linards

    (@linardsn)

    It seems like you’re on the right track with editing the footer.php file in the Theme File Editor. The code you found indicates that the email address for the “Get in Touch” section is being pulled from an option called contact_email.

    To change this email address, you will need to find where this option is set in your website’s backend. It’s possible that this option is set in the WordPress dashboard under a settings or theme options section. You can also try searching for the get_option() function in your website’s code to see if it’s being set anywhere else.

    Once you find where the contact_email option is set, you should be able to update it to the email address you want to use. After making this change, the “Get in Touch” section should now display the updated email address.

    If you’re not comfortable making these changes yourself, it may be best to reach out to the company in India that developed your website for assistance. They should be able to guide you through the process or make the changes for you.

    Thread Starter garymontagu

    (@garymontagu)

    Thank you. I’ll try and muddle through to see if I can find the option contact_email and hopefully update it.

    Thread Starter garymontagu

    (@garymontagu)

    Problem solved. It takes the email address from the ‘Contact Information’ in the Website Settings in ‘General’. Just updated this and is now updated on the website.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contact email’ is closed to new replies.