| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/themes/newspress-lite/ |
Upload File : |
<?php
/* News Press's Archive Page
Copyright: 2014-2022, D5 Creation, www.d5creation.com
Based on the Simplest D5 Framework for WordPress
Since NewsPress 1.0
*/
get_header(); ?>
<div id="content" class="arc-content">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h1 class="arc-post-title" ><?php single_cat_title(); ?></h1>
<?php if(trim(category_description()) != "<br />" && trim(category_description()) != '') { ?>
<div id="description"><?php echo category_description(); ?></div>
<?php }?>
<div class="clear"> </div>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h1 class="arc-post-title"><?php single_tag_title(); ?></h1>
<div class="clear"> </div>
<div class="tagcloud"><?php wp_tag_cloud(''); ?></div>
<div class="clear"> </div>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h1 class="arc-post-title"><?php echo get_the_date('l, F jS, Y'); ?></h1>
<div class="clear"> </div>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h1 class="arc-post-title"><?php echo get_the_date('F, Y'); ?></h1>
<div class="clear"> </div>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h1 class="arc-post-title"><?php echo get_the_date('Y'); ?></h1>
<div class="clear"> </div>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1 class="arc-post-title"><?php echo get_the_author(); ?></h1>
<div class="clear"> </div>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1 class="arc-post-title"><?php echo __('Archives','newspress-lite'); ?> </h1>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
<?php newspress_author_meta(); ?>
<div class="content-ver-sep"> </div>
<div class="entrytext"><?php the_post_thumbnail(); ?>
<?php $newspress_excerptlength= '90'; newspress_content(); ?>
<div class="clear"> </div>
<?php newspress_post_meta(); ?>
</div></div><br />
<?php endwhile; newspress_page_nav(); ?>
<?php else: newspress_404(); endif; ?>
</div><!--close content id-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>