Advertisement
Guest User

content-below-portfolio

a guest
Jan 28th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. <?php
  2. global $avia_config, $slider, $post_loop_count;
  3.  
  4.  
  5. $post_class = "post-entry-".avia_get_the_id();
  6. $slider = new avia_slideshow(avia_get_the_id());
  7. $slider ->setImageSize('fullsize');
  8.  
  9. do_action( 'avia_action_query_check' , 'loop-portfolio-single' );
  10.  
  11.  
  12. // check if we got posts to display:
  13. if (have_posts()) :
  14.  
  15. while (have_posts()) : the_post();
  16.  
  17.  
  18. ?>
  19. <div class='post-entry post-entry-type-portfolio <?php echo $post_class; ?>'>
  20.  
  21. <span class='entry-border-overflow extralight-border'></span>
  22.  
  23.  
  24. <div class="eight units alpha min_height_1">
  25.  
  26. <?php if($slider->slidecount) echo $slider->display(); ?>
  27.  
  28. </div>
  29.  
  30.  
  31. <div class="four units entry-content">
  32.  
  33.  
  34.  
  35.  
  36.  
  37. <!--<span class='date-container minor-meta meta-color'><?php echo get_the_date(); ?></span>-->
  38. <?php
  39.  
  40. $meta = avia_portfolio_meta(get_the_ID());
  41. if($meta)
  42. {
  43. echo $meta;
  44. echo avia_advanced_hr(false, 'small');
  45. }
  46. ?>
  47.  
  48. <?php
  49.  
  50. if(has_tag() && is_single())
  51. {
  52. echo '<span class="text-sep">/</span><span class="blog-tags minor-meta">';
  53. echo the_tags('<strong>'.__('Tags: ','avia_framework').'</strong><span>');
  54. echo '</span></span>';
  55. }
  56. ?>
  57.  
  58.  
  59.  
  60. <div class='blog-inner-meta extralight-border'>
  61.  
  62. <div class='post-meta-infos'>
  63.  
  64. <?php
  65.  
  66. echo '<div class="like-count minor-meta">';
  67. echo avia_facebook_like($id);
  68. echo '</div><span class="text-sep like-count-sep">/</span>';
  69.  
  70. echo '<span class="tweets-count minor-meta">';
  71. echo avia_retweet($id);
  72. echo '</span>';
  73.  
  74. $cats = get_the_term_list( get_the_ID(), 'portfolio_entries',"",", ","");
  75. if(!empty($cats))
  76. {
  77. echo '<span class="text-sep tweets-count-sep">/</span><span class="blog-categories minor-meta">'.__('posted in ','avia_framework');
  78. echo $cats;
  79. echo ' </span>';
  80. }
  81.  
  82. ?>
  83.  
  84. </div>
  85.  
  86. </div>
  87.  
  88. </div>
  89. <div class="twelve units entry-content">
  90. <?php
  91. the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> &rarr;</span>');
  92. ?>
  93. </div>
  94.  
  95. </div><!--end post-entry-->
  96. <?php
  97.  
  98. endwhile;
  99. else:
  100. ?>
  101.  
  102. <div class="entry">
  103. <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
  104. <p><?php _e('Sorry, no posts matched your criteria', 'avia_framework'); ?></p>
  105. </div>
  106.  
  107. <?php
  108.  
  109. endif;
  110.  
  111. if(!isset($avia_config['remove_pagination'] )) echo avia_pagination();
  112. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement