removed post thumbnail option as not needed

This commit is contained in:
jorge-vitrubio 2023-01-02 12:19:34 +01:00
parent 6af061ebdd
commit 5642027db7
1 changed files with 1 additions and 19 deletions

View File

@ -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' => '<section id="%1$s" class="widget %2$s">',
// 'after_widget' => '</section>',
// 'before_title' => '<h2 class="widget-title">',
// 'after_title' => '</h2>',
// )
// );
//}
//add_action( 'widgets_init', 'ofisuport_widgets_init' );
/**
* Enqueue scripts and styles.
*/