%PDF- %PDF-
Direktori : /home/dordingu/www/antikva/wp-content/themes/mexin/ |
Current File : /home/dordingu/www/antikva/wp-content/themes/mexin/portfolio-pin.php |
<?php /* Template Name: Portfolio Pinterest */ get_header(); GLOBAL $webnus_options; ?> <section id="main-content-pin"> <hr class="vertical-space1"> <div class="container"> <div id="pin-content"> <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'orderby'=>'date', 'order'=>'desc', 'post_type'=>'portfolio', 'paged' => $page, 'posts_per_page'=>100 ); query_posts($args); if (have_posts()) : while (have_posts()) : the_post(); ?> <article class="pin-box entry print logg -item"> <div class="img-item"> <a href="<?php $large_image = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'fullsize', false, '' ); $large_image = $large_image[0]; echo $large_image; ?>" class="prettyPhoto" > <?php get_the_image( array( 'meta_key' => array( 'Full', 'Full' ), 'size' => 'Full' ) );?><span class="zoomex"> </span></a> </div> <div class="pin-ecxt"> <h4><a href="#"><?php the_title(); ?></a></h4> <h6 class="blog-author"><?php echo get_the_date('d M Y');?> </h6> </div> <div class="pin-ecxt2"> <?php echo get_avatar( $comment, 40 ); ?> <p> <small>Posted by</small> <?php the_author(); ?> </p> </div> </article> </article> <?php endwhile; endif; ?> </div><!-- end-pin-content --> <hr class="vertical-space2"> </div> </section><!-- end-main-content-pin --> <?php wp_reset_query(); // Reset the Query Loop get_footer(); ?>