🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Dynamic Template Parts icon
Desacelerando Tested up to 6.7.12

Dynamic Template Parts

Transform the way you manage templates on your WordPress site with Dynamic Template Parts. This powerful plugin extends the Full Site Editor, letting you swap headers, footers, and other Template Parts dynamically based…

Instalações ativas<10Novo
Downloads · 30d43▲ +19.4% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde24/100Em risco
Downloads de todos os tempos1.1KSince Dec 2024
Suporte resolvido—Sem tópicos recentes
RequerWP 5.8Php 7.4+
Downloads · 7d7▼ -41.7% week over week
Nosso veredicto

Considere uma alternativa

Dynamic Template Parts shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 2 years ago, and scores 24/100 on our health check.

  • Base de usuários pequenas (<10 instalações ativas)
  • Muito poucos comentários até agora
  • Nenhuma atualização em mais de um ano
  • Testado apenas até WordPress 6.7 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

123Sep 5Oct 19Dec 3
Ontem0
Média diária (1y)1
Dia de pico5May 16, 2026
Últimos 12 meses382

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Dynamic Template Parts stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
quadra >100 10,000 Melhores plugins de bloco →
custom templates >100 10,000 Best custom templates plugins →
editor >100 10,000 Melhores plugins do editor →
switcher >100 1,413 Best switcher plugins →
template >100 10,000 Best template plugins →

About Dynamic Template Parts

Do Readme oficial · v1.0.0

Descrição

Transform the way you manage templates on your WordPress site with Dynamic Template Parts. This powerful plugin extends the Full Site Editor, letting you swap headers, footers, and other Template Parts dynamically based on the content you’re editing — say goodbye to managing multiple templates for every layout variation.

With Dynamic Template Parts, you gain the freedom to swap Template Parts directly within the block editor, whether it’s for posts, pages, or custom post types. The user-friendly interface allows you to preview changes in real-time, giving you complete control over the look and feel of each piece of content without needing custom code.

Características principais:

  • Dynamic Template Part Swapping: Replace headers, footers, sidebars, or any template part within the block editor.
  • Flexible Swapping Options: Define whether to swap within the same type, any type, or curated parts.
  • Template Part Previews: Preview Template Parts before selecting, ensuring your content looks perfect.
  • Supports All Content Types: Works with posts, pages, and custom post types.
  • User-Friendly Interface: Simple setup—no coding required.”

Get Started:

To implement an alternative Header Template Part using the Full Site Editor, please follow the example workflow below:

  1. Create an Alternative Header Template Part: Design and save a new Header Template Part within the Full Site Editor to serve as an alternative to your default header.
  2. Edit the Single Posts Template: Navigate to the Single Posts template and select the Header Template Part, and view the block sidebar.
  3. Enable the Dynamic Template Part Option: In the Template Part attributes panel, enable the Dynamic Template Part setting.
  4. Configure Swapping Preferences (Optional): Adjust your swapping preferences according to your requirements (choose to swap your Template Part with differnt Template Part types, or use a curated list of Template Parts).
  5. Edit a Post and Access the Dynamic Template Part Sidebar: Open a post for editing and select the Dynamic Template Part sidebar from the editor interface.
  6. Select the Alternative Header Template Part: Choose the alternative Header Template Part you created to replace the default header in this specific post.
  7. Save and Preview the Post: Save your changes and preview the post to verify that the alternative header is displayed correctly.
  8. Confirm Default Header on Other Posts: Ensure that all other posts without specific configurations continue to display the default header as intended.

Unlock the power of dynamic templating and take control of your site’s design like never before!

Hooks and Filters

Dynamic Template Parts provides filters to allow developers to customise its behaviour. Below are the available filters and how to use them.

Show Deselected Template Part

The dynamic_template_parts_show_deselected_template_part filter lets you control whether a previously selected template part that is no longer available for selection should still be displayed. By default, the plugin keeps the part visible to avoid unintended changes, but you can override this to automatically remove unavailable template parts.

Exemplo:

If you want to ensure that unavailable template parts are removed and replaced with the default template part, you can use the following code:

add_filter( 'dynamic_template_parts_show_deselected_template_part', function( $show_deselected, $template_parts, $selected_part ) {
    // Always hide deselected template parts and fall back to the default.
    return false;
}, 10, 3 );

Parameters:

  • $show_deselected (bool): Whether to show the deselected template part. Defaults to true.
  • $template_parts (array): The list of available template parts.
  • $selected_part (string): The currently selected template part.

User Permissions

The dynamic_template_parts_user_can_switch filter lets you customise which users are allowed to switch template parts. By default, any user with the edit_posts capability can access this functionality, but you can restrict it to specific roles or capabilities.

Exemplo:

If you want to restrict template part switching to administrators only, you can use the following code:

add_filter( 'dynamic_template_parts_user_can_switch', function( $can_switch ) {
    // Allow only administrators to switch template parts.
    return current_user_can( 'manage_options' );
} );

Parameters:

  • $can_switch (bool): Whether the current user has permission to switch template parts. Defaults to checking the edit_posts capability.

Roadmap

  1. Support for additional content types: Support additional content types such as authors, terms and archive pages.

Requisitos

  • WordPress version 5.8 or higher.
  • PHP version 7.4 or higher.

Known Issues

See the Roadmap section for known issues.

Instalação

Esta seção descreve como instalar o plugin e fazê-lo funcionar.

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Ative o plugin através da tela 'Plugins' em WordPress.

Log de Changes

Welcome to the first release of Dynamic Template Parts! Enjoy dynamic control over your templates.

1.0.0

  • Initial Release

