get_settings_for_display( 'button_icon_position' ); $use_icon = $this->get_settings_for_display( 'use_button_icon' ); $hover_effect = $this->get_settings_for_display( 'hover_effect' ); $this->add_render_attribute( 'jet-button', 'class', 'jet-button__instance' ); $this->add_render_attribute( 'jet-button', 'class', 'jet-button__instance--icon-' . $position ); $this->add_render_attribute( 'jet-button', 'class', 'hover-' . $hover_effect ); $tag = 'div'; if ( ! empty( $settings['button_url']['url'] ) ) { if ( method_exists( $this, 'add_link_attributes' ) ) { $this->add_link_attributes( 'jet-button', $settings['button_url'] ); } else { $this->add_render_attribute( 'jet-button', 'href', $settings['button_url']['url'] ); if ( $settings['button_url']['is_external'] ) { $this->add_render_attribute( 'jet-button', 'target', '_blank' ); } if ( $settings['button_url']['nofollow'] ) { $this->add_render_attribute( 'jet-button', 'rel', 'nofollow' ); } } $tag = 'a'; } ?>
< get_render_attribute_string( 'jet-button' ); ?>>
_icon( 'button_icon_normal', '%s' ); } echo $this->_html( 'button_label_normal', '%s' ); ?>
_icon( 'button_icon_hover', '%s' ); } echo $this->_html( 'button_label_hover', '%s' ); ?>
>