Current File : /home/kelaby89/www/wp/wp-content/themes/nexio/skins/default/templates/single-styles/style-1.php
<?php
/**
 * The "Style 1" template to display the post header of the single post or attachment:
 * featured image and title placed in the post header
 *
 * @package NEXIO
 * @since NEXIO 1.75.0
 */

if ( apply_filters( 'nexio_filter_single_post_header', is_singular( 'post' ) || is_singular( 'attachment' ) ) ) {
	$nexio_post_format = str_replace( 'post-format-', '', get_post_format() );
    $post_meta = in_array( $nexio_post_format, array( 'video' ) ) ? get_post_meta( get_the_ID(), 'trx_addons_options', true ) : false;
    $video_autoplay = ! empty( $post_meta['video_autoplay'] )
        && ! empty( $post_meta['video_list'] )
        && is_array( $post_meta['video_list'] )
        && count( $post_meta['video_list'] ) == 1
        && ( ! empty( $post_meta['video_list'][0]['video_url'] ) || ! empty( $post_meta['video_list'][0]['video_embed'] ) );

    // Featured image
	ob_start();
	nexio_show_post_featured_image( array(
		'thumb_bg'  => true,
		'popup'     => true,
        'class_avg' => in_array( $nexio_post_format, array( 'video' ) )
            ? ( ! $video_autoplay
                ? 'content_wrap'
                : 'with_thumb post_featured_bg with_video with_video_autoplay'
            )
            : '',
        'autoplay'  => $video_autoplay,
        'post_meta' => $post_meta
	) );
	$nexio_post_header = ob_get_contents();
	ob_end_clean();
	$nexio_with_featured_image = nexio_is_with_featured_image( $nexio_post_header );

	// Post title and meta
	ob_start();
	nexio_show_post_title_and_meta( array(
										'content_wrap'  => true,
										'share_type'    => 'list',
										'show_labels'   => true,
										'author_avatar' => $nexio_with_featured_image,
										'add_spaces'    => true,
										)
									);
	$nexio_post_header .= ob_get_contents();
	ob_end_clean();

	if ( strpos( $nexio_post_header, 'post_featured' ) !== false
		|| strpos( $nexio_post_header, 'post_title' ) !== false
		|| strpos( $nexio_post_header, 'post_meta' ) !== false
	) {
        do_action( 'nexio_action_before_post_header' );

        ?>
		<div class="post_header_wrap post_header_wrap_in_header post_header_wrap_style_<?php
			echo esc_attr( nexio_get_theme_option( 'single_style' ) );
			if ( $nexio_with_featured_image ) {
				echo ' with_featured_image';
			}
		?>">
			<?php
			nexio_show_layout( $nexio_post_header );
			?>
		</div>
		<?php
        do_action( 'nexio_action_after_post_header' );

    }
}
Page not found – Hello World !