| 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 Category 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">
<h1 class="arc-post-title"><?php single_cat_title(); ?></h1>
<?php if(trim(category_description()) != "<br />" && trim(category_description()) != ''): ?>
<div class="post-meta"><?php echo category_description(); ?></div><br />
<?php endif;
if (have_posts()) : ?>
<div class="fsubhcontainer">
<?php $newspress_counterc =0; while (have_posts()) : the_post(); $newspress_counterc++; ?>
<?php if ( $newspress_counterc == 2 ): echo '<div class="clear"></div>'; $newspress_counterc = 1; else: $newspress_counterc++; endif; ?>
<div class="fsubheading" >
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink(); ?>">
<h2 class="post-title"><?php the_title();?></h2>
<div class="entrytext"><?php the_post_thumbnail('post-page'); $newspress_excerptlength= '30'; the_excerpt(); ?></div></a>
<div class="clear"> </div>
</div></div>
<?php endwhile; newspress_page_nav(); ?>
</div>
<?php else: newspress_404(); endif; ?>
</div><!--close content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>