HEX
Server: Apache
System: Linux host.hizmetvakfi.org 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 x86_64
User: sinanpasha (1007)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/sinanpasha/ru.sinanpasha.org/wp-content/themes/pulse/loop.php
<?php
 
 	if (is_front_page()) { 
		$excluded = option::get('exclude_cats_recent');
		if (is_array($excluded) && count($excluded) > 0) {
			$excluded = implode(',-', option::get('exclude_cats_recent'));
			$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
			query_posts($query_string . '&cat=-' . $excluded . '&paged=' . $paged); 
		}
    }

    while (have_posts()) : the_post(); 
?>

	<div id="post-<?php the_ID(); ?>" class="recent-post">
		
		<div class="post-meta">
			<?php if (option::get('display_category') == 'on') { ?><span><?php the_category(','); ?></span><?php } ?>
			<?php if (option::get('display_author') == 'on') { ?><span><?php _e('by', 'wpzoom'); ?> <?php the_author_posts_link(); ?></span><?php } ?>
			<?php if (option::get('display_date') == 'on') { ?><span><?php printf( __('%s at %s', 'wpzoom'),  get_the_date(), get_the_time()); ?></span><?php } ?>
			<?php if (option::get('display_comments') == 'on') { ?><?php comments_popup_link( __('0 comments', 'wpzoom'), __('1 comment', 'wpzoom'), __('% comments', 'wpzoom'), '', __('Comments are Disabled', 'wpzoom')); ?><?php } ?>
			<?php edit_post_link( __('Edit', 'wpzoom'), '<span>', '</span>'); ?>	
		</div><!-- /.post-meta -->
		
		<div class="post-content">
		
			<?php if (option::get('index_thumb') == 'on') { 
				  
 				get_the_image( array( 'size' => 'thumbnail', 'width' => option::get('thumb_width'), 'height' => option::get('thumb_height'), 'before' => '<div class="post-thumb">', 'after' => '</div>' ) );

				} ?>
				
			<h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'wpzoom' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
			
			<div class="entry">
				<?php if (option::get('display_content') == 'Full Content') {  the_content(''); } else { the_excerpt(); } ?>
			</div><!-- /.entry -->
			
		</div><!-- /.post-content -->
		<div class="clear"></div>

	</div><!-- #post-<?php the_ID(); ?> -->

<?php endwhile; ?>
<?php get_template_part( 'pagination'); ?>
<?php wp_reset_query(); ?>