removed post thumbnail option as not needed
This commit is contained in:
parent
6af061ebdd
commit
5642027db7
|
@ -44,7 +44,7 @@ function ofisuport_setup() {
|
||||||
*
|
*
|
||||||
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
|
* @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()
|
// This theme uses wp_nav_menu()
|
||||||
register_nav_menus(
|
register_nav_menus(
|
||||||
|
@ -95,9 +95,6 @@ function ofisuport_setup() {
|
||||||
add_theme_support(
|
add_theme_support(
|
||||||
'custom-logo',
|
'custom-logo',
|
||||||
array(
|
array(
|
||||||
//'height' => 250,
|
|
||||||
//'width' => 250,
|
|
||||||
// not square but rectangle as XarxaProd proportions
|
|
||||||
'height' => 252,
|
'height' => 252,
|
||||||
'width' => 125,
|
'width' => 125,
|
||||||
'flex-width' => true,
|
'flex-width' => true,
|
||||||
|
@ -127,21 +124,6 @@ add_action( 'after_setup_theme', 'ofisuport_content_width', 0 );
|
||||||
|
|
||||||
require get_template_directory() . '/inc/widgets-register.php';
|
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.
|
* Enqueue scripts and styles.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue