stevecdn

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Phone on Homepage Issue #12537
    stevecdn
    Member
    This reply has been marked as private.
    in reply to: Contact form: change URL to Company input field #5084
    stevecdn
    Member

    Thx. Got the URL to not require the URL to have http://, but now this information doesn’t show up in the email I receive. Here is the code.

    $output .= ‘<fieldset>’;

    $output .= ‘<p><label>’ . __(‘Name *’, ‘mo_theme’) . ‘</label><input type=”text” name=”contact_name” placeholder=”‘ . __(“Name:”, ‘mo_theme’) . ‘” class=”text-input” required></p>’;

    $output .= ‘<p><label>’ . __(‘Email *’, ‘mo_theme’) . ‘</label><input type=”email” name=”contact_email” placeholder=”‘ . __(“Email:”, ‘mo_theme’) . ‘” class=”text-input” required></p>’;

    if (mo_to_boolean($phone))
    $output .= ‘<p><label>’ . __(‘Phone Number’, ‘mo_theme’) . ‘</label><input type=”tel” name=”contact_phone” placeholder=”‘ . __(“Phone:”, ‘mo_theme’) . ‘” class=”text-input”></p>’;

    if (mo_to_boolean($web_url))
    $output .= ‘<p><label>’ . __(‘Company’, ‘mo_theme’) . ‘</label><input type=”text” name=”contact_company” placeholder=”‘ . __(“Your Website:”, ‘mo_theme’) . ‘” class=”text-input”/></p>’;

    if (mo_to_boolean($subject))
    $output .= ‘<p class=”subject”><label>’ . __(‘Subject’, ‘mo_theme’) . ‘</label><input type=”text” name=”subject” placeholder=”‘ . __(“Subject:”, ‘mo_theme’) . ‘” class=”text-input”></p>’;

    $output .= ‘<p class=”text-area”><label>’ . __(‘Message *’, ‘mo_theme’) . ‘</label><textarea name=”message” placeholder=”‘ . __(“Message:”, ‘mo_theme’) . ‘” rows=”6″ cols=”40″></textarea></p>’;

    if (mo_to_boolean($human_check))
    $output .= ‘<p class=”human-check”><label>’ . __(‘* I am a human and 4 + 9 = ‘, ‘mo_theme’) . ‘</label><input type=”text” name=”human_check” class=”text-input” size=”5″ style=”width: 50px;”></p>’;

    in reply to: Contact form: change URL to Company input field #5080
    stevecdn
    Member

    Meteorite, sorry for this question (which may be obvious to WO pros). I am using the single page website – so the contact form is in the home page. So in this agile theme, where exactly can I find the latest Contact Form 7? And am I replacing just that form? If so, where is the new one (the updated one) to be found?

    Thx

    in reply to: Contact form: change URL to Company input field #5058
    stevecdn
    Member

    I found the file in wp-content/themes/agile/framework/shortcodes

    I then changed it as noted to name=”contact_company” from “contact_url”

    Same issue – so I changed it back. I cannot find the “contact form” I am reading about, which has the place to change it.

    Where is that form? Is it in the theme as it’s not on my server. thx

    in reply to: Contact form: change URL to Company input field #5056
    stevecdn
    Member

    Meteorite,

    I don’t know why you think you require http:// just to have a valid URL. That’s just bad.

    Nevertheless, I’m not even sure if we have a child theme loaded, so the question is, where do I find where to edit this? You had stated

    framework/shortcodes/contact-shortcodes.php file in the child theme….however I cannot find it. Or, is there a place within the theme to find the shortcode to edit? I again couldn’t find which one had contact_url

    Thx

Viewing 5 posts - 1 through 5 (of 5 total)