Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Template Name: Página Contacto
get_header(); ?>
<div class="wrap">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
if ( isset($_GET['sent']) ){
if ( $_GET['sent'] == '1'){
echo "<p> ✔ Formulario enviado correctamente</p><br>";
else {
echo "<p> Hubo un error al enviar</p><br>";
<form method="post" action="<?php echo admin_url( 'admin-post.php' ) ?>" >
<label for="name">Nombre:</label>
<input type="text" name="name" id="name" required>
<label for="email">Correo:</label>
<input type="email" name="email" id="email" required>
<label for="message">Mensaje:</label>
<textarea name="message" id="message" cols="30" rows="10" required></textarea>
<input type="hidden" name="action" value="process_form">
<input type="submit" name="submit" value="Enviar">
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .wrap -->
<?php get_footer();

This comment has been minimized.

Copy link

annieruci commented Apr 7, 2019

Como podria hacerlo para el Tema massive-dynamic ya que el fichero page.php no se divide en secciones y solo aparece la funcción pixflow_generate_page('page'); que te carga toda la pagina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.