403Webshell
Server IP : 104.26.5.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/aurointeriors/public_html/wp-content/themes/archub/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/aurointeriors/public_html/wp-content/themes/archub/single.php
<?php
/**
 * The template for displaying all single posts.
 *
 * @package ArcHub
 */

if ( class_exists( 'Liquid_Elementor_Addons' ) && defined('ELEMENTOR_VERSION') ){
	$page_settings_manager = \Elementor\Core\Settings\Manager::get_settings_managers( 'page' );
	$page_settings_model = $page_settings_manager->get_model( get_the_ID() );

	$sp_style = $page_settings_model->get_settings( 'post_style' );
	$sp_style = $sp_style ? $sp_style : liquid_helper()->get_option( 'post-style' );
	$style = $sp_style ? $sp_style : liquid_helper()->get_option( 'post-style', 'classic' );
	$floating_enable = $page_settings_model->get_settings( 'post_floating_box_enable' );
	$floating_enable = $floating_enable ? $floating_enable : liquid_helper()->get_option( 'post-floating-box-enable' );
} else {
	$sp_style = liquid_helper()->get_option( 'post-style' );
	$style = liquid_helper()->get_option( 'post-style', 'classic' );
	$floating_enable = liquid_helper()->get_option( 'post-floating-box-enable' );
}

if( 'classic' == $sp_style || empty( $sp_style ) ) {
	add_action( 'liquid_before_single_article_content', 'liquid_get_single_media', 5 );	
}
elseif( 'classic' !== $sp_style && !empty( $sp_style ) ) {
	add_action( 'liquid_before_single_article', 'liquid_get_single_media', 5 );	
}

if( 'on' == $floating_enable ) {
	add_action( 'liquid_before_single_article_content', 'liquid_get_single_floating_box', 5 );
}

get_header();

	while ( have_posts() ) : the_post();
		
		//if empty style get default
		if( !$style ) {
			$style = 'minimal';
		}

		$format = get_post_format();
		if( 'video' === $format && class_exists( 'ReduxFramework' ) ){
			$style = 'classic';
		}
		elseif( 'audio' === $format && class_exists( 'ReduxFramework' ) ){
			$style = 'minimal';
		}
		get_template_part( 'templates/blog/single/classic' );

	endwhile;

get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit