Set Button in PluginDocumentSettingPanel Content (WordPress Gutenberg)

I finally solved it like this: var registerPlugin = wp.plugins.registerPlugin; var PluginDocumentSettingPanel = wp.editPost.PluginDocumentSettingPanel; var Button = wp.components.Button; var el = wp.element.createElement; var __ = wp.i18n.__; function onButtonClick() { alert( ‘Button is clicked’ ); } function MyDocumentSettingPlugin() { return el( PluginDocumentSettingPanel, { name: ‘my-document-setting-plugin’, title: ‘My Panel’, icon: ‘dashicon-name’, }, __( ‘My Document Setting Panel … Read more

How to customize maintenance mode notification in wordpress?

If you set up your WordPress website on maintenance mode manually before installing any updates, you can avoid displaying the default maintenance mode notification simply. Furthermore, you can perform the below steps to customize the maintenance mode notification correctly again. Activate the SeeProd plugin. Go to Settings and then go to the Coming Soon Pro … Read more