HEX
Server: LiteSpeed
System: Linux premium321.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: apkvhicq (1211)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //home/apkvhicq/vg70.pk/wp-content/themes/kadence/inc/template-functions/title-functions.php
<?php
/**
 * Calls in content using theme hooks.
 *
 * @package kadence
 */

namespace Kadence;

use function Kadence\kadence;
use function get_template_part;

defined( 'ABSPATH' ) || exit;
/**
 * Hero Title
 */
function hero_title() {
	if ( kadence()->show_hero_title() ) {
		if ( is_singular( get_post_type() ) ) {
			get_template_part( 'template-parts/content/entry_hero' );
		} else {
			get_template_part( 'template-parts/content/archive_hero' );
		}
	}
}
/**
 * Page Title area
 *
 * @param string $item_type the single post type.
 * @param string $area the title area.
 */
function kadence_entry_header( $item_type = 'post', $area = 'normal' ) {
	kadence()->render_title( $item_type, $area );
}

/**
 * Archive Title area
 *
 * @param string $item_type the single post type.
 * @param string $area the title area.
 */
function kadence_entry_archive_header( $item_type = 'post_archive', $area = 'normal' ) {
	kadence()->render_archive_title( $item_type, $area );
}