get_settings_for_display( 'blockquote' );
$author = $this->get_settings_for_display( 'author' );
$with_icon = ( 'yes' === $this->get_settings_for_display( 'show_icon' ) ? 'with-icon' : '' );
?>
'"Top improve is to change; to be perfect is to change often."
— WINSTON CHURCHILL',
] );
/**
* Group: Blockquote Section
*/
$this->start_controls_section( 'blockquote_section', [
'label' => esc_html__( 'Blockquote', 'copy-the-code' ),
] );
$this->add_control( 'blockquote', [
'label' => esc_html__( 'Blockquote', 'copy-the-code' ),
'type' => Controls_Manager::TEXTAREA,
'default' => '"Top improve is to change; to be perfect is to change often."',
'rows' => 10,
] );
$this->add_control( 'author', [
'label' => esc_html__( 'Author', 'copy-the-code' ),
'type' => Controls_Manager::TEXT,
'default' => '— WINSTON CHURCHILL',
] );
$this->end_controls_section();
// Copy Button Section.
Helpers::register_copy_button_section( $this, [
'button_text' => esc_html__( 'Copy Blockquote', 'copy-the-code' ),
] );
Helpers::register_pro_sections( $this, [
'Quote Box',
'Message Box',
'Quote',
'Author'
] );
// Copy Button Style Section.
Helpers::register_copy_button_style_section( $this );
}
}