GhostManSec
Server: Apache
System: Linux webm003.cluster115.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: eliteafr (153088)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/eliteafr/www/wp-content/themes/cosmica/template-parts/content-home.php
<article id="post-<?php the_ID(); ?>" <?php post_class('swiper-slide col-md-4 home-post'); ?>>
	<div class="post-inner wow slideInUp">
		<header class="entry-header">
				<?php  the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );  ?>
		</header><!-- .entry-header -->
		<?php if ( has_post_thumbnail() ) : ?>
			<div class="post-img"> <?php the_post_thumbnail(); ?> </div>
		<?php endif; ?>
		<div class="entry-meta">
			<?php if ( 'post' == get_post_type() ) : 
			printf('<div class="bypostauthor vcard author">
						<span class="fn n"> <a  href="%1$s" title="%2$s" rel="author">%3$s</a> </span>
					</div>',
					esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
					esc_attr( sprintf( __( 'View all posts by %s', 'cosmica' ), get_the_author() ) ),
					get_the_author()
				);
			endif; ?>

			<div class="date updated"> <?php  cosmica_entry_date(); ?> </div>
			<?php $comments_count = wp_count_comments(get_the_id());  
			if($comments_count->approved > 0 ){ 
					$comments_str = ($comments_count->approved > 1)?__('Comments','cosmica'):__('Comment','cosmica');
			?>
				<div class="coments-count"> <a href="<?php echo esc_url( get_permalink() );?>#comments"> <?php echo number_format_i18n($comments_count->approved).' '.$comments_str; ?> </a> </div>
			<?php
			 }

				$categories_list = get_the_category_list( __( ', ', 'cosmica' ) ); 
				if ( $categories_list ) { 
			?>	<div class="categories-links"> 	<?php echo $categories_list; ?> </div>

			<?php	} ?>

			
			<?php if(current_user_can( 'edit_posts' )):?><div class="edit-link">	<?php edit_post_link( __( 'Edit', 'cosmica' ), '<span class="edit-link">', '</span>' ); ?> </div> <?php endif; ?>
		</div><!-- .entry-meta -->
		<div class="entry-summary">
					<?php
						the_excerpt();
					?>
					<a class="read-more" href="<?php the_permalink(); ?>"> <?php _e('Read More', 'cosmica'); ?></a>

		</div><!-- .entry-content --> 
		<footer class="post-footer">
			 <?php $tag_list = get_the_tag_list( '', __( ', ', 'cosmica' ) );
				if ( $tag_list ) {
			?>
				<div class="tags-links"> <?php echo $tag_list ; ?> </div>

			<?php	} ?> 

		</footer>	
	</div>
</article><!-- #post-## -->