PHP Classes

File: templates/contact.php

Recommend this page to a friend!
  Classes of Victor Andeloci   Project P Wordpress Podcast Theme   templates/contact.php   Download  
File: templates/contact.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Project P Wordpress Podcast Theme
Publish pages for a podcast in a WordPress site
Author: By
Last change:
Date: 11 months ago
Size: 911 bytes
 

Contents

Class file image Download
<?php
   
/* Template Name: Contato */
   
get_header();
?>

<main id="page" class="contact">
    <div class="container">
        <?php get_template_part('parts/header_info'); ?>
<?php get_template_part('parts/banner_min', null, [
           
'page_title' => get_the_title()
        ]);
?>
<?php get_template_part('elements/nav'); ?>
<div class="content post-content">
            <?= get_the_content() ?>
<?php get_template_part('elements/social_links'); ?>
</div>
        <form id="contactForm">
            <input placeholder="Nome" type="text" name="name" id="name" required>
            <input placeholder="E-mail" type="email" name="email" id="email" required>
            <textarea placeholder="Mensagem" name="message" id="message"></textarea>
            <button type="submit">Enviar</button>
        </form>
    </div>
</main>

<?php get_footer(); ?>