HEX
Server: Apache
System: Linux web15f49.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: hzaluminio (728004)
PHP: 7.0.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/hzaluminio/www/sair/(FORA)wp-content (forA)/themes/gaze/admin/theme_support.php
<?php

/**
 * Load Theme Support on Init
 */
if(!( function_exists('ebor_add_editor_styles') )){
	function ebor_add_editor_styles() {
	    
	    add_editor_style( 'admin/editor-style.css' );
	    
	    /**
	     * Set Content Width
	     */
	    global $content_width;
	    if ( ! isset( $content_width ) ) $content_width = 1170;
	    
	    remove_post_type_support('mega_menu', 'editor');
	    remove_post_type_support('mega_menu', 'author');
	    remove_post_type_support('portfolio', 'post-formats');
	    add_post_type_support('testimonial', 'thumbnail');
	    
	}
	add_action( 'init', 'ebor_add_editor_styles', 10 );
}

/**
 * Load Theme Support after_theme_setup
 */
if(!( function_exists('ebor_add_theme_support') )){
	function ebor_add_theme_support() {
		
		/**
		 * Add post thumbnail (featured image) support
		 */
		add_theme_support( 'post-thumbnails' );
		add_image_size( 'ebor-square', 470, 470, 1 );
		add_image_size( 'ebor-grid', 470, 340, 1 );

		/**
		 * Add Custom Background Support and Set Default
		 */
		add_theme_support( 'custom-background', array( 'default-color' => '#FFFFFF' ) );
		
		/**
		 * Add feed link support
		 */
		add_theme_support( 'automatic-feed-links' );
		
		/**
		 * Add html5 support
		 */
		add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form' ) );
		
		add_theme_support( 'post-formats', array( 'gallery', 'video', 'quote' ) );
		
		/**
		 * Load Translation Files
		 */
		load_theme_textdomain( 'gaze', trailingslashit(get_template_directory()) . 'languages' );
		
		add_theme_support( 'title-tag' );
		
		add_theme_support( 'woocommerce' );
		add_theme_support( 'wc-product-gallery-zoom' );
		add_theme_support( 'wc-product-gallery-lightbox' );
		add_theme_support( 'wc-product-gallery-slider' );
		
		add_theme_support( 'customize-selective-refresh-widgets' );
		
		/**
		 * Gutenberg
		 */
		add_theme_support( 'align-wide' );
		add_theme_support( 'wp-block-styles' );	
		
	}
	add_action('after_setup_theme', 'ebor_add_theme_support', 10 );
}