Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como controlar as revisões de tipos de post no WordPress

As revisões de posts oferecem uma maneira fácil de desfazer alterações, restaurar posts e reverter para rascunhos antigos. No entanto, muitos usuários acreditam que o excesso de revisões pode aumentar o tamanho dos arquivos de backup, aumentar o tempo de consulta das postagens e afetar o desempenho geral do site. É fácil desativar as revisões de postagens, mas para isso você precisa editar o arquivo de configuração. Neste artigo, mostraremos como controlar as revisões de tipos de publicações no WordPress com uma interface de usuário simples.

Tutorial em vídeo

Subscribe to WPBeginner

Se você não gostar do vídeo ou precisar de mais instruções, continue lendo.

A primeira coisa que você precisa fazer é instalar e ativar o plug-in WP Revisions Control. Após a ativação, basta acessar Settings ” Writing para controlar as revisões.

Revision Control Settings

Role um pouco para baixo na página de configurações de escrita e você notará a nova seção WP Revisions Control. Você pode definir o número de revisões que deseja armazenar para cada tipo de postagem.

Se não estiver usando nenhum tipo de postagem personalizada, você verá apenas Posts e Páginas aqui; caso contrário, o plug-in listará todos os seus tipos de postagem.

Se você quiser salvar todas as revisões de um tipo de postagem, basta deixar o campo em branco e o WordPress armazenará todas as revisões desse tipo de postagem.

Quando terminar, basta clicar no botão Save Changes (Salvar alterações ) para armazenar suas configurações.

Esperamos que este artigo tenha ajudado você a controlar as revisões dos tipos de postagem no WordPress. Talvez você também queira dar uma olhada em como excluir revisões de postagens antigas no WordPress.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Google+.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

5 ComentáriosLeave a Reply

  1. Neo

    How do we enable revisions for custom post types in a theme such as “Services”? Thanks.

    • WPBeginner Support

      For custom post types added by a theme, we would recommend reaching out to the support for that specific theme and they should be able to help.

      Admin

  2. Robert

    Hi!

    I installed and activated the plugin – but it doesn´t seem to work. All the revisions continued listed, despite the fact that I´d tried to limit them to 10.

    Googling the problem, it seems to be a fairly general complaint.

    Saludos.

  3. WPBeginner Staff

    Its debatable and depends on how much content you have on your site. If you have a lot of content then revisions can increase your backup file sizes. WordPress does not query revisions when its querying posts. Still some people argue that revisions can affect query times.

  4. Nadia

    When you say “many users believe that too many revisions can increase their backup file sizes, increase post query times, and affect overall performance of their site”, does that mean it isn’t actually true?

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.