GenerateBlocks 1.8.0
We made a lot of behind-the-scenes changes in this release that you won’t see/notice. Here are some of those changes in case you’re interested.
GeneratePress AI is here - Read the release post
We made a lot of behind-the-scenes changes in this release that you won’t see/notice. Here are some of those changes in case you’re interested.
The first step of adding GenerateBlocks is to make sure the plugin is installed and activated.
Hooks for how GenerateBlocks finds the blocks on a page, builds their CSS and prints it. On the front end, GenerateBlocks looks through the page content, collects each block’s CSS, and prints it inline in the document head. For the design tokens and global CSS that GenerateBlocks Pro prints, see Global styles and design tokens. … Read more
Hooks for the GenerateBlocks admin screens, the GenerateBlocks settings, the plugin’s feature flags and the scans that find where a style, token, condition or form is used. Jump to Dashboard screens generateblocks_dashboard_screens GB Free — since GenerateBlocks 1.2. GenerateBlocks Pro uses it for its own pages. The generateblocks_dashboard_screens filter lists the admin screens that get … Read more
Dynamic tags can read post, user, term and option data, so GenerateBlocks controls who can add tags and which data a tag can reveal. These hooks change those rules and how meta values are read. Several of them are security settings. Loosening them can expose private data to visitors or editors, so only change them … Read more
Hooks for how GenerateBlocks blocks behave in the block editor: the data they save, the wrapper and inserter controls they show, and the lists of fonts, shapes and templates they offer. For the controls in the inspector, see Editor: inspector controls and panels. Jump to Font, shape and template lists generateblocks_typography_font_family_list GB Free — since … Read more
Hooks for Global Styles and Design Tokens, and for the style builder that edits block styles. Global Styles are reusable classes with their own CSS, and Design Tokens are the CSS variables of a design system. Both are GenerateBlocks Pro features. The style builder hooks near the end are in the free plugin and apply … Read more
Hooks for the pattern library, the panel in the block editor where you browse and insert patterns from GenerateBlocks libraries, your own libraries and local patterns. GenerateBlocks Pro adds local pattern collections, global styles and forms to the library. Jump to Libraries and access generateblocks_pattern_libraries GB Free — GenerateBlocks Pro uses it to add its … Read more
Hooks for the Query block, which builds the list of items, and the Looper block, which repeats its Loop Item block for each of them. Use the first group to change the standard post query, and the second to add a query type of your own, such as items from an API or a custom … Read more
GenerateBlocks dynamic tags insert dynamic content into blocks using a {{tag_name}} syntax. The registration system lets you create your own tags, which people insert through the editor UI. To change how existing tags output data, see Dynamic tags: output and rendering. For who can use tags and which data they can read, see Dynamic tags: … Read more