Version 2.4. Disables widgets-block-editor.

This commit is contained in:
mateuswetah 2021-07-06 17:10:32 -03:00
parent 366629ca1e
commit 737e34d5d6
3 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes
Requires at least: WordPress 4.8
Tested up to: WordPress 5.7.2
Version: 2.3.2
Version: 2.4
Requires PHP: 5.6
Stable tag: trunk
License: GNU General Public License v3

View File

@ -4,7 +4,7 @@ Author: Tainacan
Author URI: https://tainacan.org
Theme URI: https://tainacan.org/blog/category/tema/
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
Version: 2.3.2
Version: 2.4
Tested up to: 5.7.2
Requires PHP: 5.6
License: GNU General Public License v3

View File

@ -1,7 +1,7 @@
<?php
/** Theme version */
const TAINACAN_INTERFACE_VERSION = '2.3.2';
const TAINACAN_INTERFACE_VERSION = '2.4';
/**
* Setup Theme
@ -25,6 +25,11 @@ if ( ! function_exists( 'tainacan_setup' ) ) {
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'responsive-embeds' );
/**
* Removes support for Gutenberg widgets editor, by now...
*/
remove_theme_support( 'widgets-block-editor' );
/**
* Custom header to change the banner image
*/