save
This commit is contained in:
@@ -109,9 +109,9 @@ class Elementor_Button_Addon extends \Elementor\Widget_Base {
|
||||
if ( ! empty( $settings['link']['url'] ) ) {
|
||||
$this->add_link_attributes( 'url', $settings['link'] );
|
||||
|
||||
$title = sprintf( '<a %1$s class="addon-btn-title">%2$s <div class="elementor-icon"><i aria-hidden="true" class=" ti-arrow-top-right"></i></div></a>', $this->get_render_attribute_string( 'url' ), $title );
|
||||
$title = sprintf( '<a %1$s class="addon-btn-title"><span>%2$s</span><div class="elementor-icon"><i aria-hidden="true" class=" ti-arrow-top-right"></i></div></a>', $this->get_render_attribute_string( 'url' ), $title );
|
||||
} else {
|
||||
$title = sprintf( '<p class="addon-btn-title">%1$s <div class="elementor-icon"><i aria-hidden="true" class=" ti-arrow-top-right"></i></div></p>', $title );
|
||||
$title = sprintf( '<p class="addon-btn-title"><span>%1$s</span><div class="elementor-icon"><i aria-hidden="true" class=" ti-arrow-top-right"></i></div></p>', $title );
|
||||
}
|
||||
|
||||
echo $title;
|
||||
|
||||
Reference in New Issue
Block a user