} ?> <div class="row zo-grid <?php echo esc_attr($atts['grid_class']); ?> "> <?php $posts = $atts['posts']; while ($posts->have_posts()) { $posts->the_post(); $groups = array(); $groups[] = '"all"'; foreach (zoGetCategoriesByPostID(get_the_ID()) as $category) { $groups[] = '"category-' . $category->slug . '"'; } $team_meta = zo_post_meta_data(); $zo_title_size = isset($atts['zo_title_size']) ? $atts['zo_title_size'] : 'h2'; ?> <div class="zo-team-wrap <?php echo esc_attr($atts['item_class']); ?> " data-groups='[<?php echo implode(',', $groups); ?> ]'> <div class="zo-team-header"> <div class="zo-team-image"> <?php echo the_post_thumbnail('full'); ?> <div class="overlay">
/** * The default template for displaying content * * * @package ZoTheme * @subpackage Zo Theme * @since 1.0.0 */ global $smof_data; $zo_title_size = isset($atts['zo_title_size']) ? $atts['zo_title_size'] : 'h2'; $currency = apply_filters('zo_currency', ZoDonationsPageSetting::$currency); $zo_currency = get_option('zo_currency', 'USD'); $symbol_position = get_option('symbol_position', 0); $symbol = $currency[$zo_currency]['symbol']; $post_meta = zo_post_meta_data(); $result = apply_filters('zo_getmetadonors', get_the_ID()); $goal = get_post_meta(get_the_ID(), 'zodonations_goals', true); $zodonations_location = get_post_meta(get_the_ID(), 'zodonations_location', true); $zodonations_endday = get_post_meta(get_the_ID(), 'zodonations_endday', true); $width = '50'; if ($result['raised'] < $goal) { $width = round($result['raised'] * 100 / $goal, 2); } ?> <article id="post-<?php the_ID(); ?> " <?php post_class('zo-cause-list'); ?>
echo esc_attr($atts['template']); ?> " id="<?php echo esc_attr($atts['html_id']); ?> "> <div class="zo-grid <?php echo esc_attr($atts['grid_class']); ?> zo-gird-pricing-item-wrap"> <?php $posts = $atts['posts']; while ($posts->have_posts()) { $posts->the_post(); $zo_title_size = isset($atts['zo_title_size']) ? $atts['zo_title_size'] : 'h2'; $pricing_meta = zo_post_meta_data(); if (strpos($pricing_meta->_zo_price, '.') !== false) { $price = explode('.', esc_attr($pricing_meta->_zo_price)); } ?> <div class="zo-grid-item-pricing <?php echo esc_attr($atts['item_class']); ?> <?php echo $pricing_meta->_zo_is_feature == 1 ? ' pricing-feature-item' : 'pricing-item'; ?> "> <div class="zo-grid-item-pricing-inner"> <div class="zo-grid-pricing-wrap"> <?php if ($pricing_meta->_zo_is_feature == 1) {