function enqueue_styles_child_theme() { $parent_style = 'storefront-style'; $child_style = 'universal-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( $child_style, get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'enqueue_styles_child_theme' ); /*WIDGETS*/ function custom_widget() { register_sidebar( array( 'name' => 'Logotipo', 'id' => 'logotipo', 'description' => 'Agregar logotipo como imagen', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Menú', 'id' => 'menu', 'description' => 'Agregar menú', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Section 1', 'id' => 'section-1', 'description' => 'Agregar texto', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Video', 'id' => 'video', 'description' => 'Agregar video', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Section 2', 'id' => 'section-2', 'description' => 'Agregar texto', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Normas', 'id' => 'normas', 'description' => 'Agregar texto', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Contact Form', 'id' => 'contact-form', 'description' => 'Agregar contact form', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Contact Data', 'id' => 'contact-data', 'description' => 'Agregar contact data', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Service 1', 'id' => 'service1', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 2', 'id' => 'service2', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 3', 'id' => 'service3', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 4', 'id' => 'service4', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 5', 'id' => 'service5', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 6', 'id' => 'service6', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 7', 'id' => 'service7', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 8', 'id' => 'service8', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 9', 'id' => 'service9', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 10', 'id' => 'service10', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 11', 'id' => 'service11', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 12', 'id' => 'service12', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 13', 'id' => 'service13', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Service 14', 'id' => 'service14', 'description' => 'Add service info', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Montevideo', 'id' => 'montevideo', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Nueva Palmira', 'id' => 'palmira', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Punta Pereira', 'id' => 'pereira', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Fray Bentos ', 'id' => 'fraybentos', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'José Ignacio ', 'id' => 'joseignacio', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'At Roads and Waiting Anchorage Off River Plate', 'id' => 'roads', 'description' => 'Add port info', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Logotipo pie de página', 'id' => 'logo-footer', 'description' => 'Agregar imagen', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer Information 1', 'id' => 'footer-info1', 'description' => 'Agregar texto', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Footer Information 2', 'id' => 'footer-info2', 'description' => 'Agregar texto', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => 'Footer Policies', 'id' => 'footer-policies', 'description' => 'Agregar texto', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'custom_widget' ); // Disables the block editor from managing widgets in the Gutenberg plugin. add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 ); // Disables the block editor from managing widgets. renamed from wp_use_widgets_block_editor add_filter( 'use_widgets_block_editor', '__return_false' ); ?> WordPress https://wordpress.org/ https://unimar.com.uy