| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/blueversionx/wp-content/themes/stargaze/skins/default/templates/ |
Upload File : |
<?php
/**
* The custom template to display the content
*
* Used for index/archive/search.
*
* @package STARGAZE
* @since STARGAZE 1.0.50
*/
$stargaze_template_args = get_query_var( 'stargaze_template_args' );
if ( is_array( $stargaze_template_args ) ) {
$stargaze_columns = empty( $stargaze_template_args['columns'] ) ? 2 : max( 1, $stargaze_template_args['columns'] );
$stargaze_blog_style = array( $stargaze_template_args['type'], $stargaze_columns );
} else {
$stargaze_template_args = array();
$stargaze_blog_style = explode( '_', stargaze_get_theme_option( 'blog_style' ) );
$stargaze_columns = empty( $stargaze_blog_style[1] ) ? 2 : max( 1, $stargaze_blog_style[1] );
}
$stargaze_blog_id = stargaze_get_custom_blog_id( join( '_', $stargaze_blog_style ) );
$stargaze_blog_style[0] = str_replace( 'blog-custom-', '', $stargaze_blog_style[0] );
$stargaze_expanded = ! stargaze_sidebar_present() && stargaze_get_theme_option( 'expand_content' ) == 'expand';
$stargaze_components = ! empty( $stargaze_template_args['meta_parts'] )
? ( is_array( $stargaze_template_args['meta_parts'] )
? join( ',', $stargaze_template_args['meta_parts'] )
: $stargaze_template_args['meta_parts']
)
: stargaze_array_get_keys_by_value( stargaze_get_theme_option( 'meta_parts' ) );
$stargaze_post_format = get_post_format();
$stargaze_post_format = empty( $stargaze_post_format ) ? 'standard' : str_replace( 'post-format-', '', $stargaze_post_format );
$stargaze_blog_meta = stargaze_get_custom_layout_meta( $stargaze_blog_id );
$stargaze_custom_style = ! empty( $stargaze_blog_meta['scripts_required'] ) ? $stargaze_blog_meta['scripts_required'] : 'none';
if ( ! empty( $stargaze_template_args['slider'] ) || $stargaze_columns > 1 || ! stargaze_is_off( $stargaze_custom_style ) ) {
?><div class="
<?php
if ( ! empty( $stargaze_template_args['slider'] ) ) {
echo 'slider-slide swiper-slide';
} else {
echo esc_attr( ( stargaze_is_off( $stargaze_custom_style ) ? 'column' : sprintf( '%1$s_item %1$s_item', $stargaze_custom_style ) ) . "-1_{$stargaze_columns}" );
}
?>
">
<?php
}
?>
<article id="post-<?php the_ID(); ?>" data-post-id="<?php the_ID(); ?>"
<?php
post_class(
'post_item post_item_container post_format_' . esc_attr( $stargaze_post_format )
. ' post_layout_custom post_layout_custom_' . esc_attr( $stargaze_columns )
. ' post_layout_' . esc_attr( $stargaze_blog_style[0] )
. ' post_layout_' . esc_attr( $stargaze_blog_style[0] ) . '_' . esc_attr( $stargaze_columns )
. ( ! stargaze_is_off( $stargaze_custom_style )
? ' post_layout_' . esc_attr( $stargaze_custom_style )
. ' post_layout_' . esc_attr( $stargaze_custom_style ) . '_' . esc_attr( $stargaze_columns )
: ''
)
);
stargaze_add_blog_animation( $stargaze_template_args );
?>
>
<?php
// Sticky label
if ( is_sticky() && ! is_paged() ) {
?>
<span class="post_label label_sticky"></span>
<?php
}
// Custom layout
do_action( 'stargaze_action_show_layout', $stargaze_blog_id, get_the_ID() );
?>
</article><?php
if ( ! empty( $stargaze_template_args['slider'] ) || $stargaze_columns > 1 || ! stargaze_is_off( $stargaze_custom_style ) ) {
?></div><?php
// Need opening PHP-tag above just after </div>, because <div> is a inline-block element (used as column)!
}