AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ludmqhh/www/guillaume/wp-content/themes/flexblog/templates/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/guillaume/wp-content/themes/flexblog/templates/single-post.php
<?php 
// Get Data
$content_options 	 = get_option( 'infinity_content' );	
$disable_feature_img = get_post_meta( get_the_ID(), 'hide-feature-media', true );
?>

<!-- Single Post -->
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
			
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>	
	
	<!-- Post Media -->
	<?php 
	if ( !$disable_feature_img && $content_options['post_header'] === 'below-media' ) {
		get_template_part( 'post-formats/full/content', get_post_format() );
	} ?>

	<!-- Post Header -->
	<header class="entry-header">			
		<?php		
		// The Categories
		$category_list = get_the_category_list( ', ' );
		if ( $category_list && $content_options['post_categories'] ) {
			echo '<div class="meta-categories"><span class="category-prefix">'. esc_html__( 'In', 'flexblog' ) .'</span>' . $category_list . ' </div>';
		} ?>
		
		<!-- Post Title -->
		<h2 class="post-title">
			<?php the_title(); ?>
		</h2>
		

		<!-- Post Author and Date -->
		<div class="meta-author-date">
			<?php
			
			// Post Date
			if ( $content_options['post_date'] ) {

				// Get the date
				echo '<span class="meta-date">';
				echo get_the_time( get_option('date_format') );
				echo '</span>';
			}

			// Post Author
			if ( $content_options['post_author'] ) {
				echo '<span class="author-prefix">'. esc_html__( 'By', 'flexblog' ) .'</span>';
				printf(
					'<a href="%1$s" rel="author">%2$s</a>',
					esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
					get_the_author()
				);
			} ?>
		</div>
	</header>
	
	<!-- Post Media -->
	<?php 
	if ( !$disable_feature_img && $content_options['post_header'] === 'above-media' ) {
		get_template_part( 'post-formats/full/content', get_post_format() );
	} ?>

	<!-- Post Content -->
	<div class="entry-content">
	<?php
	the_content('');
	wp_link_pages( array(
		'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'flexblog' ) . '</span>',
		'after'       => '</div>',
		'link_before' => '<span>',
		'link_after'  => '</span>',
	) ); ?>
	</div>

	
	<!-- Article footer -->
	<footer class="entry-footer">
		<?php
		// The tags
		$tag_list = get_the_tag_list( '<div class="meta-tags">','','</div>');
		if ( $tag_list && $content_options['post_tags'] ) {
			echo '' . $tag_list;
		}
		
		// Post share
		infinity_sharing();
		?>

		<div class="clear"></div>
	</footer>
</article>

<?php endwhile; ?>
<?php endif; ?>

AnonSec - 2021