Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 4, 2014 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/9350747 to your computer and use it in GitHub Desktop.
Save jchristopher/9350747 to your computer and use it in GitHub Desktop.
<?php
$attachments = new Attachments( 'attachments' ); // 'attachments' is your instance name
if( $attachments->exist() ) : ?>
<?php while( $attachments->get() ) : ?>
Attachments data to go here
<?php endwhile; ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment