Options for Block Themes

Description

Options for Block Themes

Avec WordPress v5.9, le premier thème basé sur des blocs avec éditeur de site a été lancé… Twenty Twenty-Two.

Cette extension étend la fonctionnalité de gestion (exportation/importation/suppression) des modèles et des parties de modèles qui ne font pas partie du thème sans avoir besoin d’un thème enfant.

Le fait d’avoir un thème basé sur des blocs retire également les liens vers l’ancien outil de personnalisation. Cette extension vous permet de changer cela !

Cette extension activera également l’éditeur de modèles dans Gutenberg pour l‘éditeur de site pour n’importe quel thème !

Options supplémentaires du bloc natif

  • Option permettant d’activer les sous-menus extensibles dans la fenêtre modale du bloc de navigation.
  • Option permettant d’ajouter un lien vers le bloc complet aux blocs de groupe et de couverture.
  • Option pour fermer d’autres blocs de détails lorsque le bloc sélectionné est ouvert, ce qui confère au bloc de détails une fonction « accordéon » de base.
  • Option to populate the Gallery Block with an ACF / SCF Gallery field

Logique de bloc conditionnelle

  • Activez la logique des blocs et vous pourrez afficher ou masquer les blocs en fonction de la date et de l’heure. Nous ajouterons d’autres conditions à l’avenir.

Rétablir les liens de l’outil de personnalisation

L’activation de l’extension réinjecte les liens « Personnaliser » dans les emplacements « Tableau de bord > Apparence » et « Barre d’administration » pour WordPress antérieur à la version 6.0. Vous pouvez désactiver cette option si vous le souhaitez.

Modifier des modèles existants

Une fois cette extension installée, rendez-vous dans « Tableau de bord > Apparence > Gérer les modèles » où vous pourrez modifier le titre, la description et le nom des modèles personnalisés du thème actif ou de tout autre thème.

Dupliquer des modèles

Enregistrez les modèles en tant que copie dans le thème actif.

Cela vous permet d’utiliser la hiérarchie des modèles WordPress pour nommer vos modèles afin qu’ils puissent être utilisés pour des types d’articles personnalisés, des taxonomies personnalisées, des articles ou des pages spécifiques ou tout ce que vous voulez !

Supprimer des modèles

Supprimez facilement les modèles du thème actif ou de tout autre thème. Cela ne supprime pas le modèle original du thème, mais seulement les personnalisations que vous avez effectuées.

Télécharger des modèles

Téléchargez vos modèles sous forme de fichiers .json pour les sauvegarder ou les migrer vers un autre site WordPress.

Téléverser des modèles

Téléversez les fichiers .json des modèles dans le thème actif. Cela vous permet de restaurer un modèle que vous avez sauvegardé ou de migrer un modèle vers un autre site WordPress.

Télécharger les styles globaux

Téléchargez vos styles globaux sous forme de fichiers .json pour les sauvegarder ou les migrer vers un autre site ou thème WordPress.

Téléversez les styles globaux

Téléversez les fichiers .json des styles globaux dans le thème actif. Cela vous permet de restaurer les styles globaux que vous avez sauvegardés ou de migrer les styles globaux vers un autre site WordPress.

Entête épinglée

Activez facilement un entête/menu épinglé dans les thèmes de l’éditeur de site comme Twenty Twenty-Two.

Animation du logo du site

Activez une option permettant de réduire le logo de l’entête du site lorsque vous faites défiler la page vers le bas.

Installation

Utilisez facilement cette extension pour activer l’éditeur de modèles sur votre site…

1) Installez « Options for Block Themes » automatiquement ou en téléchargeant le fichier .zip.
2) Activez l’extension dans le menu « Extensions » de WordPress.
3) Commencez à utiliser « Options for Block Themes ».

Avis

15 décembre 2024 1 réponse
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).
10 avril 2024 1 réponse
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.
23 février 2022 1 réponse
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.
19 février 2022 1 réponse
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!
Lire les 3 avis

Contributeurs/contributrices & développeurs/développeuses

« Options for Block Themes » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Options for Block Themes” a été traduit dans 3 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Options for Block Themes » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

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