From f5ea7fa3240ab079816d639fa2e9f335aa64a05d Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Fri, 23 Jul 2021 18:44:40 +0200 Subject: [PATCH] Disable support for widgets block editor, regen lang --- functions.php | 3 +++ languages/clearwork.pot | 42 ++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/functions.php b/functions.php index 50e2e9b..dc0694d 100644 --- a/functions.php +++ b/functions.php @@ -69,6 +69,9 @@ if ( ! function_exists( 'clearwork_setup' ) ) { // Enable support for selective refresh of widgets in customizer add_theme_support( 'customize-selective-refresh-widgets' ); + // Disable support for widgets block editor + remove_theme_support( 'widgets-block-editor' ); + // Thumbnail sizes add_image_size( 'clearwork-small', 200, 200, true ); add_image_size( 'clearwork-medium', 520, 293, true ); diff --git a/languages/clearwork.pot b/languages/clearwork.pot index 9012deb..3b24f88 100644 --- a/languages/clearwork.pot +++ b/languages/clearwork.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Clearwork\n" -"POT-Creation-Date: 2021-05-25 13:41+0200\n" +"POT-Creation-Date: 2021-07-23 18:33+0200\n" "PO-Revision-Date: 2018-09-21 21:27+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -59,83 +59,83 @@ msgstr "" msgid "Theme by" msgstr "" -#: functions.php:84 +#: functions.php:87 msgid "Mobile" msgstr "" -#: functions.php:85 functions/theme-options.php:52 +#: functions.php:88 functions/theme-options.php:52 msgid "Header" msgstr "" -#: functions.php:179 +#: functions.php:182 msgid "Primary" msgstr "" -#: functions.php:179 +#: functions.php:182 msgid "Normal full width sidebar" msgstr "" -#: functions.php:181 functions/theme-options.php:273 +#: functions.php:184 functions/theme-options.php:273 msgid "Footer Ads" msgstr "" -#: functions.php:181 +#: functions.php:184 msgid "Footer ads area" msgstr "" -#: functions.php:183 +#: functions.php:186 msgid "Frontpage Top 1" msgstr "" -#: functions.php:183 functions.php:184 functions.php:185 functions.php:186 +#: functions.php:186 functions.php:187 functions.php:188 functions.php:189 msgid "Frontpage area" msgstr "" -#: functions.php:184 +#: functions.php:187 msgid "Frontpage Top 2" msgstr "" -#: functions.php:185 +#: functions.php:188 msgid "Frontpage Bottom 1" msgstr "" -#: functions.php:186 +#: functions.php:189 msgid "Frontpage Bottom 2" msgstr "" -#: functions.php:188 +#: functions.php:191 msgid "Footer 1" msgstr "" -#: functions.php:188 functions.php:189 functions.php:190 functions.php:191 +#: functions.php:191 functions.php:192 functions.php:193 functions.php:194 msgid "Widgetized footer" msgstr "" -#: functions.php:189 +#: functions.php:192 msgid "Footer 2" msgstr "" -#: functions.php:190 +#: functions.php:193 msgid "Footer 3" msgstr "" -#: functions.php:191 +#: functions.php:194 msgid "Footer 4" msgstr "" -#: functions.php:683 +#: functions.php:686 msgid "Alx Extensions" msgstr "" -#: functions.php:687 +#: functions.php:690 msgid "Meta Box" msgstr "" -#: functions.php:691 +#: functions.php:694 msgid "Regenerate Thumbnails" msgstr "" -#: functions.php:695 +#: functions.php:698 msgid "WP-PageNavi" msgstr ""