Skip to content

Commit

Permalink
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion theme/functions.php
Original file line number Diff line number Diff line change
@@ -28,11 +28,20 @@ function wpcloud_station_enqueue_block_styles() {
// We don't want to show the admin bar in the front end.
add_filter( 'show_admin_bar', '__return_false' );


add_action(
'wp_enqueue_scripts',
function () {
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'wpcloud-station', get_theme_file_uri( 'assets/styles/global.css' ), array(), '1.0.0' );
}
);

if ( function_exists( 'register_block_pattern_category' ) ) {
register_block_pattern_category(
'wpcloud_forms',
array(
'label' => __( 'WP Cloud Forms', 'wpcloud' ),
'description' => __( 'Core WP Cloud forms', 'wpcloud' ),
)
);
}

0 comments on commit f193613

Please sign in to comment.