Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Calling multiple images from a pod field

By: lintendo on Jan 23rd, 2013  |  syntax: PHP  |  size: 0.64 KB  |  views: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.  
  3. <div class="container row">
  4.   <?php if (have_posts()) : ?>
  5.   <?php while (have_posts()) : the_post(); ?>
  6.  <div class="eightcol">
  7.     <?php echo pods_image( get_post_meta( $post->ID, 'project_media', true ), 'original' );?>
  8.   </div>
  9.   <div class="fourcol last projectText">
  10.     <h2>
  11.       <?php the_title(); ?>
  12.     </h2>
  13.     <?php the_content(''); ?>
  14.     <a <a class="projectLink" href="#" rel="external" target="_blank" href="http://<?php get_custom_field('project_link', TRUE); ?>"><?php get_custom_field('project_link', TRUE); ?></a>
  15.   </div>
  16.   <?php endwhile; ?>
  17.   <?php endif; ?>
  18. </div>
  19.  
  20. <?php get_footer(); ?>