Descrição
Adicione uma versatilidade incrível ao seu editor sem inchá-lo com toneladas de blocos Gutenberg unidimensionais. Com o GenerateBlocks, você pode aprender profundamente alguns blocos e usá-los para criar qualquer coisa.
GenerateBlocks trabalha de mãos dadas com GeneratePress, mas foi criado para funcionar com qualquer tema.
Contêiner
Organize seu conteúdo em linhas e seções. O bloco ‘Contêiner’ é a base do seu conteúdo, permitindo que você crie seções únicas para o seu conteúdo.
Grade
Crie layouts avançados com grades flexíveis. O bloco ‘Grade’ permite que você crie qualquer tipo de layout que você possa imaginar.
Título
Crie conteúdo textual rico com tipografia avançada. Tudo, desde títulos a parágrafos – assuma o controle total do seu texto.
Botões
Gere conversões com belos botões.
Desempenho
Levamos o desempenho a sério. Um CSS mínimo é gerado apenas para os blocos que você precisa, e nossa estrutura HTML é a mais simples possível, permitindo a máxima flexibilidade.
Padrões de programação
Construído com os mais altos padrões de codificação para segurança, estabilidade e compatibilidade futura.
Totalmente responsivo
Cada bloco é fornecido com controles para tablet e celular, oferecendo controle total do seu design responsivo.
Documentação
Consulte nossa documentação para obter mais informações sobre os blocos individuais e como usá-los.
Blocos
Este plugin disponibiliza 5 blocos.
- Container
- Grid
- Buttons
- Button
- Headline
Instalação
Há duas maneiras de instalar o GenerateBlocks.
- Acesse “Plugins > Adicionar novo” no seu Dashboard e pesquise por: GenerateBlocks
- Baixe o arquivo .zip do WordPress.org e faça o envio da pasta no diretório
/wp-content/plugins/
via FTP.
Na maioria dos casos, o #1 funcionará bem e é muito mais fácil.
FAQ
-
Como adiciono seus blocos à minha página?
-
- Crie uma nova página ou post
- Adicione um novo bloco e procure a categoria “GenerateBlocks”
- Escolha seu bloco e comece a construir.
- É sempre melhor iniciar com um bloco contêiner.
-
Que tema devo usar?
-
O GenerateBlocks foi criado para trabalhar em conjunto com o GeneratePress. No entanto, ele funcionará com qualquer tema que você escolher.
Avaliações
Colaboradores e desenvolvedores
“GenerateBlocks” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.
Colaboradores“GenerateBlocks” foi traduzido para 8 localizações. Agradecemos aos tradutores por suas contribuições.
Traduzir “GenerateBlocks” para o seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.
Registro de alterações
1.3.0
- New: Add generateblocks.editor.cssAttrs filter
- New: Add generateblocks_headline_selector_tagname filter
- New: Add generateblocks.editor.panelContents filter
- New: Add Add generateblocks.frontend.containerTagName filter
- New: Add generateblocks.editor.headlineDisableFormatting filter
- New: Add generateblocks.editor.beforeHeadlineElement filter
- New: Add generateblocks.editor.urlInputMoreOptions filter
- New: Admin header
- Fix: Fix gradient when no stop value is found
- Fix: Translations in the editor
- Fix: Force inner container z-index when pseudo in use
- Fix: Headline text input when has icon but no text
- Tweak: Merge bg image and gradient controls into one tab
- Tweak: Prepare for Global Styles in Pro
- Tweak: Remove duplicate .gb-container class from CSS
- Tweak: Add script translations file for settings JS
- Tweak: Hide color picker label element if no label
- Tweak: Update domPurify
- Tweak: Import WP packages instead of defining them
- Tweak: Add border-radius to pseudo background image elements
- Tweak: Change Element Tag label to Tag Name
- Tweak: Add placeholder to Headline block
- Tweak: Remove add grid item button from toolbar when selecting layout
1.2.0
- Markup change: Remove headline-wrapper element from Headlines with icons
- Markup change: Change button-text class to gb-button-text in Button block
- Markup change: Only output inner gb-button-text span if using an icon
- Markup change: Output Button block as span element if no URL exists
- Markup change: Add gb-headline-text span if using an icon in Headline block
- New: Shape dividers in the Container block
- New: Make all blocks fully responsive when using editor responsive previews
- New: Add option to apply gradient as a pseudo element
- New: Add option to choose background image size
- New: Add border radius options to Headline block
- New: frontend.insideContainer filter in editor for Container block
- New: frontend.beforeContainerClose filter in editor for Container block
- New: generateblocks_after_container_open filter in frontend for Container block
- New: generateblocks_inside_container filter in frontend for Container block
- New: generateblocks_before_container_close filter in frontend for Container block
- New: generateblocks_container_tagname filter in frontend for Container block
- New: Add div as Headline block element choice
- New: Add span as Headline block element choice
- New: Add inner z-index option to Container
- New: Aside option as Container tag name
- New: generateblocks_dynamic_css_priority filter
- New: Add support for desktop/tablet-only CSS
- Fix: Stacked button alignment in the editor
- Fix: Broken background image upload when using official AMP plugin
- Fix: Button mobile border-radius
- Fix: Check if grid data is an array before looping
- Fix: Container tablet/mobile font size values
- Fix: Button text not selectable in editor using Firefox
- Tweak: Bump required WP version to 5.4
- Tweak: Make Container block wrapper HTML dynamic
- Tweak: Make Grid block wrapper HTML dynamic
- Tweak: Make Button Container block wrapper HTML dynamic
- Tweak: Move custom classes to core CSS classes field
- Tweak: Move custom ID to core anchor field
- Tweak: Remove deprecated isLarge prop in editor
- Tweak: Better stacked button alignment on frontend
- Tweak: Remove old browser prefixes
- Tweak: Update DOMPurify
- Tweak: Don’t strip protocol from dynamic stylesheet URI
- Tweak: Move controls from our Advanced panel into core Advanced panel
- Tweak: Move text alignment options in all blocks to the Block Toolbar
- Tweak: Remove block margin in the editor
- Tweak: Reverse grid gap when using RTL
- Tweak: Add default inherit option to tablet/mobile Headline icon alignment
- Tweak: Change frontend.insideContainer filter to frontend.afterContainerOpen
- Tweak: Update color picker component UI
- Tweak: Make icon sets filterable
- Tweak: Move Container element tag option to Layout panel
- Tweak: Move Container z-index options to Spacing panel
- Tweak: Disable fixed background images on mobile
- Tweak: Rebuild Headline Element toolbar component
- Tweak: Add tag name to Headline CSS selector to improve CSS conflicts
- Tweak: Changed order of generateblocks_block_css_data params
- Tweak: Use device-specific media queries for remove vertical gap option
- Tweak: Change generateblocks.editor.desktopCSS filter to generateblocks.editor.mainCSS
- Tweak: Rebuild settings area using React
- Tweak: Remove placeholder text from Headline block
- Tweak: Move GenerateBlocks admin menu item to top level
- Tweak: Regenerate static CSS files after plugin update
- Tweak: Adjust unit picker default styling
- Tweak: Rebuild background image upload UI
1.1.2
- Fix: Set background image selector default if undefined
- Fix: Set background image opacity default if undefined
- Tweak: Remove parsed content caching
1.1.1
- Fix: Undefined index notice when using background images
1.1.0
- New: Persistent responsive controls across blocks
- New: Filter all HTML attributes
- New: Filter Container tagNames
- New: Add containerAfterElementTag filter
- New: Add option to apply background image as pseudo element
- New: Add support for alignwide/alignfull in Container block
- New: Display color palette by default in Color component
- New: Add option to choose default view in Color component
- New: Add aria-label option for Buttons into advanced panel
- Tweak: Deprecate background image overlay option
- Tweak: Move hexToRGBA to utils
- Tweak: Fix repeated common CSS
- Tweak: Re-design normal/hover state buttons
- Tweak: Filter default background image size
- Tweak: Cache parsed blocks on front-end
- Tweak: Better display of admin notices in Dashboard
- Tweak: Change Container Width label to Contained Width
- Tweak: Add future framework for migrating/updating old options
- Tweak: Don’t allow single button to be saved as reusable
- Tweak: Don’t allow element tagName to be filtered
- Tweak: Allow all standard richText formats in Headline block
- Tweak: Better iconSize responsive placeholders
- Tweak: Allow decimal values in gradient start/stop
- Tweak: Move block name to the end of editor.desktopCSS filter args
- Tweak: Add buttonColorsHover to editor.controls filter
- Tweak: Change editor.insideContainerWrapper filter to frontend.insideContainer
- Tweak: Pass attributes to frontend.insideContainer instead of props
- Fix: gridId value in nested grids
- Fix: Use inline-block for inline headlines with no icon
- Fix: Missing text domains
- Fix: Display Headline highlight option in Headline block only
- Fix: Headline icon center alignment in IE
- Fix: Headline highlight background color in IE
- Fix: Mobile selector for width in min-height container
- Fix: Add box-sizing to min-height container on tablet/mobile
- Fix: Headline text alignment when using an icon
- Fix: Allow 0 as iconSize value
1.0.2
- Tweak: Minify/compress all dist files
1.0.1
- Fix: Add wp_set_script_translations() to translate block editor
- Tweak: Add spacing to update nag in Settings area
1.0
- Versão inicial