1.0.0

  • Initial Release

1.0.0

  • Initial Release

Registro de change completo em WordPress.org →

Capturas de tela

Use alternative Template Parts: Use the Full Site Editor to define your alternative template parts.
Use alternative Template Parts: Use the Full Site Editor to define your alternative…
Select a Template Part in the Template Editor: Navigate to the Template Editor and select a Template Part you wish to edit.
Select a Template Part in the Template Editor: Navigate to the Template Editor and select…
Enable the Dynamic Template Part Option: In the Template Part attributes panel, enable the Dynamic Template Part setting.
Enable the Dynamic Template Part Option: In the Template Part attributes panel, enable…
Choose Swapping Preferences: Configure your swapping preferences by selecting whether to swap with the same type, any type, or curated Template Parts.
Choose Swapping Preferences: Configure your swapping preferences by selecting whether to…
Edit a Post and Access the Dynamic Template Part Sidebar: While editing a post, open the Dynamic Template Part sidebar from the editor interface.
Edit a Post and Access the Dynamic Template Part Sidebar: While editing a post, open the…
View Available Template Parts with Previews, and Select an Alternative Template Part: Browse through the available Template Parts, complete with live previews to assist in your selection. Choose the alternative Template Part you wish to substitute in place of the default.
View Available Template Parts with Previews, and Select an Alternative Template Part…
Save and View the Post with Swapped Template Parts: Save your changes and preview the post to see your customised Template Parts in action.
Save and View the Post with Swapped Template Parts: Save your changes and preview the…

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Dynamic Template Parts alternatives

Todos os plugins de bloco →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Spectra Legacy – Blocos Gutenberg Spectra Legacy – Blocos Gutenberg Gutenberg Blocos para sites Spectra existentes. Mantido, estável e totalmente suportado —… por brainstorm force 1M+ ★★★★★★★★★★ 4.7 (1.9K) 2 semanas atrás 85
2 Breadcrumb navxt Breadcrumb navxt Adiciona a navegação de breadcrumb mostrando o caminho do visitante para sua localização atual. Por John Havlik 700K+ ★★★★★★★★★★ 4.6 (132) 3 meses atrás 71
3 Embedder de PDF – visualizador de PDF e arquivos PDF incorporados para WordPress Embedder de PDF – visualizador de PDF e arquivos PDF incorporados para WordPress Incorpore arquivos PDF em WordPress Postagens e páginas com um bloco responsivo do visualizador de PDF, bloco ao vivo… Por Syed Balkhi 300K+ ★★★★★★★★★★ 4.7 (533) 4 meses atrás 86
4 Bloco de grade de layout Bloco de grade de layout Um bloco de contêiner Gutenberg para permitir que você alinhe itens de forma consistente em uma grade global. por Automattic 200K+ ★★★★★★★★★★ 4.7 (13) 3 anos atrás 43
5 Formulários de sinal de público Formulários de sinal de público O plug-in de formulários do CrowdSignal permite que você crie e gerencie as pesquisas diretamente no… por Automattic 200K+ ★★★★★★★★★★ 5 (3) 2 meses atrás 73
6 Exibições de conteúdo – poste a grade e o filtro (código abreviado, blocos, Elementor widgets) Visualizações de conteúdo Fácil de mostrar posts, páginas, posts personalizados em grade personalizável, lista, controle deslizante, acordeão… por visualizações de conteúdo 100K+ ★★★★★★★★★★ 4.8 (333) 2 semanas atrás 80
7 Codificador de endereço de e-mail Codificador de endereço de e-mail Um plugin leve que protege os endereços de e-mail de robôs de coleta de e-mail, por… por Till Krüss 100K+ ★★★★★★★★★★ 4.2 (160) 1 semana atrás 85
8 Simples Sitemap – Sitemap responsivo para WordPress Simples Sitemap – Sitemap responsivo para WordPress Crie um mapa de site HTML responsivo no editor de blocos com visualização ao vivo, classificação flexível… Por David Gwyer 60K+ ★★★★★★★★★★ 3.9 (72) 2 meses atrás 86
9 Bloco de mesa flexível Bloco de mesa flexível Bloco de tabela flexível é um plugin de bloco personalizado para o editor de blocos WordPress que permite… Por Aki Hamano 50K+ ★★★★★★★★★★ 4.9 (34) 4 semanas atrás 95
10 O bloco de ícones O bloco de ícones Adicione facilmente ícones e gráficos SVG ao editor de blocos WordPress. Por Nick Diego 40K+ ★★★★★★★★★★ 5 (30) 3 meses atrás 91

FAQ

Dynamic Template Parts: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Dynamic Template Parts free?

Yes. Dynamic Template Parts is free to download and use from the official WordPress.org plugin directory.

Is Dynamic Template Parts safe to use in 2026?

Dynamic Template Parts shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 2 years ago, and scores 24/100 on our health check.

How many websites use Dynamic Template Parts?

Dynamic Template Parts is active on <10 WordPress websites and has been downloaded 1,071 times since it launched in December 2024. It was downloaded 43 times in the last 30 days.

Does Dynamic Template Parts work with WordPress 7.1?

Dynamic Template Parts is officially tested up to WordPress 6.7.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Dynamic Template Parts need?

Dynamic Template Parts requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Dynamic Template Parts last updated?

The latest version, 1.0.0, was released on December 3, 2024 (2 years ago).

Who makes Dynamic Template Parts?

Dynamic Template Parts is developed and maintained by Matt Watson.

What are the best alternatives to Dynamic Template Parts?

The most popular alternatives to Dynamic Template Parts are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir