Title: Options for Block Themes
Author: Oliver Campion
Published: <strong>July 26, 2021</strong>
Last modified: August 27, 2026

---

Search plugins

![](https://ps.w.org/template-editor/assets/banner-772x250.jpg?rev=3668594)

![](https://ps.w.org/template-editor/assets/icon-256x256.jpg?rev=3668594)

# Options for Block Themes

 By [Oliver Campion](https://profiles.wordpress.org/domainsupport/)

[Download](https://downloads.wordpress.org/plugin/template-editor.1.4.9.zip)

 * [Details](https://frp.wordpress.org/plugins/template-editor/#description)
 * [Reviews](https://frp.wordpress.org/plugins/template-editor/#reviews)
 *  [Installation](https://frp.wordpress.org/plugins/template-editor/#installation)
 * [Development](https://frp.wordpress.org/plugins/template-editor/#developers)

 [Support](https://wordpress.org/support/plugin/template-editor/)

## Description

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:

 * Make a block-theme header sticky and optionally shrink its Site Logo while scrolling.
 * Add expandable submenus and an on-scroll overlay option to the Navigation block.
 * Turn Group and Cover blocks into full-block links.
 * Give Details blocks accordion-style behaviour by closing other open Details blocks.
 * Populate a Gallery block from an ACF or SCF Gallery field.
 * Show or hide blocks conditionally by date and time with Block Logic.

#### 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:

 * View customized templates associated with the active or an inactive theme.
 * Change a template’s title, description or slug.
 * Save a template as a copy associated with the active theme.
 * Delete a database customization without deleting the original template supplied
   by the theme.

Custom slugs can follow the [WordPress Template Hierarchy](https://developer.wordpress.org/themes/basics/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.

## Installation

 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.

## FAQ

### 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.

## Reviews

![](https://secure.gravatar.com/avatar/ae1951d19585c4a60f5d951c9718e06241b3d02c2138efde0c89e76cefa28f85?
s=60&d=retro&r=g)

### 󠀁[Solves navigation block functionality on mobile devices](https://wordpress.org/support/topic/solves-navigation-block-functionality-on-mobile-devices/)󠁿

 [Decimus](https://profiles.wordpress.org/decimus/) December 15, 2024 1 reply

Options for Block Themes by Oliver Campion of Web:D has built in an option to: enable
expandable submenus to the Navigation Block modal – which is tech speak for collapsible
submenus on mobile devices. This plugin works and solves our top burning issue with
WP 6.7 (and prior to that WP 6.6). Thank you Oliver Campion of Web:D. Our thanks
to Hans-Gerd Gerhards who highlighted the new functionality of the Options for Block
Themes plugin in a German language post on his website: Aufklappbare Untermenüs 
bei Block Themes (Expandable submenus in block themes).

![](https://secure.gravatar.com/avatar/ab62eb42e842b6adca897024806bbf5eaebe9896ac46f2d6823973e6d9d27d42?
s=60&d=retro&r=g)

### 󠀁[Great Plugin with very interesting options (f. e. shrinked header)](https://wordpress.org/support/topic/great-plugin-with-very-interesting-options-f-e-shrinked-header/)󠁿

 [Hans-Gerd Gerhards](https://profiles.wordpress.org/hage/) April 10, 2024 1 reply

The great plugin “Options for Block Themes” offers some interesting things that 
are very interesting for users who create their websites with a block theme such
as Twenty Twenty-Four. For me, an important aspect was the shrinked header. But 
the other options are also very helpful because they simplify the management of 
block themes.

![](https://secure.gravatar.com/avatar/623b1f97e239861c1338c704fe44a10ad30f88cd9aba5e7a52452f74a1b15daf?
s=60&d=retro&r=g)

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-738/)󠁿

 [Bub](https://profiles.wordpress.org/jdenning47/) February 23, 2022 1 reply

Not for rookies as it takes a little bit of fiddling but this fiddling is necessary
and not a lot. If you have any experience at all and want to create new or modified
template copied this plugin is the bomb.

![](https://secure.gravatar.com/avatar/2a15e2c997c34c8bc38526930f1d2e0f1b257afbe3bb5ce49b1056913a1369e5?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin for Twenty Twenty Two](https://wordpress.org/support/topic/excellent-plugin-for-twenty-twenty-two/)󠁿

 [andynick](https://profiles.wordpress.org/andynick/) February 19, 2022 1 reply

This plugin has been a huge help to me because we run multiple websites, and even
with the Site Editor making all of the sites identical would be tiresome. In our
case, it was simply a matter of installing Template Manager on both sites, then 
one click to select a template on the donor site, and a second click to download
it. Then (in the recipient site) after a click or two to delete modifications to
the old templates, a final click to upload the new one. All that then remains is
to edit a page and select the new template in the setting dropdown. It saves hours
and hours of work!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/template-editor/reviews/)

## Contributors & Developers

“Options for Block Themes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Oliver Campion ](https://profiles.wordpress.org/domainsupport/)

“Options for Block Themes” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/template-editor/contributors)
for their contributions.

[Translate “Options for Block Themes” into your language.](https://translate.wordpress.org/projects/wp-plugins/template-editor)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/template-editor/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/template-editor/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/template-editor/)
by [RSS](https://plugins.trac.wordpress.org/log/template-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.9

 * Repositioned the admin screen around block-theme options and design transfer 
   workflows
 * Improved template and template-part query performance
 * Updated plugin initialization, version handling and shared helper functionality
 * Improved block context detection and resolved issues highlighted by Plugin Check
 * Moved admin JavaScript from the main plugin file into a dedicated file and replaced
   its jQuery interactions
 * Reworked the plugin description and feature documentation
 * Added responsive spacing guidance for templates used with the Sticky Header option

#### 1.4.8

 * Fixed issues highlighted by “Plugin Check” code review and preparing for WordPress
   v7.0

#### 1.4.7

 * Fixed a bug with legacy Google Fonts for classic themes

#### 1.4.6

 * Fixed a bug with ACF / SCF Gallery Block option

#### 1.4.5

 * Added an option to populate the Gallery Block with an ACF / SCF Gallery field

#### 1.4.4

 * Fixed a translation bug in JavaScript

#### 1.4.3

 * Fixed a translation bug

#### 1.4.2

 * General housekeeping preparing for “Plugin Check” code review

#### 1.4.1

 * Fixed a margin / block spacing bug with “Full Block Link” option

#### 1.4.0

 * I18N issues resolved thanks to Alex Lion @alexclassroom

#### 1.3.9

 * Added a new optional feature to apply conditional logic to show or hide blocks

#### 1.3.8

 * Added an option to show the Overlay Menu in the Navigation Block when scrolling
   down

#### 1.3.7

 * Fixed some minor bugs and added “scrollIntoView()” when opening Details block

#### 1.3.6

 * Added option to close other Details Blocks when selected one is opened

#### 1.3.5

 * Added full block link option for Group and Cover Blocks

#### 1.3.4

 * Added an option for expandable submenus to the Navigation Block modal

#### 1.3.3

 * Fixed a minor JavaScript bug

#### 1.3.2

 * Updated “Shrink header logo” option to add “shrink-logo” class to the header 
   on scroll even if a Site Logo block isn’t present

#### 1.3.0

 * Added support for persistent object cache when uploading global styles to the
   active theme

#### 1.2.9

 * Fixed a bug when saving settings

#### 1.2.8

 * Re-enabled Google Font functionality for classic themes, fixed bug with mulitple
   logos shrinking

#### 1.2.7

 * Bug fixed when using a child them with “Remove Theme Fonts” option

#### 1.2.6

 * Preparing for the release of WordPress v6.5

#### 1.2.5

 * Added the ability to download, delete and upload global styles

#### 1.2.4

 * Updated the JavaScript for sticky headers when the admin bar is showing

#### 1.2.3

 * If Google font download fails then notice is shown and plugin falls back non-
   local fonts

#### 1.2.2

 * Fixed bug with Theme Font Removal
 * Fixed bug with Google Font Weight Order
 * Fixed bug with hosted Google Fonts not loading in the editor
 * Added weights to Google Font dropdowns

#### 1.2.1

 * Fixed a bug with sticky header when the admin bar is showing
 * Added option to choose Google “font-display” property
 * Added a fix for the Shortcode Block bug introduced in WordPress v6.2.2

#### 1.2.0

 * Fixed a bug when removing theme fonts, added an option to hide links to the Customizer

#### 1.1.9

 * Bugs fixed and work undertaken to prepare for Fonts API

#### 1.1.8

 * Various bugs and translation issues fixed

#### 1.1.7

 * Paved the way for more on-scroll header animations
 * Added an option for shrunken logo width

#### 1.1.6

 * General housekeeping

#### 1.1.5

 * Fixed a bug that prevented multiple font styles for the same Google font

#### 1.1.2

 * Added a theme option to attempt to host Google Fonts locally

#### 1.1.1

 * Added a theme option to animate (shrink) the header Site Logo block on scroll

#### 1.1.0

 * Added ability to disable and prevent FSE fonts from being loaded
 * Bug fix

#### 1.0.9

 * Added ability to upload, download or delete template parts
 * Added Google Fonts to editor

#### 1.0.8

 * Bug fix

#### 1.0.7

 * Tweaked sticky header CSS
 * Bug fix

#### 1.0.6

 * Added option to set the header as a sticky header

#### 1.0.5

 * Show the “Customize” admin menu item in “Dashboard – Appearance” and in the Admin
   Bar

#### 1.0.4

 * Added the ability to select, download templates from inactive themes and to delete
   templates

#### 1.0.3

 * Bug fixes

#### 1.0.2

 * Added the ability to download and upload templates

#### 1.0.1

 * Added the ability to edit or duplicate customized templates

#### 1.0.0

 * First version of the plugin

## Meta

 *  Version **1.4.9**
 *  Last updated **1 day ago**
 *  Active installations **300+**
 *  WordPress version ** 6.1 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/template-editor/), [English (US)](https://wordpress.org/plugins/template-editor/),
   [French (France)](https://fr.wordpress.org/plugins/template-editor/), and [German](https://de.wordpress.org/plugins/template-editor/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/template-editor)
 * Tags
 * [block themes](https://frp.wordpress.org/plugins/tags/block-themes/)[global styles](https://frp.wordpress.org/plugins/tags/global-styles/)
 *  [Advanced View](https://frp.wordpress.org/plugins/template-editor/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/template-editor/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/template-editor/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/template-editor/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/template-editor/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/template-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/template-editor/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/template-editor/reviews/)

## Contributors

 *   [ Oliver Campion ](https://profiles.wordpress.org/domainsupport/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/template-editor/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://webd.uk/product/support-us/)