| Server IP : 104.26.4.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 : |
<?php
/**
* The template for displaying all single posts.
*
* @package ArcHub
*/
get_header();
while ( have_posts() ) : the_post();
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() );
$style = $page_settings_model->get_settings( 'portfolio_style' );
} else {
$style = get_post_meta( get_the_ID(), 'portfolio-style', true );
}
$style = $style ? $style : 'custom';
?>
<article <?php liquid_helper()->attr( 'post' ) ?>>
<?php get_template_part( 'templates/portfolio/single/' . $style ); ?>
</article><!-- #post-## -->
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile;
get_footer();