• Resolved eswank

    (@eswank)


    I recently installed the theme along with a child theme, and am trying to customize the standard contact form – I want to only prompt the user to submit a name and email.

    I was able to remove the input fields for subject, message (along with the associated error message) through front-page.php. And I’ve been able to resize the inputs using the Bootcamp grid-system and inline CSS.

    The issue is that the form still needs a subject, message to submit properly. I’ve tried looking in functions.php, but haven’t found anywhere to resolve this issue. Is this something I’m able to do, or am I going to have to just completely remove the form and replace it with a widget?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter eswank

    (@eswank)

    Ah, premature question. To anyone having similar problems, the code is in the front-page.php file in sections like below:

    “/* email */
    if(trim($_POST[‘myemail’]) === ”):”

    Just delete the code sections for the input boxes you don’t want to be forced-entry.

    MariusG

    (@marius_codeinwp)

    That should solve this, yes ??
    I am glad you managed to do it.

    Kind regards,
    Marius

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