| 开发者 | gregbialowas |
|---|---|
| 更新时间 | 2026年11月9日 15:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
html-blocks_page-figure block with the caption below the image; text wraps around left/right imagesfalse from the gb_html_blocks_enqueue_styles filter. You can also override the HTML itself with a template in your theme (see "Theme override").
add_filter( 'gb_html_blocks_auto_output', '__return_false' ); and print them in your theme template:<?php if ( function_exists( 'gb_html_blocks_render' ) ) { gb_html_blocks_render(); } ?>
or use the shortcode [gb_html_blocks] (optional: post_id="123"; a shortcode in the content also stops the automatic output for that page).No. The Flexible Content field is available only in ACF PRO. The plugin checks for the field type itself, so it shows an admin notice when the field is missing.
In the plugin, in acf-json/. If you edit the field group in the ACF admin, ACF saves the change to your theme's acf-json folder (if it exists), not to the plugin.
The group key is group_64b23e42d861a. Remove the copy from the theme's acf-json folder, otherwise two files describe the same group.
<div class="html-blocks_page-figure html-blocks_page-figure--right"><img><div class="html-blocks_page-figure__caption">…</div></div> (only inside this plugin's sections; filter gb_html_blocks_custom_captions); left/right images are floated and the text wraps around them (mobile: full width)media.php): an image or a looped, muted video (the image is its poster), with the option "Is full width?" - the inner wrapper is then 100% of the parent width (edge-to-edge); the section gets the classes media and is-full-widthremove_top_margin to the section, padding-top: 0)assets/css/admin.css), loaded on the post/page edit screensadd_filter( 'gb_html_blocks_auto_output', '__return_false' ); when the theme calls gb_html_blocks_render() itselfhtml-blocks_page-section (previously gb-section); the stylesheet and the template were updated accordinglygb_html_blocks_inner_classes