LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/
File Upload :
Command :
Current File : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/related-posts-classic.php

<?php
/**
 * The template 'Style 2' to displaying related posts
 *
 * @package WordPress
 * @subpackage HALLELUJAH
 * @since HALLELUJAH 1.0
 */

$hallelujah_link        = get_permalink();
$hallelujah_post_format = get_post_format();
$hallelujah_post_format = empty( $hallelujah_post_format ) ? 'standard' : str_replace( 'post-format-', '', $hallelujah_post_format );

$author_id = get_the_author_meta( 'ID' );
if ( empty( $author_id ) && ! empty( $GLOBALS['post']->post_author ) ) {
    $author_id = $GLOBALS['post']->post_author;
}
$author_link   = get_author_posts_url( $author_id );
$author_name   = get_the_author_meta( 'display_name', $author_id );

?><div id="post-<?php the_ID(); ?>" <?php post_class( 'related_item post_format_' . esc_attr( $hallelujah_post_format ) ); ?> data-post-id="<?php the_ID(); ?>">
	<?php
	hallelujah_show_post_featured(
		array(
			'thumb_size'    => apply_filters( 'hallelujah_filter_related_thumb_size', hallelujah_get_thumb_size( (int) hallelujah_get_theme_option( 'related_posts' ) == 1 ? 'huge' : 'big' ) ),
		)
	);
	?>
	<div class="post_header entry-header">
		<?php
		if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) {
			?>
			<div class="post_meta">
				<a href="<?php echo esc_url( $hallelujah_link ); ?>" class="post_meta_item post_date"><?php echo wp_kses_data( hallelujah_get_date() ); ?></a>
                <span><a class="post_author" rel="author" href="<?php hallelujah_show_layout(esc_url( $author_link )) ?>">  <?php hallelujah_show_layout(esc_html( $author_name ))?></a></span>
			</div>
			<?php
		}
		?>
		<h6 class="post_title entry-title"><a href="<?php echo esc_url( $hallelujah_link ); ?>"><?php the_title(); ?></a></h6>
	</div>
</div>

LittleDemon - FACEBOOK
[ KELUAR ]