PluginProbe ʕ •ᴥ•ʔ
Spider Elements – Premium Elementor Widgets & Addons Library / 1.5.0
Spider Elements – Premium Elementor Widgets & Addons Library v1.5.0
trunk 1.0.0 1.1.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 1.8.0 1.9.0
spider-elements / widgets / templates / blog-grid / blog-5.php
spider-elements / widgets / templates / blog-grid Last commit date
blog-1.php 1 year ago blog-2.php 1 year ago blog-3.php 1 year ago blog-4.php 1 year ago blog-5.php 1 year ago
blog-5.php
39 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 }
5 ?>
6 <section class="blog-section-six">
7 <div class="card-wrapper category-slider-one" data-rtl="<?php echo esc_attr(spel_rtl()) ?>">
8 <?php
9 while ( $post_query->have_posts() ) {
10 $post_query->the_post();
11 $thumbnail_url = get_the_post_thumbnail_url( get_the_ID(), 'full' );
12 $thumbnail_url = $thumbnail_url ? 'style="background-image: url(' . esc_url( $thumbnail_url ) . ');"' : '';
13 ?>
14 <div class="item item-margin">
15 <div class="card-style-six position-relative" <?php echo $thumbnail_url ?>>
16 <a href="<?php the_permalink(); ?>" class="blog-item-six w-100 h-100 d-flex align-items-end">
17 <h2 class="blog-six-title text-lg"><?php echo spel_get_title_length( $settings, 'title_length' ) ?></h2>
18 </a>
19 </div>
20 </div>
21 <?php
22 }
23 wp_reset_postdata();
24 ?>
25 </div>
26 <?php
27 if ( ! empty( $settings['left_arrow_icon']['value'] ) || ! empty( $settings['right_arrow_icon']['value'] ) ) { ?>
28 <span class="blog-slider-arrows d-flex justify-content-center">
29 <span class="prev_d blog-slick-arrow">
30 <?php \Elementor\Icons_Manager::render_icon( $settings['left_arrow_icon'], [ 'aria-hidden' => 'true' ] ); ?>
31 </span>
32 <span class="next_d blog-slick-arrow">
33 <?php \Elementor\Icons_Manager::render_icon( $settings['right_arrow_icon'], [ 'aria-hidden' => 'true' ] ); ?>
34 </span>
35 </span>
36 <?php
37 }
38 ?>
39 </section>