| Server IP : 10.19.1.101 / Your IP : 216.73.216.158 Web Server : Apache System : Linux web1f13.kinghost.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64 User : schererimoveisrs ( 170628) PHP Version : 7.4.33 Disable Function : apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/schererimoveisrs/www/pre backup/wp-content/themes/sauron/ |
Upload File : |
<?php
/*The template for displaying Archive pages*/
global $wdwt_front;
get_header();
$grab_image= $wdwt_front->get_param('grab_image');
$blog_style= $wdwt_front->blog_style(); ?>
<div class="right_container">
<div class="container">
<?php if ( is_active_sidebar( 'sidebar-1' ) ) { ?>
<aside id="sidebar1">
<div class="sidebar-container">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
<div class="clear"></div>
</div>
</aside>
<?php }?>
<div id="content" class="blog archive-page">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; ?>
<?php if (is_category()) { ?>
<h2 class="styledHeading"><?php _e('Archive For The ', "sauron"); ?>“<?php single_cat_title(); ?>” <?php _e('Category', "sauron"); ?></h2>
<?php } elseif( is_tag() ) { ?>
<h2 class="styledHeading"><?php _e('Posts Tagged ', "sauron"); ?>“<?php single_tag_title(); ?>”</h2>
<?php } elseif (is_day()) { ?>
<h2 class="styledHeading"><?php _e('Archive For ', "sauron"); ?><?php the_time(get_option( 'date_format' )); ?></h2>
<?php } elseif (is_month()) { ?>
<h2 class="styledHeading"><?php _e('Archive For ', "sauron"); ?><?php the_time(get_option( 'date_format' )); ?></h2>
<?php } elseif (is_year()) { ?>
<h2 class="styledHeading"><?php _e('Archive For ', "sauron"); ?><?php the_time(get_option( 'date_format' )); ?></h2>
<?php } elseif (is_author()) { ?>
<h2 class="styledHeading"><?php _e('Author Archive', "sauron"); ?></h2>
<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="styledHeading"><?php _e('Blog Archives', "sauron"); ?></h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post">
<h3 class="archive-header"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
</div>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute( ); ?>" rel="bookmark">
<?php
if(has_post_thumbnail() || (sauron_frontend_functions::post_image_url() && $blog_style && $grab_image)){ ?>
<div class="img_containe fixed size180x150">
<?php echo sauron_frontend_functions::fixed_thumbnail(180,150, $grab_image); ?>
</div>
<?php } ?>
</a>
<div class="clear"></div>
<?php
if($wdwt_front->blog_style()){
the_excerpt();
}
else{
the_content();
}
if($wdwt_front->get_param('date_enable')){ ?>
<div class="entry-meta">
<?php sauron_frontend_functions::posted_on_single(); ?>
</div>
<?php sauron_frontend_functions::entry_meta();
} ?>
</div>
<?php endwhile; ?>
<div class="page-navigation">
<?php posts_nav_link(" ", '← Previous','Next →' ); ?>
</div>
<?php else : ?>
<h3 class="archive-header"><?php _e('Not Found', "sauron"); ?></h3>
<p><?php _e('There are not posts belonging to this category or tag. Try searching below:', "sauron"); ?></p>
<div id="search-block-category"><?php get_search_form(); ?></div>
<?php endif; ?>
<?php
wp_reset_query();
if(comments_open())
{ ?>
<div class="comments-template">
<?php comments_template(); ?>
</div>
<?php
} ?>
</div>
<?php
if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
<aside id="sidebar2">
<div class="sidebar-container">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
<div class="clear"></div>
</div>
</aside>
<?php } ?>
</div>
</div>
<?php get_footer(); ?>