Pages in wordpress editor show shortcode cs content etc but I only want them editable in pro

I can’t seem to reply to this thread any more, but this is still happening and affecting more sites. It seems it will only be a matter of time until one of my clients accidentally touches the short codes and makes the page uneditable.

Please can you update me on when this will be fixed.
Thank you
Tamsin

Hi Tamsin,

Thank you for reaching out to us. Please be advised that the WordPress version 5.4.0 which is a major update, is not yet compatible with our theme see https://theme.co/docs/version-compatibility

However you can temporarily fix the issue by adding the following code in the child theme’s functions.php file (see https://theme.co/docs/child-themes):

/* Temporary fix for Gutenburg issue with WP 5.4 */
add_action('admin_head', 'fix_content_builder');

function fix_content_builder() {
  echo '<style>
    .cs-disable-gutenburg #editor .edit-post-visual-editor.editor-styles-wrapper {
      display: none!important;
    }
  </style>';
}

This will be fixed in the next release of the theme and then you can safely remove the above code. Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.