Description
After the plugin has been installed features of the Block Editor can be turned off and on using the settings page
or the two hooks provided which can be called with do_action.
The plugin also allows customisation of the look and feel of the Block Editor through the selection of themes. The only theme bundled with the
plugin is the Default theme, which has the same look and feel as the base Block Editor.
Other themes can be found by seraching the wordPress.org plugin repository.
The two hooks are:-
âfofo_bec_feature_onâ to turn features on and
âfofo_bec_feature_offâ to turn features off.
Currently supported features are :-
- The âCategory Panelâ on the settings sidebar [use feature name âcategory_panelâ]
- The âTag Panelâ on the settings sidebar [use feature name âtag_panelâ]
- The âFeatured Image Panelâ on the settings sidebar [use feature name âfeatured_image_panelâ]
- The âExcerpt Panelâ on the settings sidebar [use feature name âexcerpt_panelâ]
- The âDiscussion Panelâ on the settings sidebar [use feature name âdiscussion_panelâ]
- The âPermalink Panelâ on the settings sidebar [use feature name âpermalink_panelâ]
- The âTop Toolbarâ option can be toggled on/off [use feature name âtop_toolbarâ]
- The âSpotlight Modeâ can be toggled on/off [use feature name âspotlight_modeâ]
- The âFullscreen modeâ can be toggled on/off [use feature name âfullscreenâ]
- The âShow more tools and optionsâ button can be turned off [use feature name âedit_post_more_menuâ]
Examples
do_action( 'fofo_bec_feature_off', 'category_panel' ); //this turns the category panel in the sidebar off.
do_action( 'fofo_bec_feature_on', 'category_panel' ); //this turns the category panel in the sidebar on, if it has been turned off.
Installation
This plugin can be installed directly from your site.
- Log in and navigate to Plugins â Add New.
- Type âFoxdell Folio Block Editor Customiserâ into the Search and hit Enter.
- Locate the Foxdell Folio Block Editor Customiser plugin in the list of search results and click Install Now.
- Once installed, click the Activate link.
It can also be installed manually.
- Download the Foxdell Folio Block Editor Customiser plugin from WordPress.org
- Unzip the package and move to your plugins directory.
- Log into WordPress and navigate to the Plugins screen.
- Locate Foxdell Folio Block Editor Customiser in the list and click the Activate link.
FAQ
Q. What features can I disable?
A. At the moment the only features that can be disabled are those listed at the top of this page.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Foxdell Folio Block Editor Customiser” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Foxdell Folio Block Editor Customiser” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.6.0
- ** BREAKING CHANGE ** Addons are no longer added in their own folder but now need to be written and installed as a plugin in their own right.
- Removed function âfofo_bec_toggle_addonâ in file fofo-block-editor-customiser.php.
- Added an addon instance to the âFoFo_Bec_Addon_Registryâ class in the file class-fofo-bec-addon-registry.php.
- Added the âensure_registryâ function to class âFoFo_Bec_Addon_Registryâ.
- Modified the âaddâ function in class âFoFo_Bec_Addon_Registryâ to use the member level registry variable.
- Modified the âget_addonâ in class âFoFo_Bec_Addon_Registryâ to use the member level registry variable.
- Removed the âupdate_addonâ function in class âFoFo_Bec_Addon_Registryâ.
- Removed the âsaveâ function in class âFoFo_Bec_Addon_Registryâ.
- Added the âcommit_addon_changesâ function in class âFoFo_Bec_Addon_Registryâ.
- Removed the âget_registryâ function in class âFoFo_Bec_Addon_Registryâ.
- Modified the âscan_for_addonsâ function in class âFoFo_Bec_Extension_Managerâ in file class-fofo-bec-extension-manager.php to pick up registered addons as plugins.
- Removed the âget_file_dataâ function in class âFoFo_Bec_Extension_Managerâ.
- Removed the âheader_validatesâ function in class âFoFo_Bec_Extension_Managerâ.
- Removed the âtoggle_addonâ function in class âFoFo_Bec_Extension_Managerâ.
- Modified the âbuild_addon_pageâ in class âFoFo_Bec_Page_Composerâ in file class-fofo-bec-page-composer.php to remove activation links.
- Removed definition for FOFO_BEC_ADDON_AJAX_ARGS_KEY in class âFoFo_Bec_Sharedâ in file class-fofo-bec-shared.php.
- Added defintion for FOFO_BEC_REGISTER_ADDON hook in class âFoFo_Bec_Sharedâ.
- Modified function âattachâ in class âFoFo_Becâ in file class-fofo-bec.php to scan for addons.
- Removed loading of addon script in class âFoFo_Becâ.
- Correction of typo in readme.txt.
1.5.1
- Fix error with displaying addon page.
1.5.0
- ** BREAKING CHANGE ** Themes are no longer added in their own folder below this plugin but now need to be added as a plugin in their own right.
- Removed the VS Light theme folder and contents.
- Changed definition for addon to extenstion to better reflect conceptual level model. The definitions changed are :- FOFO_BEC_ADDON_VERSION_KEY,
FOFO_BEC_ADDON_NAME_KEY and FOFO_BEC_ADDON_DESCRIPTION_KEY. - Modified addon definitions in class âFoFo_Bec_Sharedâ in file class-fofo-bec-shared.php (as above).
- Updated definitions in class âFoFo_Bec_Addon_Registryâ in file class-fofo-bec-addon-registry.php.
- Updated definitions in class âFoFo_Bec_Addonâ in file class-fofo-bec-addon.php.
- Modified function âget_current_themeâ in class âFoFo_Bec_Dalâ in file class-fofo-bec-dal so that the default theme is no longer defined.
- Modified function âget_registered_themesâ in class âFoFo_Bec_Dalâ to return null vs returning an empty array.
- Updated definitions in class âFoFo_Bec_Extension_Managerâ in file class-fofof-bec-extension-manager.php.
- Changed constructor of class âFoFo_Bec_Extension_Managerâ to inject a theme registry instance.
- Added the âscan_for_themesâ function to the class âFoFo_Bec_Extension_Managerâ.
- Modified the âget_theme_selectorâ function in class âFoFo_Bec_Page_Composerâ in file class-fofo-bec-page-composer.php to return current theme using theme registry.
- Added âensure_theme_versionâ function to class âFoFo_Bec_Theme_Registryâ in file class-fofo-bec-theme-registry.php to ensure theme object is latest version.
- Modified the âregister_themeâ function in class âFoFo_Bec_Theme_Registryâ to call ensure_theme_version.
- Removed the âscan_for_themesâ function from class âFoFo_Bec_Theme_Registryâ.
- Removed the âincludes_existing_register_functionâ function from class âFoFo_Bec_Theme_Registryâ.
- Removed the âupdate_registered_themesâ function from class âFoFo_Bec_Theme_Registryâ.
- Added the âcommit_registered_theme_changesâ function to class âFoFo_Bec_Theme_Registryâ.
- Modified the âtheme_existsâ function in class âFoFo_Bec_Theme_Registryâ to check if the theme registry is null.
- Modified the âget_current_themeâ function in class âFoFo_Bec_Theme_Registryâ to update the current theme to the correct version and set the default theme as current as required.
- Modified the âset_current_themeâ function in class âFoFo_Bec_Theme_Registryâ to update the current theme to the correct version.
- Added the âlist_themesâ function to class âFoFo_Bec_Theme_Registryâ.
- Added the âclear_themesâ function to class âFoFo_Bec_Theme_Registryâ.
- Added the âensure_theme_versionâ function to class âFoFo_Bec_Theme_Registryâ.
- Added the âensure_have_themeâ function to class âFoFo_Bec_Theme_Registryâ to return the default theme if the theme being checked is empty.
- Modified function âto_uiâ in class âFoFo_Bec_Theme_Transformâ in file class-fofo-bec-theme-transform.php to use callable defined in theme for settings page render.
- Modified the version number in class âFoFo_Bec_Themeâ in file class-fofo-bec-theme.php.
- Added the new property âmy_locationâ to class âFoFo_Bec_Themeâ.
- Fixed typo in function âtheme_v110_v120â in class âFoFo_Bec_Upgraderâ in file class-fofo-bec-upgrader.php.
- Added function âtheme_to_v130â in class âFoFo_Bec_Upgraderâ.
- Modified the âattachâ function in class âFoFo_Becâ in file class-fofo-bec.php to use the extension manager.
- Modified the âload_scriptsâ function in class âFoFo_Becâ to use the full css url supplied by a theme vs the location in the theme sub folder.
- Added the default theme file fofo-bec-default-theme.php.
1.4.0
- Added the âDisable Core Blocksâ addon
- Added the FoFo_Bec_Addon_Registry in class-fofo-bec-addon-registry.php file.
- Added the FoFo_Bec_Addon in class-fofo-bec-addon.php.
- Modified the JS template in the class-fofo-bec-cuustomiser.php file to be more âpluggableâ.
- Added a âcompose_jsâ function in the class-fofo-bec-cuustomiser.php file to enabled hooking into the JS template.
- Modified the âget_javascriptâ function in the class-fofo-bec-cuustomiser.php file to call the âcompose_jsâ function.
- Added the âget_addonsâ and âset_addonsâ to the FoFo_Bec_Dal class in the class-fofo-bec-dal.php file.
- Added the âFoFo_Bec_Extension_Managerâ in the class-fofo-bec-extension-manager.php file to manage extension activation & deactivation.
- Modified the contructor in class âFoFo_Bec_Page_Composerâ in the file class-fofo-bec-composer.php to take dependencies as an array.
- Addded a dependency on the Addon registry to the âFoFo_Bec_Page_Composerâ class.
- Modified the function âbuild_pageâ in the âFoFo_Bec_Page_Composerâ class to just display the current theme settings.
- Added the âbuild_theme_pageâ function to the âFoFo_Bec_Page_Composerâ class to display the theme selector.
- Added the âbuild_addon_pageâ function to the âFoFo_Bec_Page_Composerâ class to display the list of available addons & allow addon activitation/deactivation.
- Moved the defines for âFOFO_BEC_JS_KEYâ and âFOFO_BEC_REQUEST_KEYâ to the âdefine_generalâ in the âFoFo_Bec_Sharedâ in file class-fofo-bec-shared.php.
- Added two new methods âdefines_for_themesâ and âdefines_for_addonsâ to the âFoFo_Bec_Sharedâ class.
- Added defines for addon management to the âFoFo_Bec_Sharedâ class.
- Added defines for addon hooks as part of addon integration in the âFoFo_Bec_Sharedâ class.
- Added check to see if theme already exists when registering a theme in class âFoFo_Bec_Theme_Registryâ in file class-fofo-bec-theme-registry.php.
- Added member level variable to cache theme data in âFoFo_Bec_Theme_Registryâ to prevent multiple database hits.
- Modified functon âscan_for_themesâ in âFoFo_Bec_Theme_Registryâ to call new function âupdate_registered_themesâ.
- Added function âupdate_registered_themesâ in âFoFo_Bec_Theme_Registryâ to merge changes from the theme cache and updated theme before saving.
- Modified function âtheme_existsâ in âFoFo_Bec_Theme_Registryâ to get the theme from the internal theme cache.
- Modified function âget_themeâ in âFoFo_Bec_Theme_Registryâ to use the internal theme cache.
- Modified function âset_current_themeâ in âFoFo_Bec_Theme_Registryâ to save the theme changes correctly.
- Added the function âget_theme_cacheâ to the âFoFo_Bec_Theme_Registryâ class.
- Fixed comments in file class-fofo-bec-theme.php.
- Added the addon registry to the core âFoFo_Becâ class in the file class-fofo-bec.php.
- Added creaton of an addon registry instance in function âattachâ of class âFoFo_Becâ.
- Modified the âload_scriptsâ function in class âFoFo_Becâ to load scripts for addon management.
- Modified function âadd_plugin_pageâ in class âFoFo_Becâ so that themes and addons can now be managed from their own pages.
- Modified function âshow_pageâ in class âFoFo_Becâ so that the core plugin page just shows settings for the current theme.
- Added a âshow_addon_pageâ function to class âFoFo_Becâ to display and manage available addons.
- Added a âshow_theme_pageâ function to class âFoFo_Becâ to display and manage available themes.
- Added the hook âFOFO_BEC_ADDON_APPLY_CHANGESâ in class âFoFo_Becâ to cascade changes made by an addon.
- Added a âtoggle_addonâ function to class âFoFo_Becâ to enable/disable an addon(called via ajax).
- Added a âapply_addon_updatesâ function to class âFoFo_Becâ to cascade JS changes from addons.
- Fix issue with theme not loading on âedit pageâ as well as âedit postâ.
1.3.0
- Removed the âfofobec_get_removeEditorPanelâ javascript function from the template in class-fofo-bec-customiser.php.
- Removed the âfofobec_run_dispatcherâ javascript function from the template in class-fofo-bec-customiser.php.
- Added higher order components from controlling the options in javascript function from the template in class-fofo-bec-customiser.php.
- Remove serialisation of theme in âset_current_themeâ and âget_current_themeâ in class-fofo-bec-dal.php.
- Remove âget_selected_theme_nameâ and âset_selected_theme_nameâ from class-fofo-bec-dal.php.
- Added html generator functions for new options in class-fofo-bec-page-builder.php.
- Renamed âget_document_panel_htmlâ to âget_toggle_value_htmlâ in class-fofo-bec-page-builder.php.
- Modified method âget_theme_selectorâ in class-fofo-bec-page-composer.php to return all registered themes in the dropdown.
- Modified method âset_current_themeâ in class-fofo-bec-page-composer.php to use registry methods to check a theme exists and to persist the current theme.
- Added define FOFO_BEC_THEME_REPO_URL in class-fofo-bec-shared.php.
- Changed define FOFO_BEC_FEATURE_DOC_PANEL_PEMALINK to FOFO_BEC_FEATURE_DOC_PANEL_PERMALINK in class-fofo-bec-shared.php.
- Modified method âscan_for_themesâ in class-fofo-bec-theme-registry.php to check if a theme âinit.phpâ register theme callable already exists.
- Added a new function , âincludes_existing_register_functionâ to class-fofo-bec-theme-registry.php.
- Added the âget_themeâ function to class-fofo-bec-theme-registry.php.
- Added the function âget_current_themeâ to class-fofo-bec-theme-registry.php.
- Added the function âset_current_themeâ to class-fofo-bec-theme-registry.php.
- Changed the function name âset_panel_stateâ to âset_feature_stateâ in class-fofo-bec-theme-transform.php.
- Added new options âtop_toolbarâ, âspotlight_modeâ, âfullscreenâ, âedit_post_more_menuâ, âcssâ to class-fofo-bec-theme.php.
- Update âversionâ from â1.1.0â to â1.2.0â.
- Added the function âtheme_v110_v120â to class-fofo-bec-upgrader.php.
- Modified the âattachâ function in class-fofo-bec.php to use the registry functions to get the current theme.
- Modified the âattachâ function in class-fofo-bec.php to upgrade a theme from v1.1.0 to v1.2.0.
- Modified the âconvert_to_themeâ function to use the registry functions to set the current theme in class-fofo-bec.php.
- Added âjqueryâ, âwp-editorâ as dependencies to âwp_register_scriptâ in the âload_scriptsâ in class-fofo-bec.php.
- Modified the function âload_scriptsâ in class-fofo-bec.php to load the current theme style sheet.
- Modified the function âtoggle_featureâ in class-fofo-bec.php to use the âset_current_themeâ registry function.
- Modified the function âapply_ui_updatesâ in class-fofo-bec.php to use the âset_current_themeâ registry function.
- Added the function âfofobecCoreEditPostStoreâ to fofobec.js.
- Added the âfofo_bec_domâ higher order function to fofobec.js.
- Added the âfofobec_run_dispatcherâ function to fofobec.js.
- Updated the version number in fofo-block-editor-customiser.php.
- Created the light_vs theme.
1.2.0
- Refactored code for better decoupling.
- Added the theme selector to the settings page.
- Created a default theme.
1.1.0
- Added code to allow the management of customisation options as a theme.
1.0
- First commit