comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <span class="meta-sep"> / </span> <span class="author-link"><?php the_author_posts_link(); ?> </span> <?php if (is_tag()) { ?> <span class="meta-sep"> / </span> <span class="tag-link"><?php the_tags('Tags: ', ', '); ?> </span> <?php } ?> </div> <p class="entry-content"> <?php echo wpo_excerpt(20); ?> </p> </div> </div> </div> </div> </article>
</div> <div class="entry-content"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> "> <?php the_title(); ?> </a> </h2> <div class="entry-description"> <?php echo wpo_excerpt(30); ?> </div> <div class="entry-meta hidden"> <span class="entry-date"><?php echo get_the_date(); ?> </span> <span class="meta-sep"> / </span> <span class="comment-count"> <?php comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <span class="meta-sep"> / </span>
"><?php the_title(); ?> </a> </h4> <?php } ?> <?php if (!has_excerpt()) { echo ""; } else { ?> <p class="entry-description"><?php echo wpo_excerpt(29, '...'); ?> </p> <?php } ?> </div> </article> <?php if ($i == $end - 1) { ?> </div> <?php } ?>
<?php $campaign = new ATCF_Campaign(get_the_ID()); $uid = wpo_makeid(); ?> <div class="item-campaign row item-layout-3"> <div class="col-xs-12"> <div class="campaign-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></div> <div class="campaign-des"><?php echo wpo_excerpt(30, '...'); ?> </div> </div> <div class="col-xs-12"> <div class="campaign-main-style-3"> <ul class="campaign-status text-center"> <li class="campaign-raised"> <span class="label"><?php _e('Current', TEXTDOMAIN); ?> </span> <span class="text"><?php echo esc_html($campaign->current_amount()); ?>
</a> <?php } ?> <h6> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </h6> <div class="content"> <?php echo wpo_excerpt(12, '...'); ?> </div> <div class="entry-meta"> <span class="published"><?php the_time('M d, Y'); ?> </span> <span class="meta-sep"> | </span> <span class="comment-count"> <i class="fa fa-comments-o"></i> <?php comments_popup_link(__(' 0 ', TEXTDOMAIN), __(' 1 ', TEXTDOMAIN), __(' % ', TEXTDOMAIN)); ?> </span> <span clas="post-views">
<div class="post-name"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> "> <?php the_title(); ?> </a> </h2> </div> <p class="entry-content"> <?php echo wpo_excerpt(40, '...'); ?> </p> <div class="entry-meta"> <span class="published"><?php the_time('M d, Y'); ?> </span> <span class="meta-sep"> / </span> <span class="comment-count"> <?php comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <span class="meta-sep"> / </span>
"> <div class="img"> <?php if (has_post_thumbnail()) { the_post_thumbnail('blog-thumbnails'); } ?> </div> <div class="info"> <h3><?php the_title(); ?> </h3> <p> <?php echo wpo_excerpt(20, '...'); ?> </p> </div> </a> </div> </div> </div> <?php } ?> </div> <?php }
?> </span> <?php if (is_tag()) { ?> <span class="meta-sep"> / </span> <span class="tag-link"><?php the_tags('Tags: ', ', '); ?> </span> <?php } ?> </p> <h4 class="entry-title"> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </h4> <p class="entry-description"><?php echo wpo_excerpt(25, '...'); ?> </p> </div> </figure> </article>
<div class="information-post"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> "> <?php the_title(); ?> </a> </h2> <p class="entry-content"> <?php echo wpo_excerpt(100); ?> </p> <div class="entry-meta"> <span class="entry-date"><?php the_time('M d, Y'); ?> </span> <span class="meta-sep"> / </span> <span class="comment-count"> <?php comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <span class="meta-sep"> / </span>
the_post_thumbnail('blog-thumbnails'); ?> </a> </div> <div class="col-md-6 col-sm-6"> <div class="blog-title"> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </div> <div class="blog-description"><?php echo wpo_excerpt(15, '...'); ?> </div> <p class="entry-meta"> <span class="published"><?php the_time('M d, Y'); ?> </span> <span class="meta-sep"> | </span> <span class="comment-count"> <?php comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <?php /*
<li class="campaign-backers hidden"> <p class="label"><?php _e('Backers', TEXTDOMAIN); ?> </p> <p class="text"><?php echo esc_html($campaign->backers_count()); ?> </p> </li> </ul> </div> <div class="clearfix"></div> <div class="desciption"> <?php echo wpo_excerpt(36, '... <a class="read-more" href="' . esc_url(get_the_permalink()) . '">' . __('Read more', TEXTDOMAIN) . '</a>'); ?> </div> <?php if ($campaign->is_active()) { ?> <div id="campaign-form-<?php echo esc_attr(get_the_ID() . "-{$uid}"); ?> " class="campaign-form reveal-modal content-block block"> <?php echo edd_get_purchase_link(array('download_id' => get_the_ID())); ?> </div> <?php
function wpo_load_more_portfolio() { $number = $_POST['number']; $paged = $_POST['paged']; $class_column = $_POST['column']; $args = array('post_type' => 'portfolio', 'posts_per_page' => $number, 'paged' => $paged); $loop = new WP_Query($args); $result = $posts = array(); if ($loop->have_posts()) { while ($loop->have_posts()) { $loop->the_post(); $item_classes = 'all '; $item_cats = get_the_terms($loop->post->ID, 'Categories'); foreach ((array) $item_cats as $item_cat) { if (count($item_cat) > 0) { $item_classes .= $item_cat->slug . ' '; } } $image_attributes = wp_get_attachment_image_src(get_post_thumbnail_id($loop->post->ID), 'blog-thumbnails'); ob_start(); ?> <div class="col-sm-<?php echo esc_attr($class_column); ?> item col-md-<?php echo esc_attr($class_column); ?> col-lg-<?php echo esc_attr($class_column); ?> <?php echo esc_attr($item_classes); ?> "> <div class="wpo-portfolio-content thumbnail text-center"> <?php if (has_post_thumbnail()) { ?> <figure class="wpo-portfolio-thumbnail"> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php the_post_thumbnail('blog-thumbnails'); ?> </a> </figure> <?php } ?> <div class="wpo-portfolio-title caption"> <h4 class="entry-title"> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </h4> <?php if ($image_attributes) { ?> <a href="<?php echo esc_url($image_attributes[0]); ?> " rel="prettyPhoto[<?php echo $item_classes; ?> ]" title="<?php the_title_attribute(); ?> " class="btn btn-outline-inverse"> <i class="fa fa-plus"></i> </a> <?php } ?> <p class="entry-description"><?php echo wpo_excerpt(20, '...'); ?> </p> </div> </div> </div> <?php $posts[] = ob_get_clean(); } } if ($paged >= $loop->max_num_pages) { $result['check'] = false; } else { $result['check'] = true; } $result['posts'] = $posts; print_r(json_encode($result)); exit; }
<div class="post-name"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> "> <?php the_title(); ?> </a> </h2> </div> <p class="entry-content"> <?php echo wpo_excerpt(40); ?> </p> <div class="entry-meta"> <span class="published"><?php the_time('M d, Y'); ?> </span> <span class="meta-sep"> / </span> <span class="comment-count"> <?php comments_popup_link(__(' 0 comment', TEXTDOMAIN), __(' 1 comment', TEXTDOMAIN), __(' % comments', TEXTDOMAIN)); ?> </span> <span class="meta-sep"> / </span>
the_permalink(); ?> "><?php the_title(); ?> </a> </h4> <?php } ?> <?php if (has_excerpt()) { ?> <p class="entry-description"><?php echo wpo_excerpt(25, '[...]'); ?> </p> <?php } ?> <div class="clearfix"> <div class="entry-meta"> <div class="entry-create"> <span class="entry-author"><?php the_author_link(); ?> </span> <span class="meta-sep">|</span> <span class="entry-date"><?php