403Webshell
Server IP : 172.64.80.1  /  Your IP : 216.73.216.175
Web Server : LiteSpeed
System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : hongluck ( 2522)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/hongluck/public_html/wp-content/themes/integral/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/hongluck/public_html/wp-content/themes/integral/inc/setup.php
<?php
/**
 * Set the content width based on the theme's design and stylesheet.
 */
if ( ! isset( $content_width ) ) {
	$content_width = 980; /* pixels */
}

function integral_setup() {
	
    // This theme uses a custom image size for featured images, displayed on "standard" posts.
	add_theme_support( 'post-thumbnails' );
	add_image_size( 'integral-post-thumbnails', 750, 9999);
    add_image_size( 'integral-home-post-thumbnails', 720, 360, true);
    
    // Add default posts and comments RSS feed links to head. 
    add_theme_support( 'automatic-feed-links' );
    
    // Let WordPress manage the document title. By adding theme support, we declare that this theme does not use a hard-coded <title> tag in the document head, and expect WordPress to provide it for us.
    add_theme_support("title-tag");
    
    // This theme uses wp_nav_menu() in one location.
	register_nav_menus( array(
		'primary'      => esc_html__( 'Primary Menu', 'integral' ),
	) );
    
    // Make theme available for translation. Translations can be filed in the /languages/ directory.
    load_theme_textdomain( 'integral', get_template_directory() . '/languages' );
    
}

function integral_update_user_notices() {
	//remove notice dismissal flags from all users that might have it.
	delete_metadata( 'user', null, 'integral_welcome_admin_notice', null, true );
}
add_action( 'after_setup_theme', 'integral_setup' );
add_action( 'switch_theme', 'integral_update_user_notices' );

Youez - 2016 - github.com/yon3zu
LinuXploit