403Webshell
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversionx/wp-content/themes/stargaze/index.php
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: //codex.wordpress.org/Template_Hierarchy
 *
 * @package STARGAZE
 * @since STARGAZE 1.0
 */

$stargaze_template = apply_filters( 'stargaze_filter_get_template_part', stargaze_blog_archive_get_template() );

if ( ! empty( $stargaze_template ) && 'index' != $stargaze_template ) {

	get_template_part( $stargaze_template );

} else {

	stargaze_storage_set( 'blog_archive', true );

	get_header();

	if ( have_posts() ) {

		// Query params
		$stargaze_stickies   = is_home()
								|| ( in_array( stargaze_get_theme_option( 'post_type' ), array( '', 'post' ) )
									&& (int) stargaze_get_theme_option( 'parent_cat' ) == 0
									)
										? get_option( 'sticky_posts' )
										: false;
		$stargaze_post_type  = stargaze_get_theme_option( 'post_type' );
		$stargaze_args       = array(
								'blog_style'     => stargaze_get_theme_option( 'blog_style' ),
								'post_type'      => $stargaze_post_type,
								'taxonomy'       => stargaze_get_post_type_taxonomy( $stargaze_post_type ),
								'parent_cat'     => stargaze_get_theme_option( 'parent_cat' ),
								'posts_per_page' => stargaze_get_theme_option( 'posts_per_page' ),
								'sticky'         => stargaze_get_theme_option( 'sticky_style' ) == 'columns'
															&& is_array( $stargaze_stickies )
															&& count( $stargaze_stickies ) > 0
															&& get_query_var( 'paged' ) < 1
								);

		stargaze_blog_archive_start();

		do_action( 'stargaze_action_blog_archive_start' );

		if ( is_author() ) {
			do_action( 'stargaze_action_before_page_author' );
			get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'templates/author-page' ) );
			do_action( 'stargaze_action_after_page_author' );
		}

		if ( stargaze_get_theme_option( 'show_filters' ) ) {
			do_action( 'stargaze_action_before_page_filters' );
			stargaze_show_filters( $stargaze_args );
			do_action( 'stargaze_action_after_page_filters' );
		} else {
			do_action( 'stargaze_action_before_page_posts' );
			stargaze_show_posts( array_merge( $stargaze_args, array( 'cat' => $stargaze_args['parent_cat'] ) ) );
			do_action( 'stargaze_action_after_page_posts' );
		}

		do_action( 'stargaze_action_blog_archive_end' );

		stargaze_blog_archive_end();

	} else {

		if ( is_search() ) {
			get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'templates/content', 'none-search' ), 'none-search' );
		} else {
			get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'templates/content', 'none-archive' ), 'none-archive' );
		}
	}

	get_footer();
}

Youez - 2016 - github.com/yon3zu
LinuXploit