<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals

defined( 'ABSPATH' ) || exit;

?>
<div class="wfp-modal-header"><?php

	require __DIR__ . '/_check_category_markup.php';

	require __DIR__ . '/_check_featured_markup.php';

if ( $wfp_title_enable === \WfpFundraising\Apps\Key::WFP_YES ) :

	// We know for sure in this template modal is no

	?><h4 class="wfp-post-title"><?php echo esc_html( $post->post_title ); ?></h4>
		<?php

	endif;

	require __DIR__ . '/_check_excerpt_markup.php';
?>

</div>

<div class="wfdp-donation-message" ></div>
<?php


/**
 * before content data, if there any
 */
if ( isset( $wfpFormContentData->enable ) ) {

	require __DIR__ . '/form_content_before.php';
}


/**
 * Show goal data
 */
if ( $wfp_enable_goal == 'Yes' ) {

	require __DIR__ . '/goal_content.php';
}


/**
 * amount content
 */
require __DIR__ . '/amount-content.php';


if ( $wfpPaymentType == 'default' ) {

	require __DIR__ . '/form_content_fields.php';

	include __DIR__ . '/payment_options_content.php';
}


/**
 * After content data, if there any
 */
if ( isset( $wfpFormContentData->enable ) ) {

	require __DIR__ . '/form_content_after.php';
}
