From d9c137ce1f0724443503ffb35c2ad03cdf50d5e2 Mon Sep 17 00:00:00 2001 From: Lem Smyth Date: Fri, 25 Feb 2022 12:26:56 -0600 Subject: [PATCH] note WP block editor not working with plugin --- README.md | 1 + classes/LBRY_Network.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d0bec85..ce15b2c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ First, install the LBRYPress plugin on WordPress. 1) Download the [zip file for this repository](https://github.com/lbryio/lbrypress/archive/master.zip). 1) In WordPress, upload and install the plugin zip file from the WordPress admin dashboard. After activating, errors will show until the next steps are completed. +1) LBRYPress is not currently working correctly with the WordPress block editor, try either [Classic Editor](https://wordpress.org/plugins/classic-editor/) or [Disable Gutenberg](https://wordpress.org/plugins/disable-gutenberg/) plugins to use the classic WP Editor screen. LBRYPress may work in the future with Gutenberg block editor. ## Downloading and installing LBRY This will step you through downloading the LBRY SDK, installing it, and running as a system service. diff --git a/classes/LBRY_Network.php b/classes/LBRY_Network.php index 816e9a0..0895465 100644 --- a/classes/LBRY_Network.php +++ b/classes/LBRY_Network.php @@ -56,7 +56,10 @@ class LBRY_Network array($this, 'meta_box_html'), // Callback function 'post', // Screen Options (or post type) 'side', // Context - 'high' // Priority + 'high', // Priority + array( + '__block_editor_compatible_meta_box' => false, + ) ); }