| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/peyco.es/wp-content/themes/StoreFront/layouts/ |
Upload File : |
<?php
/**
*
* The template fragment to show post header
*
**/
// disable direct access to the file
defined('GAVERN_WP') or die('Access denied');
global $gk_tpl;
$params = get_post_custom();
$params_title = isset($params['gavern-post-params-title']) ? esc_attr( $params['gavern-post-params-title'][0] ) : 'Y';
?>
<?php if(get_post_format() != '') : ?>
<span class="format gk-format-<?php echo get_post_format(); ?>"></span>
<?php endif; ?>
<?php if(get_the_title() != '' && $params_title == 'Y') : ?>
<h<?php echo (is_singular()) ? '1' : '2'; ?>>
<?php if(!is_singular()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', GKTPLNAME ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
<?php endif; ?>
<?php the_title(); ?>
<?php if(!is_singular()) : ?>
</a>
<?php endif; ?>
</h<?php echo (is_singular()) ? '1' : '2'; ?>>
<?php endif; ?>
<?php if((!is_page_template('template.fullwidth.php') && ('post' == get_post_type() || 'page' == get_post_type())) && get_the_title() != '') : ?>
<?php if(!(get_post_type() == 'page' && get_option($gk_tpl->name . '_template_show_details_on_pages', 'Y') == 'N')) : ?>
<?php if(!('post' == get_post_type() && get_option($gk_tpl->name . '_post_aside_state', 'Y') == 'N')) : ?>
<?php gk_post_meta(); ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php do_action('gavernwp_before_post_content'); ?>