PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.0.41
Post Grid Gutenberg Blocks – PostX v5.0.41
5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 5.0.17 2.1.1 All 238 releases
← All changes | blocks/Post_Grid_7.php +8 -8 5.0.315.0.41 View file →
@@ -272,16 +272,16 @@
272 272 // Loading
273 273 $wraper_before .= ultimate_post()->postx_loading();
274 274
275 275 if ( $attr['headingShow'] || $attr['filterShow'] || $attr['paginationShow'] ) {
276 - $wraper_before .= '<div class="ultp - heading - filter">';
277 - $wraper_before .= '<div class="ultp - heading - filter - in">';
276 + $wraper_before .= '<div class="ultp-heading-filter">';
277 + $wraper_before .= '<div class="ultp-heading-filter-in">';
278 278
279 279 // Heading
280 280 include ULTP_PATH . 'blocks/template/heading.php';
281 281
282 282 if ( $attr['filterShow'] || $attr['paginationShow'] ) {
283 - $wraper_before .= '<div class="ultp - filter - navigation">';
283 + $wraper_before .= '<div class="ultp-filter-navigation">';
284 284
285 285 // Filter
286 286 if ( $attr['filterShow'] && $attr['queryType'] != 'posts' && $attr['queryType'] != 'customPosts' ) {
287 287 include ULTP_PATH . 'blocks/template/filter.php';
@@ -297,9 +297,9 @@
297 297 $wraper_before .= '</div>';
298 298 $wraper_before .= '</div>';
299 299 }
300 300
301 - $wraper_before .= '<div class="ultp - block - items - wrap ultp - block - row ultp - ' . $attr['layout'] . '">';
301 + $wraper_before .= '<div class="ultp-block-items-wrap ultp-block-row ultp-' . $attr['layout'] . '">';
302 302 $idx = 0;
303 303 while ( $recent_posts->have_posts() ) :
304 304 $recent_posts->the_post();
305 305
@@ -317,13 +317,13 @@
317 317 $unique_ID[ $attr['queryUnique'] ][] = $post_id;
318 318 $current_unique_posts[] = $post_id;
319 319 }
320 320
321 - $post_loop .= '<' . $attr['contentTag'] . ' class="ultp - block - item post - id - ' . $post_id . ' ultp - block - item - ' . $idx . ( $attr['titleAnimation'] ? ' ultp - animation - ' . $attr['titleAnimation'] : '' ) . '">';
322 - $post_loop .= '<div class="ultp - block - content - wrap ultp - block - content - overlay">';
321 + $post_loop .= '<' . $attr['contentTag'] . ' class="ultp-block-item post-id-' . $post_id . ' ultp-block-item-' . $idx . ( $attr['titleAnimation'] ? ' ultp-animation-' . $attr['titleAnimation'] : '' ) . '">';
322 + $post_loop .= '<div class="ultp-block-content-wrap ultp-block-content-overlay">';
323 323
324 324 if ( ( $post_thumb_id || $attr['fallbackEnable'] ) && $attr['showImage'] ) {
325 - $post_loop .= '<div class="ultp - block - image ultp - block - image - ' . $attr['imgAnimation'] . ( $attr['imgOverlay'] ? ' ultp - block - image - overlay ultp - block - image - ' . $attr['imgOverlayType'] : '' ) . '">';
325 + $post_loop .= '<div class="ultp-block-image ultp-block-image-' . $attr['imgAnimation'] . ( $attr['imgOverlay'] ? ' ultp-block-image-overlay ultp-block-image-' . $attr['imgOverlayType'] : '' ) . '">';
326 326 $srcset = $attr['imgSrcset'] ? 'srcset="' . esc_attr( wp_get_attachment_image_srcset( $post_thumb_id ) ) . '"' : '';
327 327 // Post Image Size
328 328 $imgSize = $idx == 0 ? $attr['imgCrop'] : $attr['imgCropSmall'];
329 329 $post_loop .= '<a href="' . $titlelink . '" ' . ( $attr['openInTab'] ? 'target="_blank"' : '' ) . '>';
@@ -336,9 +336,9 @@
336 336 $post_loop .= ultimate_post()->get_image( $attr['fallbackImg']['id'], $imgSize, '', $title, $attr['imgSrcset'], $attr['imgLazy'] );
337 337 } else {
338 338 // Default Fallback Image
339 339 $video = ultimate_post()->get_youtube_id( $post_video );
340 - $post_loop .= '<img src="' . ( $video ? 'https:// img.youtube.com/vi/' . $video . '/0.jpg' : $dummy_url ) . '" alt="dummy-img" />';
340 + $post_loop .= '<img src="' . ( $video ? 'https://img.youtube.com/vi/' . $video . '/0.jpg' : $dummy_url ) . '" alt="dummy-img" />';
341 341 }
342 342 }
343 343 $post_loop .= '</a>';
344 344 if ( ( $attr['catPosition'] != 'aboveTitle' ) && ( $idx == 0 || $attr['showSmallCat'] || ( $idx == 3 && $attr['layout'] == 'layout4' ) ) && $attr['catShow'] ) {