Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : style-2.php
<?php
/**
 * The "Style 2" template to display the post header of the single post or attachment:
 * featured image placed in the post header and title placed inside content
 *
 * @package SPIN
 * @since SPIN 1.75.0
 */

if ( apply_filters( 'spin_filter_single_post_header', is_singular( 'post' ) || is_singular( 'attachment' ) ) ) {
	$spin_post_format = str_replace( 'post-format-', '', get_post_format() );
    $post_meta = in_array( $spin_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();
	spin_show_post_featured_image( array(
		'thumb_bg'  => true,
		'popup'     => true,
        'class_avg' => in_array( $spin_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
	) );
	$spin_post_header = ob_get_contents();
	ob_end_clean();

	$spin_with_featured_image = spin_is_with_featured_image( $spin_post_header );

	if ( strpos( $spin_post_header, 'post_featured' ) !== false ) {
		?>
		<div class="post_header_wrap post_header_wrap_in_header post_header_wrap_style_<?php
			echo esc_attr( spin_get_theme_option( 'single_style' ) );
			if ( $spin_with_featured_image ) {
				echo ' with_featured_image';
			}
		?>">
			<?php
			do_action( 'spin_action_before_post_header' );
			spin_show_layout( $spin_post_header );
			do_action( 'spin_action_after_post_header' );
			?>
		</div>
		<?php
	}
}
© 2026 GrazzMean-Shell