Linux 软件免费装
Banner图

Options for Block Themes

开发者 domainsupport
更新时间 2026年9月27日 23:57
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

global styles block themes template import block options template export

下载

1.4.3 1.4.9 1.2.6 1.4.5 1.0.3 1.2.4 1.2.9 1.1.1 1.1.7 1.1.8 1.0.1 1.0.8 1.1.0 1.1.4 1.3.2 1.5.0 1.0.2 1.3.3 1.1.2 1.1.9 1.2.1 1.2.7 1.3.1 1.1.3 1.1.6 1.2.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.2.0 1.2.2 1.3.9 1.4.0 1.4.1 1.0.0 1.0.5 1.2.8 1.4.2 1.4.4 1.0.4 1.0.6 1.0.7 1.0.9 1.1.5 1.2.5 1.3.0 1.4.6 1.4.7 1.4.8

详情介绍:

Options for Block Themes adds practical settings to core blocks and provides focused tools for transferring Global Styles, templates and template parts between themes or WordPress sites. Theme and block options The Theme Options screen brings the plugin's enhancements together in one place: Transfer Global Styles Download Global Styles as a JSON file independently of templates and template parts. Use the file as a backup, migrate styles to another site or theme, or edit the JSON before uploading it to the active theme. This focused styles-only workflow is useful when you do not want to export and move an entire block theme. Transfer templates Download customized templates individually as JSON files and upload them to the active theme on another site. You can also: Custom slugs can follow the WordPress Template Hierarchy for custom post types, taxonomies, specific posts, pages and other contexts. Transfer template parts Download customized headers, footers and other template parts individually as JSON files, then upload them to the active theme on another site. Customized template parts associated with inactive themes can also be viewed, downloaded or deleted. Classic-theme compatibility The plugin retains its original options for enabling the block Template Editor on a classic theme and restoring legacy Customizer links where applicable.

安装:

  1. Install Options for Block Themes automatically or upload the plugin ZIP file.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Appearance > Options for Block Themes to configure theme options or transfer design data.

升级注意事项:

1.5.0 Renames the conditional display options to Block Conditions, preserves existing post content and prevents hidden blocks from rendering unnecessarily

常见问题:

How do I stop a sticky header covering the beginning of a template?

The Sticky Header option deliberately fixes the header over the page. This supports transparent headers, headers that only occupy part of the viewport width, and headers that collapse or shrink while scrolling. The plugin therefore does not automatically move every template's content down. For each template whose content should begin below the header:

  1. Open the template in the Site Editor.
  2. Select the first suitable Group or other container immediately after the Header template part.
  3. Add top padding equal to the initial, fully expanded header height.
  4. In WordPress 7.1 or later, use the block's responsive styles to set appropriate top padding for desktop, tablet and mobile layouts. Check each layout visually because logos, navigation and other header content may resize or wrap.
Use the initial expanded height when Animate Logo is enabled, not the smaller scrolled height. Do not include the WordPress admin bar in this padding; the plugin positions the sticky header below the admin bar separately. Padding is generally preferable to margin when the first container has its own background, because the background then extends through the reserved space. Leave the padding unset on templates designed to begin behind the header, such as a Cover or hero section. On older WordPress versions without responsive block controls, use theme spacing presets where they provide a suitable result, or add narrowly scoped CSS media queries for the affected templates. Avoid a single site-wide value unless the header and required spacing are genuinely the same at every screen size.

更新日志:

1.5.0 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.0 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0