芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/jet-elements/templates/jet-button/global/index.php
get_settings_for_display( 'button_icon_position' ); if ( ! in_array( $position, $allowed_positions ) ) { $position = 'left'; } $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-' . esc_attr( $position ) ); $this->add_render_attribute( 'jet-button', 'class', 'hover-' . esc_attr( $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' ); // phpcs:ignore ?>>
_icon( 'button_icon_normal', '
%s
' ); // phpcs:ignore } echo $this->_html( 'button_label_normal', '
%s
' ); // phpcs:ignore ?>
_icon( 'button_icon_hover', '
%s
' ); // phpcs:ignore } echo $this->_html( 'button_label_hover', '
%s
' ); // phpcs:ignore ?>
>