Your IP : 216.73.216.165


Current Path : /var/www/html/wp-content/themes/church-event/templates/post/
Upload File :
Current File : /var/www/html/wp-content/themes/church-event/templates/post/content.php

<?php
/**
 * Post content template
 *
 * @package wpv
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

$page_links = VamtamTemplates::custom_link_pages( array(
	'before' => '<div class="wp-pagenavi"><span class="visuallyhidden">' . __( 'Pages:', 'church-event' ) . '</span>',
	'after' => '</div>',
	'echo' => false,
) );

if ( empty( $post_data['content'] ) && ! isset( $post_data['media'] ) && ( is_single() ? ! VamtamTemplates::has_share( 'post' ) : true ) && empty( $page_links ) ) {
	return;
}

?>
<div class="post-content the-content">
	<?php
		do_action('wpv_before_post_content');

		if(!empty($post_data['content'])) {
			if(!is_single() || !has_post_format('quote'))
				echo $post_data['content'];
		}

		do_action('wpv_after_post_content');

		echo $page_links;
	?>
</div>