-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-contact-us.php
executable file
·68 lines (53 loc) · 1.84 KB
/
page-contact-us.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php /* Template Name: Contact Us Page */ get_header(); ?>
<!-- section -->
<section class="InnerPage">
<div class="InnerPage__title">
<h1><?php the_title(); ?></h1>
</div>
<div class="InnerPage__content">
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<!-- article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="col-xs-12 col-sm-5">
<?php the_content(); ?>
</div>
<div class="col-xs-12 col-sm-7">
<div class="formulario">
<form action="sendEmail" method="POST" role="form" class="ajaxSend" data-action="sendEmail">
<div class="form-group col-xs-12 col-sm-6">
<label for="">Name</label>
<input type="text" name="name" class="form-control" id="" placeholder="Peter Example">
</div>
<div class="form-group col-xs-12 col-sm-6">
<label for="">Email</label>
<input type="email" name="email" class="form-control" id="" placeholder="example@test.com">
</div>
<div class="form-group col-xs-12">
<textarea name="message" id="inputMessage" class="form-control" rows="3" required="required"></textarea>
</div>
<div class="form-group col-xs-12">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
<div class="clearfix"></div>
<div class="alert Emailstatus" role="alert">...</div>
</div>
<?php comments_template( '', true ); // Remove if you don't want comments ?>
<br class="clear">
<?php edit_post_link(); ?>
</article>
<!-- /article -->
<?php endwhile; ?>
<?php else: ?>
<!-- article -->
<article>
<h2><?php _e( 'Sorry, nothing to display.', 'html5blank' ); ?></h2>
</article>
<!-- /article -->
<?php endif; ?>
</div>
</section>
<!-- /section -->
<?php //get_sidebar(); ?>
<?php get_footer(); ?>