Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1108132

    We’re using the latest WordPress and Enfold versions, using the code from here to enable the “Layout” meta box for our CPT: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type

    Code used is:

    function avf_metabox_layout_post_types_mod( array $supported_post_types ) {
     $supported_post_types[] = 'products';
     return $supported_post_types;
    }
    add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);

    I’ve modified the code appropriately for our “products” CPT and placed it in our child theme functions.php file. The ALB is enabled using the code from those instructions and works fine, but the Layout meta box does not show. We don’t have the Classic Editor or Gutenberg plugins installed, so its using the native WP version of Gutenberg.

    #1109058

    Hey Grant,

    Thank you for using Enfold.

    You can disable the block or gutenberg editor from the Enfold > Theme Options panel. Look for the “Select Your Editor” settings. Let us know if it makes any difference.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.