403Webshell
Server IP : 91.237.33.134  /  Your IP : 216.73.216.68
Web Server : Apache
System : Linux webko.zupo.si 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : sipek_instalacije ( 10045)
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/sipek-instalacije.si/httpdocs/wp-content/themes/rife/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/sipek-instalacije.si/httpdocs/wp-content/themes/rife/front-page.php
<?php
/**
 * The Template for displaying front-page
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly

if ( get_option( 'show_on_front' ) === 'posts' ) {
	get_template_part( 'index' );
} else {
	global $apollo13framework_a13;
	$fp_variant = $apollo13framework_a13->get_option( 'fp_variant' );

	if ( $fp_variant == 'page' ) {
		//it makes use of real page templates instead of front-page.php
		$page_template = basename( get_page_template(), '.php' );
		//below check is incorrect in WordPress 4.8, but might be true in older WP versions
		//now $page_template will never return "page.php" or "front-page"
		//however it works proper so lets keep it for few versions
		if ( $page_template !== 'page.php' && $page_template !== 'front-page' ) {
			get_template_part( $page_template );
		} else {
			get_template_part( 'page' );
		}
	}
	elseif ( $fp_variant == 'blog' ) {
		global $wp_query;

		//fix for front page pagination
		if ( get_query_var( 'paged' ) ) {
			$_paged = get_query_var( 'paged' );
		} elseif ( get_query_var( 'page' ) ) {
			$_paged = get_query_var( 'page' );
		} else {
			$_paged = 1;
		}

		$args = array(
			'post_type' => 'post',
			'paged'          => $_paged
		);


		$wp_query->query( $args );

		get_template_part( 'index' );
	}
	elseif ( $fp_variant == 'albums_list' ) {
		get_template_part( 'albums-template' );
	}
	elseif ( $fp_variant == 'works_list' ) {
		get_template_part( 'works-template' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit