From 5642027db79e1f5c1abc30307b80ccfca4b0e501 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Mon, 2 Jan 2023 12:19:34 +0100 Subject: [PATCH] removed post thumbnail option as not needed --- functions.php | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/functions.php b/functions.php index 923b7eb..983248e 100644 --- a/functions.php +++ b/functions.php @@ -44,7 +44,7 @@ function ofisuport_setup() { * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ - add_theme_support( 'post-thumbnails' ); +// add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() register_nav_menus( @@ -95,9 +95,6 @@ function ofisuport_setup() { add_theme_support( 'custom-logo', array( - //'height' => 250, - //'width' => 250, - // not square but rectangle as XarxaProd proportions 'height' => 252, 'width' => 125, 'flex-width' => true, @@ -127,21 +124,6 @@ add_action( 'after_setup_theme', 'ofisuport_content_width', 0 ); require get_template_directory() . '/inc/widgets-register.php'; -//function ofisuport_widgets_init() { -// register_sidebar( -// array( -// 'name' => esc_html__( 'Sidebar', 'ofisuport' ), -// 'id' => 'sidebar-1', -// 'description' => esc_html__( 'Add widgets here.', 'ofisuport' ), -// 'before_widget' => '
', -// 'after_widget' => '
', -// 'before_title' => '

', -// 'after_title' => '

', -// ) -// ); -//} -//add_action( 'widgets_init', 'ofisuport_widgets_init' ); - /** * Enqueue scripts and styles. */