| Server IP : 219.234.31.115 / Your IP : 216.73.217.134 Web Server : Apache System : Linux ebs-140924 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64 User : vndaystarftp ( 67432) PHP Version : 7.3.33 Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/wwwroot/vndaystarftp/wwwroot/wp-content/themes/phlox-pro/ |
Upload File : |
<?php
/**
* The Template for displaying all posttype items.
*
*
* @package Auxin
* @author averta (c) 2014-2021
* @link http://averta.net
*/
get_header();?>
<main id="main" <?php auxin_content_main_class(); ?> >
<div class="aux-wrapper">
<div class="aux-container aux-fold clearfix">
<div id="primary" class="aux-primary" >
<div class="content" role="main" data-target="archive" >
<?php
if ( ! ( function_exists( 'auxin_theme_do_location' ) && auxin_theme_do_location( 'archive' ) ) && ! ( function_exists( 'elementor_theme_do_location' ) && elementor_theme_do_location( 'archive' ) ) ) {
if( have_posts() ) {
$slug = 'templates/theme-parts/loop';
$name = get_post_type();
// if loop template part for current post type was not defined, use post template instead
if( ! locate_template( $slug .'-'. $name .'.php' ) ){
$name = 'post';
}
get_template_part( $slug, $name );
} else {
get_template_part('templates/theme-parts/content', 'none' );
}
}
?>
</div><!-- end content -->
</div><!-- end primary -->
<?php get_sidebar(); ?>
</div><!-- end container -->
</div><!-- end wrapper -->
</main><!-- end main -->
<?php get_sidebar('footer'); ?>
<?php get_footer(); ?>