Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/hessa.corals.io/wp-content/plugins/powerkit/modules/posts/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/hessa.corals.io/wp-content/plugins/powerkit/modules/posts/public/posts-template.php
<?php
/**
 * Posts Template
 *
 * @link       https://codesupply.co
 * @since      1.0.0
 *
 * @package    PowerKit
 * @subpackage PowerKit/templates
 */

/**
 * Default Template
 *
 * @param array $posts    Array of posts.
 * @param array $params   Array of params.
 * @param array $instance Widget instance.
 */
function powerkit_widget_featured_posts_template( $posts, $params, $instance ) {
	?>
	<article <?php post_class(); ?>>
		<div class="pk-post-outer">
			<?php
				$thumbnail_size = ( 'large' === $params['template'] ) ? 'pk-thumbnail' : 'pk-small';

				$thumbnail_size = apply_filters( 'powerkit_widget_featured_posts_size', $thumbnail_size, $params, $instance );
			?>
			<?php if ( has_post_thumbnail() ) { ?>
				<div class="pk-post-inner pk-post-thumbnail">
					<a href="<?php the_permalink(); ?>" class="post-thumbnail">
						<?php the_post_thumbnail( $thumbnail_size ); ?>

						<?php if ( 'numbered' === $params['template'] ) : ?>
							<span class="pk-post-number pk-bg-primary">
								<?php echo esc_html( $posts->current_post + 1 ); ?>
							</span>
						<?php endif; ?>
					</a>
				</div>
			<?php } ?>

			<div class="pk-post-inner pk-post-data">
				<?php
					powerkit_get_post_meta( 'category', (bool) $params['post_meta_compact'], true, $params['post_meta'] );
				?>

				<?php
				$tag = ( 'large' === $params['template'] ) ? 'h5' : 'h6';

				$tag = apply_filters( 'powerkit_widget_featured_posts_title_tag', $tag, $params, $instance );
				?>

				<<?php echo esc_html( $tag ); ?> class="entry-title">
					<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
				</<?php echo esc_html( $tag ); ?>>

				<?php
					powerkit_get_post_meta( powerkit_allowed_post_meta( true, 'category' ), (bool) $params['post_meta_compact'], true, $params['post_meta'] );
				?>
			</div>
		</div>
	</article>
	<?php
}

Spamworldpro Mini