daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php $img = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' ); ?>
  2.  
  3. <a href="<?php echo $img['0'];?>" class="product_grid <?php if ( has_post_thumbnail() ) { ?>wpex-lightbox<?php } ?>" >
  4. <div class="wpb_column vc_column_container vc_col-sm-4">
  5.     <div class="vc_column-inner">
  6.         <div class="wpb_wrapper bg_img" style="background-image: url('<?php echo $img['0'];?>')">
  7.             <h3><?php the_title(); ?></h3>
  8.             <?php the_content(); ?>        
  9.         </div>
  10.     </div>    
  11. </div>
  12. </a>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top