Server IP : 172.67.214.6 / Your IP : 216.73.216.84 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/public_html/wp-content/themes/kadence/template-parts/content/ |
Upload File : |
<?php /** * Template part for displaying the page header of the currently displayed page * * @package kadence */ namespace Kadence; $slug = ( is_search() && ! is_post_type_archive( 'product' ) ? 'search' : get_post_type() ); if ( empty( $slug ) ) { $queried_object = get_queried_object(); if ( is_object( $queried_object ) && property_exists( $queried_object, 'taxonomy' ) ) { $current_tax = get_taxonomy( $queried_object->taxonomy ); if ( is_object( $current_tax ) && property_exists( $current_tax, 'object_type' ) ) { $post_types = $current_tax->object_type; $slug = $post_types[0]; } } } ?> <header class="<?php echo esc_attr( implode( ' ', get_archive_title_classes() ) ); ?>"> <?php do_action( 'kadence_archive_before_entry_header' ); /** * Kadence Entry Header * * Hooked kadence_entry_header 10 */ do_action( 'kadence_entry_archive_header', $slug . '_archive', 'normal' ); do_action( 'kadence_archive_after_entry_header' ); ?> </header><!-- .entry-header -->