Create Block Theme

Por WordPress.org
(29 avaliações)
Baixar
  • Versão:
    2.2.0
  • Última atualização:
    há 20 dias
  • Instalações ativas:
    mais de 10 mil
  • Versão do WordPress:
    6.5 ou maior
  • Testado até o WordPress:
    6.5.3
  • Versão do PHP:
    7.4 ou maior

Hospedagem WordPress com plugin Create Block Theme

Onde hospedar o plugin Create Block Theme?

Este plugin pode ser hospedado em qualquer provedor que possua WordPress configurado. Recomendamos escolher uma hospedagem seguro, com servidores otimizados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin Create Block Theme em um provedor de confiança

A MCO2, além de instalar o WordPress na versão mais atualizada para seus clientes, fornece o WP SafePress, um sistema singular que protege e aumenta a performance do seu site conjuntamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

This plugin allows you to:

  • Create a blank theme
  • Create a new theme based on the currently active theme
  • Create a child theme of the active parent theme
  • Create a new style variation
  • Export a theme
  • Save user changed templates and styles to the active theme

All newly created themes or style variations will include changes made within the WordPress Editor.

This plugin also makes several changes to the contents of a theme, including:

  • Adds all images used in templates to the theme’s assets folder.
  • Ensures the block markup used in templates and patterns is export-ready.
  • Ensures most strings used in templates and patterns are translate-ready.

The plugin is development only — not intended for use on production websites, but used as a tool to create new themes.

Step 1 – Setup

Install and activate the Create Block Theme plugin.

There will be a new panel accessible from the WordPress Editor, which you can open by clicking on a new icon to the right of the “Save” button, at the top of the Editor.

Step 2 – Style Customizations

Make changes to your site styles, fonts and templates using the Editor.

Step 3 – Export

Still in the WordPress Editor, navigate to the Create Block Theme menu at the top of the Editor.

To save recent changes made in the Editor to the currently active theme:

  • Select “Save Changes” to save any recent changes to the currently active theme.

To install and uninstall fonts:

  • Install and activate a font from any source using the WordPress Font Library.
  • Select “Save Changes To Theme” and select “Save Fonts” to save all of the active fonts to the currently active theme. These fonts will then be activated in the theme and deactivated in the system (and may be safely deleted from the system).
  • Any fonts that are installed in the theme that have been deactivated with the WordPress Font Library will be removed from the theme.

or export the theme:

  • Select “Export Zip” to export the theme as a zip file.

To edit the theme metadata:

  • Select “Edit Theme Metadata” to edit the metadata for the theme. These details will be used in the style.css file.

To inspect the active theme’s theme.json contents:

  • Select “Inspect Theme JSON”

To create a new blank theme:

  • Select “Create Blank Theme”
  • Supply a name for the new theme (and optional additional Metadata)
  • Click “Create Blank Theme”

To create a variation:

  • Select “Create Theme Variation”
  • Provide a name for the new Variation
  • Click “Create Theme Variation”

To create a new Clone of the current theme or to create a Child of the current theme:ons for the currently active theme:

  • Click “Create Theme”
  • Click “Clone Theme” to create a new Theme based on the active theme with your changes
  • Click “Create Child Theme” to create a new Child Theme with the active theme as a parent with your changes

Many of these options are also available under the older, deprecated Create Block Theme page under Appearance > Create Block Theme.

General Troobleshooting

If you are having problems, please try the following:

  • Make sure you have the latest version of WordPress installed.
  • Make sure you have the latest version of the plugin installed.
  • Deactivate all plugins and see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
  • Switch the theme to the default theme to rule out any theme-related problems.
  • Check the Support forum for similar issues.

I’m getting a corrupt zip file when I export my theme

  • First follow the general troubleshooting steps above.
  • Please make sure you WP_DEBUG setting in your wp-config.php file is set to false like this: define( 'WP_DEBUG', false );.
  • If your theme includes PHP files, ensure those files do not use PHP closing tags ?> at the end of the file. If they do, remove them.

Capturas de tela

Create Block Theme panel in the WordPress Editor

Create Block Theme panel in the WordPress Editor

Create Block Theme save panel in the WordPress Editor

Create Block Theme save panel in the WordPress Editor

Theme Metadata editing panel in the WordPress Editor

Theme Metadata editing panel in the WordPress Editor

theme.json inspector in the WordPress Editor

theme.json inspector in the WordPress Editor

Create Theme panel 1 in the WordPress Editor

Create Theme panel 1 in the WordPress Editor

Create Theme panel 2 in the WordPress Editor

Create Theme panel 2 in the WordPress Editor

Page under Appearance > Create Block Theme

Page under Appearance > Create Block Theme

Do mesmo author (WordPress.org)

Importador do WordPress
(308 avaliações)

Importe posts, páginas, comentários, campos personalizados, categorias, tags e mais de um arquivo de exportação WordPress.

Diagnóstico e resolução de problemas
(158 avaliações)

O Diagnóstico identifica problemas comuns e ajuda a resolver problemas de conflitos com plugins e temas.

Debug Bar
(65 avaliações)

Adicione um menu de debug na barra de administração. Que mostra consulta, cache, e outras informações de úteis de debug.