Support » Plugin: Content Blocks (Custom Post Widget) » Enable Ultimate Addons Gutenberg custom styles

  • To enable custom styles for Gutenberg Blocks – Ultimate Addons for Gutenberg in this plugin:

    Add these lines in custom-post-widget/post-widget.php at line 94:

    if ( class_exists( ‘UAGB_Loader’ ) ){
    include( UAGB_DIR . ‘classes/class-uagb-helper.php’ );
    $UAGB_Helper = new UAGB_Helper();
    $UAGB_Helper->_generate_stylesheet($content_post);
    }

Viewing 1 replies (of 1 total)
  • oops missed the script generation:

    Update:

    if ( class_exists( ‘UAGB_Loader’ ) ){
    include( UAGB_DIR . ‘classes/class-uagb-helper.php’ );
    $UAGB_Helper = new UAGB_Helper();
    $UAGB_Helper->_generate_stylesheet($content_post);
    $UAGB_Helper->generate_script();
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Enable Ultimate Addons Gutenberg custom styles’ is closed to new replies.