Contact form in the WordPress sidebar

How to Add a Contact Form in a WordPress Sidebar Widget (Easily)

Do you want to add a WordPress contact form widget in your sidebar? Adding a contact form to the page’s sidebar makes it easy for your visitors to read out from any page on your site.

In this article, we’ll show you the easy way to add a contact form in a sidebar widget without writing any code.

Crie Seu Formulário WordPress Agora

Video Tutorial

If you prefer to follow written instructions, keep reading.

How to Add a Contact Form in a WordPress Sidebar Widget

We’re going to start by getting our plugin set up.

1. Instale o Plugin WPForms

Start by installing and activating the WPForms plugin. For more details, see this step by step guide on how to install a plugin in WordPress.

Next, go to WPForms » Add New to create a new form.

Add a new contact form for your sidebar widget in WordPress

You’ll see the WPForms window open up in your browser. Let’s add a contact form to your website next.

2. Adicione um Formulário de Contato

On the WPForms Setup screen, select the Simple Contact Form template.

Usar Modelo de Formulário de Contato

The Simple Contact Form template already has 3 fields:

  • Nome
  • E-mail
  • Mensagem

Build contact form for WordPress sidebar widget

You can add additional fields by dragging them from the left hand panel to the right hand panel. Then, click on the field to make any changes.

By default, WPForms will show a confirmation message when your form is submitted. But because the sidebar is a small space, the confirmation might look a little cramped.

Instead, you might prefer to redirect the visitor to another page. Here are a couple of guides to help with that:

Be sure to save your changes before closing the form builder window.

3. Add a Contact Form Sidebar Widget

Now that your form is ready, you can add it to your site’s sidebar widget area.

To add a sidebar widget in WordPress, you’ll want to navigate to Appearance » Widgets in the WordPress sidebar.

Are you missing the Widget menu in WordPress? Read this guide on how to add a widget-ready sidebar in WordPress.

Find WordPress contact widgets for the sidebar

On the list, you can see the available widgets on your WordPress site. You can go ahead and drag any widget onto the sidebar area on the right to use it.

Add WordPress widgets to the sidebar

Scroll down until you find the WPForms widget. When you click it, you’ll see all of the available widget areas in your theme.

We selected Main Sidebar to add the contact form widget to our WordPress sidebar. Depending on the way your theme is set up, your sidebar might have a different name.

Add WordPress contact form widget to sidebar

Now go ahead and click Add Widget to add the contact form to your sidebar.

Let’s select the form we want to display. To do that, scroll up and look to the right hand side. You’ll see all of the widgets that you’re currently using.

Click on the WPForms widget to expand it. Here, you can select your contact form from the dropdown.

WordPress contact form sidebar widget

When you click Save, your contact form sidebar widget will be live on your website and ready for your visitors to fill out.

Here’s what our finished sidebar contact form looks like:

Contact form widgebar widget on published WordPress post

And that’s it! You successfully added a contact form to your WordPress sidebar.

Crie Seu Formulário WordPress Agora

Next, Make a File Upload Form

You’ve got your contact form in your sidebar widget. Next, would you like to make a file upload form for WordPress?

Accepting file uploads is a great way to take orders let your clients upload documents.

Pronto para construir seu formulário? Comece hoje mesmo com o plugin construtor de formulários WordPress mais fácil. WPForms Pro inclui muitos modelos gratuitos e oferece uma garantia de devolução do dinheiro em 14 dias.

Se este artigo ajudou você, por favor, siga-nos no Facebook e Twitter para mais tutoriais e guias gratuitos do WordPress.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que se você clicar em alguns de nossos links, poderemos ganhar uma comissão. Veja como o WPForms é financiado, por que isso importa e como você pode nos apoiar.

Claire Broadley

Claire é a Gerente de Conteúdo da equipe WPForms. Ela tem mais de 13 anos de experiência escrevendo sobre WordPress e hospedagem de sites. Saiba Mais

O Melhor Plugin Construtor de Formulários de Arrastar e Soltar para WordPress

Fácil, Rápido e Seguro. Junte-se a mais de 6 milhões de proprietários de sites que confiam no WPForms.

Adicionar um comentário

Ficamos felizes que você tenha escolhido deixar um comentário. Por favor, tenha em mente que todos os comentários são moderados de acordo com nossa política de privacidade, e todos os links são nofollow. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.

Este formulário é protegido pelo Cloudflare Turnstile e aplicam-se a Política de Privacidade e Termos de Serviço da Cloudflare.