golden hour
/home/doctorbruno/public_html/doc-noc.com/wp-content/themes/astrid/inc
⬆️ Go Up
Upload
File/Folder
Size
Actions
custom-header.php
1.4 KB
Del
OK
customizer.php
26.34 KB
Del
OK
extras.php
678 B
Del
OK
framework
-
Del
OK
jetpack.php
951 B
Del
OK
styles.php
6.47 KB
Del
OK
template-tags.php
2.2 KB
Del
OK
Edit: custom-header.php
<?php /** * Sample implementation of the Custom Header feature. * * You can add an optional custom header image to header.php like so ... * <?php if ( get_header_image() ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt=""> </a> <?php endif; // End header image check. ?> * * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Astrid */ /** * Set up the WordPress core custom header feature. * * @uses astrid_header_style() */ function astrid_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'astrid_custom_header_args', array( 'default-image' => get_template_directory_uri() . '/images/header.jpg', 'default-text-color' => '000000', 'width' => 1920, 'height' => 1080, 'video' => true, 'video-active-callback' => '', 'flex-height' => true, 'wp-head-callback' => '', ) ) ); } add_action( 'after_setup_theme', 'astrid_custom_header_setup' ); /** * Video header settings */ function astrid_video_settings( $settings ) { $settings['minWidth'] = '200'; $settings['minHeight'] = '200'; return $settings; } add_filter( 'header_video_settings', 'astrid_video_settings' );
Save