| Server IP : 104.21.28.229 / Your IP : 216.73.216.95 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/domains/mienphi.org/public_html/wp-content/themes/eduma_OLD/ |
Upload File : |
<?php
/**
* The template for displaying archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Eduma
* @since Eduma
*/
get_header();
/**
* thim_wrapper_loop_start hook
*
* @hooked thim_wrapper_loop_end - 1
* @hooked thim_wapper_page_title - 5
* @hooked thim_wrapper_loop_start - 30
*/
do_action( 'thim_wrapper_loop_start' );
// check layout style
$archive_layout = get_theme_mod( 'thim_archive_cate_display_layout', false );
if ( $archive_layout ) {
$layout_type = ! empty( $archive_layout ) ? 'grid' : '';
$id = 'blog-archive';
$class_archive = $layout_type == 'grid' ? ' blog-switch-layout blog-list' : '';
} else {
$layout_type = '';
$id = 'blog-archive-layout';
$template = get_theme_mod( 'thim_archive_cate_template', 'default' );
$class_archive = ' blog-switch-layout blog-' . $template;
if ( $template == 'grid' ) {
$layout_type = 'grid';
}
}
if ( have_posts() ) :?>
<div id="<?php echo esc_attr( $id ); ?>" class="blog-content<?php echo esc_attr( $class_archive ); ?>">
<?php
/**
* thim_blog_before_main_content hook
*
* @hooked thim_blog_switch_layout - 10
* @hooked thim_blog_show_decription - 20
*/
do_action( 'thim_blog_before_main_content' ); ?>
<div class="row">
<?php
/* Start the Loop */
while ( have_posts() ) : the_post();
get_template_part( 'content', $layout_type );
endwhile;
?>
</div>
</div>
<?php
thim_paging_nav();
else :
get_template_part( 'content', 'none' );
endif;
/**
* thim_wrapper_loop_end hook
*
* @hooked thim_wrapper_loop_end - 10
* @hooked thim_wrapper_div_close - 30
*/
do_action( 'thim_wrapper_loop_end' );
get_footer();