<div class="pp-content-grid-content pp-post-content content-type-<?php echo 'content' == $settings->content_type ? 'limited' : $settings->content_type; ?>">
    <?php
	if ( $settings->show_content == 'custom' && isset( $settings->custom_content ) ) {
		$themer_parse_shortcodes = apply_filters( 'pp_cg_beaver_themer_parse_shortcodes', true, $settings );
		if ( is_callable( 'FLThemeBuilderFieldConnections::parse_shortcodes' ) && $themer_parse_shortcodes ) {
			if ( is_callable( 'FLThemeBuilderFieldConnections::connect_settings' ) ) {
				$settings = FLThemeBuilderFieldConnections::connect_settings( $settings );
			}
			echo FLThemeBuilderFieldConnections::parse_shortcodes( $settings->custom_content );
		} else {
			echo $settings->custom_content;
		}
	} else {
		if ( $settings->content_type == 'excerpt' ) :
			the_excerpt();
		endif;
		if ( $settings->content_type == 'content' ) :
			$more = '...';
			echo wp_trim_words( get_the_content(), $settings->content_length, apply_filters( 'pp_cg_content_limit_more', $more ) );
		endif;
		if ( $settings->content_type == 'full' ) :
			echo wpautop( get_the_content() );
		endif;
	}
    ?>
</div>
