Changeset 2332028
- Timestamp:
- 06/28/2020 07:00:19 PM (6 years ago)
- Location:
- windzfare/trunk
- Files:
-
- 2 edited
-
includes/Helpers/Shortcodes.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windzfare/trunk/includes/Helpers/Shortcodes.php
r2323687 r2332028 279 279 280 280 <?php while ( $c_query->have_posts() ) : $c_query->the_post(); 281 $campaign_id = get_the_ID(); 281 $args['campaign_id'] = get_the_ID(); 282 283 282 284 if ( $args['show'] == 'successful' ): 283 285 if ( Utils::is_reach_target_goal() ): 284 Partials::output_causes_grid_carousel_part( $ campaign_id);286 Partials::output_causes_grid_carousel_part( $args ); 285 287 endif; 286 288 elseif ( $args['show'] == 'expired' ): 287 289 if ( Utils::date_remaining() == false ): 288 Partials::output_causes_grid_carousel_part( $ campaign_id);290 Partials::output_causes_grid_carousel_part( $args ); 289 291 endif; 290 292 elseif ( $args['show'] == 'valid' ): 291 293 if ( Utils::is_campaign_valid() ): 292 Partials::output_causes_grid_carousel_part( $ campaign_id);294 Partials::output_causes_grid_carousel_part( $args ); 293 295 endif; 294 296 else: 295 Partials::output_causes_grid_carousel_part( $ campaign_id);297 Partials::output_causes_grid_carousel_part( $args ); 296 298 endif; 297 299 endwhile; ?> … … 299 301 <?php 300 302 else: 301 Partials::output_causes_grid_carousel_part( );303 Partials::output_causes_grid_carousel_part( ); 302 304 endif; 303 305 ?></div><?php 304 306 $html = ob_get_clean(); 307 305 308 wp_reset_postdata(); 306 309 return $html; -
windzfare/trunk/readme.txt
r2329195 r2332028 5 5 Tested up to: 5.4 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 64 64 = 1.0.4 - 2020-06-14 = 65 65 * Improve frontend design 66 67 = 1.0.5 - 2020-06-29 = 68 * Resolve campaign carousel display issue
Note: See TracChangeset
for help on using the changeset viewer.