Formatting and Commenting on Wordpress

Asked

Viewed 131 times

0

I have two Section on my site, one shows the comments and the other is a form for comments:

Section sec-aval - Shows comment

  <section id="sec-aval">
     <aside class="sec-aval-asd first">
        <h1>Título do comentário</h1>
        <span class="autor">Autor do comentário</span>
        <p>Comentário</p>
     </aside>
  </section>

Section "Contact sec" - Get the comment

  <section id="sec-contato">
     <h1>Contato</h1>
     <p>Deixe sua mensagem, sugestão ou crítica</p>
     <form action="">
        <input type="text" placeholder="Seu nome">
        <input type="text" placeholder="Título da mensagem">
        <textarea cols="0" rows="0">Sua mensagem...</textarea>
        <button type="submit">Enviar</button>
     </form>
  </section>

How do this system using php functions of Wordpress? Note: I need the Section sec-aval show only the last three comments.

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.