Current File : /home/kelaby89/teamhachem.com/wp-content/themes/artkombat/tmpl/content-post-full.php
<?php
/**
 * Full blog post
 */

if ( function_exists( 'FW' ) ) {

	$gallery_files = fw_get_db_post_option(get_The_ID(), 'gallery');
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php
		if ( !empty( $gallery_files ) ) {

			echo '
			<div class="swiper-container ltx-post-gallery" data-autoplay="4000">
				<div class="swiper-wrapper">';

			foreach ( $gallery_files as $item ) {

				echo '<a href="'.esc_url(get_the_permalink()).'" class="swiper-slide">';
					echo wp_get_attachment_image( $item['attachment_id'], 'artkombat-featured' );
				echo '</a>';
			}

			echo '</div>
				<div class="arrows">
					<a href="#" class="arrow-left fa fa-arrow-left"></a>
					<a href="#" class="arrow-right fa fa-arrow-right"></a>
				</div>
				<div class="swiper-pages"></div>
			</div>';
		}
			else	
		if ( has_post_thumbnail() ) {

			echo '<div class="image">';
				
				the_post_thumbnail( 'artkombat-post' );

			echo '</div>';
		}
	?>
    <div class="blog-info blog-info-post-top">
		<?php

            echo '<div class="blog-info-left">';

				echo '<span class="ltx-date"><span class="dt">'.get_the_date().'</span></span>';

            echo '</div>';

            artkombat_the_post_info();
        ?>
    </div>
    <div class="description">
        <div class="text text-page">
			<?php
				the_content();
				wp_link_pages( array(
					'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'artkombat' ) . '</span>',
					'after'       => '</div>',
					'link_before' => '<span>',
					'link_after'  => '</span>',
				) );
			?>
        </div>
    </div>	    
    <div class="clearfix"></div>
    <div class="blog-info-post-bottom">
		<?php
			if (has_tag() OR artkombat_plugin_is_active( 'simple-share-buttons-adder' )) {

				echo '<div class="tags-line">';

					echo '<div class="tags-line-left">';
						if ( has_tag() ) {

							echo '<span class="tags">';

								if ( sizeof( get_the_tags() ) <= 4 ) {

									echo '<span class="header">' . esc_html__( 'Tags:', 'artkombat' ) . '</span>';
								}

								the_tags( '<span class="tags-short">', '', '</span>' );
							echo '</span>';
						}

						if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && artkombat_categorized_blog() ) {

							echo '<div class="cats-many">';
								echo '<span class="header">' . esc_html__( 'Categories:', 'artkombat' ) . '</span>';
								echo get_the_category_list( esc_html_x( ' / ', 'Used between list items, there is a space after the comma.', 'artkombat' ) );
							echo '</div>';
						}					
					echo '</div>';
					echo '<div class="tags-line-right">';

						if ( shortcode_exists('ltx-share-icons') ) {

							echo do_shortcode( '[ltx-share-icons]' );
						}

					echo '</div>';

				echo '</div>';
			}
		?>	
    </div>	
    <?php 
		artkombat_author_bio();

		artkombat_related_posts(get_the_ID());
    ?>
</article>
Page not found – Hello World !