Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/sort.llc/wp-content/themes/kadence/template-parts/content/ |
Upload File : |
<?php /** * Template part for displaying a post's Hero header * * @package kadence */ namespace Kadence; $classes = array(); $classes[] = 'entry-header'; if ( is_singular( get_post_type() ) ) { $classes[] = get_post_type() . '-title'; $classes[] = 'title-align-' . ( kadence()->sub_option( get_post_type() . '_title_align', 'desktop' ) ? kadence()->sub_option( get_post_type() . '_title_align', 'desktop' ) : 'inherit' ); $classes[] = 'title-tablet-align-' . ( kadence()->sub_option( get_post_type() . '_title_align', 'tablet' ) ? kadence()->sub_option( get_post_type() . '_title_align', 'tablet' ) : 'inherit' ); $classes[] = 'title-mobile-align-' . ( kadence()->sub_option( get_post_type() . '_title_align', 'mobile' ) ? kadence()->sub_option( get_post_type() . '_title_align', 'mobile' ) : 'inherit' ); } ?> <section role="banner" class="entry-hero <?php echo esc_attr( get_post_type() ) . '-hero-section'; ?> <?php echo esc_attr( 'entry-hero-layout-' . kadence()->option( get_post_type() . '_title_inner_layout' ) ); ?>"> <div class="entry-hero-container-inner"> <div class="hero-section-overlay"></div> <div class="hero-container site-container"> <header class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>"> <?php /** * Kadence Entry Hero * * Hooked kadence_entry_header 10 */ do_action( 'kadence_entry_hero', get_post_type(), 'above' ); ?> </header><!-- .entry-header --> </div> </div> </section><!-- .entry-hero -->