| Server IP : 119.59.104.26 / Your IP : 216.73.217.130 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/MIXThemes/templates/ |
Upload File : |
<?php
/**
* Page Head Template
*
* This template can be overridden by copying it to your-child-theme/templates/page-head.php.
*
* HOWEVER, on occasion TieLabs will need to update template files and you
* will need to copy the new files to your child theme to maintain compatibility.
*
* @author TieLabs
* @version 4.0.0
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
// Page Title
if( ! tie_get_postdata( 'tie_hide_title' ) ){
$title_tag = is_front_page() ? 'h2' : 'h1';
do_action( 'TieLabs/before_post_head' );
?>
<header class="entry-header-outer">
<?php do_action( 'TieLabs/before_entry_head' ); ?>
<div class="entry-header">
<<?php echo esc_attr( $title_tag ) ?> class="post-title entry-title"><?php the_title(); ?></<?php echo esc_attr( $title_tag ) ?>>
</div><!-- .entry-header /-->
<?php do_action( 'TieLabs/after_entry_head' ); ?>
</header><!-- .entry-header-outer /-->
<?php
do_action( 'TieLabs/after_post_head' );
}
// Page Featured Image
if( has_post_thumbnail() ){
// Get the post thumbnail size
$size = ( tie_get_object_option( 'sidebar_pos', '', 'tie_sidebar_pos' ) == 'full' ) ? 'full' : TIELABS_THEME_SLUG.'-image-post';
// Display the featured image
echo '
<div class="featured-area">
<figure class="single-featured-image">';
the_post_thumbnail( $size );
# Featured image caption
$thumb_caption = get_post( get_post_thumbnail_id() );
if( ! empty( $thumb_caption->post_excerpt )){
echo '
<figcaption class="single-caption-text">
<span class="fa fa-camera" aria-hidden="true"></span> '.
$thumb_caption->post_excerpt .'
</figcaption>
';
}
echo '
</figure>
</div><!-- .featured-area /-->
';
}