コード例 #1
0
ファイル: page-contact.php プロジェクト: alikris/OTA
            ?>
		<p>
		<?php 
            if (!empty($contact_error)) {
                echo $contact_error;
            } else {
                _e('Thank you for contacting us. We will get back to you as soon as we can.', 'bookyourtravel');
            }
            ?>
		</p>
		<?php 
        }
        if (!$form_submitted || !empty($contact_error)) {
            ?>
		<form action="<?php 
            echo esc_url(BYT_Theme_Utils::get_current_page_url());
            ?>
" id="contact-form" method="post">
			<fieldset>
				<div class="f-item">
					<label for="contact_name"><?php 
            _e('Your name', 'bookyourtravel');
            ?>
</label>
					<input type="text" id="contact_name" name="contact_name" required="required" value="<?php 
            echo esc_attr($contact_name);
            ?>
" />
				</div>
				<div class="f-item">
					<label for="contact_email"><?php