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,10 @@
<?php
/**
* Loop end template
*/
?></div><?php
if ( filter_var( $this->get_settings_for_display( 'arrows' ), FILTER_VALIDATE_BOOLEAN ) ) {
echo sprintf( '<div class="jet-carousel__prev-arrow-%s jet-arrow prev-arrow">%s</div>', $this->get_id(), $this->__render_icon( 'prev_arrow', '%s', '', false ) );
echo sprintf( '<div class="jet-carousel__next-arrow-%s jet-arrow next-arrow">%s</div>', $this->get_id(), $this->__render_icon( 'next_arrow', '%s', '', false ) );
}
?></div>

View File

@@ -0,0 +1,39 @@
<?php
/**
* Loop item template
*/
$target = $this->__loop_item( array( 'item_link_target' ), ' target="%s"' );
$rel = $this->__loop_item( array( 'item_link_rel' ), ' rel="%s"' );
$item_settings = $this->__processed_item;
$content_type = ! empty( $item_settings['item_content_type'] ) ? $item_settings['item_content_type'] : 'default';
?>
<div class="jet-carousel__item">
<div class="jet-carousel__item-inner">
<figure class="jet-banner jet-effect-<?php echo esc_attr( $this->get_settings_for_display( 'animation_effect' ) ); ?>"><?php
if ($item_settings['item_content_type'] == 'default') {
echo $this->__loop_item( array( 'item_link' ), '<a href="%s" class="jet-banner__link"' . $target . $rel . '>' );
}
echo '<div class="jet-banner__overlay"></div>';
echo $this->get_advanced_carousel_img( 'jet-banner__img' );
echo '<figcaption class="jet-banner__content">';
echo '<div class="jet-banner__content-wrap">';
switch ( $content_type ) {
case 'default':
echo $this->__loop_item( array( 'item_title' ), '<' . $title_tag . ' class="jet-banner__title">%s</' . $title_tag . '>' );
echo $this->__loop_item( array( 'item_text' ), '<div class="jet-banner__text">%s</div>' );
break;
case 'template':
echo $this->__loop_item_template_content();
break;
}
echo '</div>';
echo '</figcaption>';
echo $this->__loop_item( array( 'item_link' ), '</a>' );
?></figure>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<?php
/**
* Loop start template
*/
$options = $this->get_advanced_carousel_options();
$title_tag = $this->get_settings_for_display( 'title_html_tag' );
$dir = is_rtl() ? 'rtl' : 'ltr';
?><div class="jet-carousel" data-slider_options="<?php echo htmlspecialchars( json_encode( $options ) ); ?>" dir="<?php echo $dir; ?>">
<div class="elementor-slick-slider">