first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
$settings = $this->get_settings_for_display();
$position = isset( $settings['download_icon_position'] ) ? $settings['download_icon_position'] : 'left';
?><a class="elementor-button elementor-size-md jet-download jet-download-icon-position-<?php echo $position; ?>" href="<?php echo jet_elements_download_handler()->get_download_link( $settings['download_file'] ); ?>"><?php
$icon_format = '<span class="jet-download__icon jet-download-icon-' . $position . ' jet-elements-icon">%s</span>';
$this->__icon( 'download_icon', $icon_format );
$label = $this->__get_html( 'download_label' );
$sublabel = $this->__get_html( 'download_sub_label' );
if ( $label || $sublabel ) {
echo '<span class="jet-download__text">';
printf(
'<span class="jet-download__label">%s</span>',
$this->__format_label( $label, $settings['download_file'] )
);
printf(
'<small class="jet-download__sub-label">%s</small>',
$this->__format_label( $sublabel, $settings['download_file'] )
);
echo '</span>';
}
?></a>