Beaver Builder and Oasis Workflow compatibility

Beaver Builder  is one of the widely used page builder plugins.

If your team is using Beaver Builder for editing the pages from the  FrontEnd and you are also looking to review those changes before it’s  published, then Oasis Workflow can help.

Users can continue to edit their pages via the Beaver Builder editor. By programmatically hiding the “Publish” button from Beaver Builder menu, you can force your users to submit the changes to an editorial workflow.

Here’s how you can hide the “Publish” button from Beaver Builder.

Add an action for “admin_head” in your theme’s functions.php

add_action('admin_head', 'hide_bb_publish_button');

function hide_bb_publish_button() { 
 echo '< style >

  .fl-builder-actions .fl-builder-button.fl-builder-publish-button { 
     display: none; 
   }  
 </ style >
';
}

Here’s how the process will work.

For new posts:

  1. The users continue to use the FrontEnd or BackEnd Editor to make changes.
  2. Once done, they save the draft and then return to the backend editor.
  3. Users then submit the post to a workflow using “Submit to Workflow” button.

For Published posts:

  1. Users first make a revision of the post. This will create a ‘Copy-of’ the published post. To make a revision, users can either use the “Make Revision short code” OR simply create a revision from the Backend.
  2. The users use the FrontEnd or BackEnd editor to make changes to the revision.
  3. Once done, they save the draft and then return to the backend editor.
  4. Users then submit the post to a workflow using “Submit to Workflow” button.