diff --git a/includes/post_types.php b/includes/post_types.php index 04259ea..eeb5afb 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -1,8 +1,11 @@ +// ##### Syntax + + +

+ + + + +

+ + + + + + */ + +function cc_mime_types($mimes) { + $mimes['svg'] = 'image/svg+xml'; + return $mimes; +} +add_filter('upload_mimes', 'cc_mime_types'); + + + + /** ------------------------------ + INIT WIDGET +------------------------------*/ + + +function tailwind_widgets_init() { + register_sidebar( + array( + 'name' => esc_html__( 'Discover_next', 'tailwind' ), + 'id' => 'discover_next', + 'description' => esc_html__( 'Add widgets here.', 'tailwind' ), + 'before_widget' => '
', + 'after_widget' => '
', + 'before_title' => '

', + 'after_title' => '

', + ) + ); +} \ No newline at end of file