Guest User

Untitled

a guest
Jan 16th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. <li <?php if (get_option('square_portfolio_filter') != "true") { ?> data-id="id-<?php echo $count; ?>" data-type="<?php foreach ($terms as $term) { echo strtolower(preg_replace('/s+/', '-', $term->name)). ' '; } ?>" <?php ; } ?>>
  2. <a href="#">
  3. <div class="thumbs-animate">
  4. <?php
  5. if ( has_post_thumbnail() ) {
  6. the_post_thumbnail(array(255,191), array('title' => ''.get_the_title().''));
  7. }
  8. ?>
  9. <div class="details">
  10. <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
  11. <p><?php content('15'); ?></p>
  12. <a href="<?php the_permalink(); ?>">
  13. <?php
  14. if(get_option('square_view_project_link')!="") {
  15. echo get_option('square_view_project_link');
  16. }else {
  17. _e( 'View Project', 'square_lang' );
  18. }
  19. ?>
  20.  
  21. </div>
  22. </div>
  23. </a>
  24. </li>
  25.  
  26. <li <?php if (get_option('square_portfolio_filter') != "true") { ?> data-id="id-<?php echo $count; ?>" data-type="<?php foreach ($terms as $term) { echo strtolower(preg_replace('/s+/', '-', $term->name)). ' '; } ?>" <?php ; } ?>>
  27. <a href="#"></a>
  28. <div class="thumbs-animate">
  29. <?php
  30. if ( has_post_thumbnail() ) {
  31. the_post_thumbnail(array(255,191), array('title' => ''.get_the_title().''));
  32. }
  33. ?>
  34. <div class="details">
  35. <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
  36. <p><?php content('15'); ?></p>
  37. <a href="<?php the_permalink(); ?>">
  38. <?php
  39. if(get_option('square_view_project_link')!="") {
  40. echo get_option('square_view_project_link');
  41. }else {
  42. _e( 'View Project', 'square_lang' );
  43. }
  44. ?>
  45.  
  46. </div>
  47. </div>
  48. </li>
  49.  
  50. onclick="location.href='<?php the_permalink();?>';" style="cursor:pointer;"
Add Comment
Please, Sign In to add comment