File "index.php"
Full Path: /home/cabizcok/public_html/wp-content/themes/entox/index.php
File size: 448 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
get_header();
if ( is_singular() ) {
if( is_page() ){
get_template_part( 'template-parts/page' );
}else{
get_template_part( 'template-parts/single' );
}
} elseif ( is_archive() || is_home() ) {
get_template_part( 'template-parts/archive' );
} elseif ( is_search() ) {
get_template_part( 'template-parts/search' );
} else {
get_template_part( 'template-parts/404' );
}
get_footer();