get_instance_value( 'apply_to_custom_excerpt' );
// Force the manually-generated Excerpt length as well if the user chose to enable 'apply_to_custom_excerpt'.
if ( 'yes' === $apply_to_custom_excerpt && ! empty( $post->post_excerpt ) ) {
$max_length = (int) $this->get_instance_value( 'excerpt_length' );
$excerpt = apply_filters( 'the_excerpt', get_the_excerpt() );
$excerpt = ProUtils::trim_words( $excerpt, $max_length );
echo wp_kses_post( $excerpt );
} else {
the_excerpt();
}
?>
parent->get_settings_for_display();
$read_more_key = $this->get_control_id( 'read_more_text' );
$read_more = $settings[ $read_more_key ];
if ( ! $this->get_instance_value( 'show_read_more' ) ) {
return;
}
$aria_label_text = sprintf(
/* translators: %s: Post title. */
esc_attr__( 'Read more about %s', 'elementor-pro' ),
get_the_title()
);
$optional_attributes_html = $this->get_optional_link_attributes_html();
if ( $this->display_read_more_bottom() ) : ?>
>
display_read_more_bottom() ) : ?>
render_author();
}
if ( in_array( 'date', $settings ) ) {
$this->render_date_by_type();
}
if ( in_array( 'time', $settings ) ) {
$this->render_time();
}
if ( in_array( 'comments', $settings ) ) {
$this->render_comments();
}
if ( in_array( 'modified', $settings ) ) {
$this->render_date_by_type( 'modified' );
}
?>