| Server IP : 186.64.123.29 / Your IP : 216.73.217.94 Web Server : LiteSpeed System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : tuemp9827 ( 1016) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tuempresavirtual.cl/public_html/wp-content/themes/skelementor/ |
Upload File : |
<?php
get_header();
$is_elementor_theme_exist = function_exists( 'elementor_theme_do_location' );
if ( is_singular() ) {
if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'single' ) ) {
while ( have_posts() ) : the_post();
?>
<main id="main" class="site-main" role="main">
<header class="page-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<div class="page-content">
<?php the_content(); ?>
</div>
</main>
<?php endwhile;
}
} elseif ( is_archive() || is_home() || is_search() ) {
if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'archive' ) ) {
?>
<main id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header">
<h1 class="entry-title"><?php the_archive_title(); ?></h1>
</header>
<div class="page-content">
<?php
while ( have_posts() ) : the_post();
printf( '<h1><a href="%s">%s</a></h1>', get_permalink(), get_the_title() );
the_post_thumbnail();
the_excerpt();
comments_template();
endwhile;
the_tags( '<span class="tag-links">' . __('Tagged ', 'skelementor' ) . NULL, NULL, NULL, '</span>' ) ?>
</div>
<div class="entry-links"><?php wp_link_pages(); ?></div>
<?php global $wp_query; if ( $wp_query->max_num_pages > 1 ) { ?>
<nav id="nav-below" class="navigation" role="navigation">
<div class="nav-previous"><?php next_posts_link(sprintf( __( '%s older', 'skelementor' ), '<span class="meta-nav">←</span>' ) ) ?></div>
<div class="nav-next"><?php previous_posts_link(sprintf( __( 'newer %s', 'skelementor' ), '<span class="meta-nav">→</span>' ) ) ?></div>
</nav>
<?php } ?>
</main>
<?php
}
} else {
if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'single' ) ) {
?>
<main id="main" class="site-main" role="main">
<header class="page-header">
<h1 class="entry-title"><?php _e( 'The page cannot be found.', 'skelementor' ); ?></h1>
</header>
<div class="page-content">
<p><?php _e( 'Sorry, nothing found at this location.', 'skelementor' ); ?></p>
</div>
</main>
<?php
}
}
get_footer();