/**
  * Test retrieval of a field.
  *
  * @since 1.1.0
  */
 function test_get_field()
 {
     // Test against global post
     $test_field = rbm_get_field('test_field');
     $this->assertEquals('1', $test_field);
     // Test with manual post ID
     $test_field = rbm_get_field('test_field', $this->test_post_ID);
     $this->assertEquals('1', $test_field);
     // Test direct echoing
     // Test against global post
     ob_start();
     rbm_field('test_field');
     $test_field = ob_get_clean();
     $this->assertEquals('1', $test_field);
     // Test with manual post ID
     ob_start();
     rbm_field('test_field', $this->test_post_ID);
     $test_field = ob_get_clean();
     $this->assertEquals('1', $test_field);
 }
						</a>
					</p>
				</div>

				<div class="job-right columns small-12 medium-6 large-4">
					<p class="job-type">
						<strong>Type:</strong>
						<?php 
        the_terms(get_the_ID(), 'jobs-for-jets-type');
        ?>
					</p>

					<p class="job-location">
						<strong>Location:</strong>
						<?php 
        rbm_field('location');
        ?>
					</p>

					<p class="job-posted-date">
						<strong>Posted:</strong>
						<?php 
        echo get_the_date();
        ?>
					</p>
				</div>
			</li>
		<?php 
    }
    wp_reset_postdata();
    ?>
			<!--													<td class="course-type">-->
			<!--													<span-->
			<!--														class="course-type-indicator -->
			<?php 
    //rbm_field( 'type', $course_ID );
    ?>
<!--"></span>-->
			<!--													</td>-->
			<td class="course-prerequisites">
				<?php 
    rbm_field('prerequisites', $course_ID);
    ?>
			</td>
			<td class="course-notes">
				<?php 
    rbm_field('notes', $course_ID);
    ?>
			</td>
		</tr>

		<?php 
    if (!empty(trim($course->post_content))) {
        ?>
			<tr class="course-info">
				<td colspan="6">
					<div class="course-info-container">
						<?php 
        echo apply_filters('the_content', $course->post_content);
        ?>
					</div>
				</td>
            ?>
					<div class="staff-image">
						<?php 
            the_post_thumbnail('medium');
            ?>
					</div>
				<?php 
        }
        ?>

				<h3 class="staff-name">
					<?php 
        echo rbm_field('first_name');
        ?>
&nbsp;<?php 
        echo rbm_field('last_name');
        ?>
					<?php 
        if (current_user_can('edit_posts')) {
            ?>
						<a href="<?php 
            echo get_edit_post_link();
            ?>
">
							<span class="dashicons dashicons-edit"></span>
						</a>
					<?php 
        }
        ?>
				</h3>
								<?php 
            the_post_thumbnail('full');
            ?>
							</a>
						</div>
					<?php 
        }
        ?>

					<div class="location-meta columns small-12 medium-8">
						<div class="location-meta-address">
							<?php 
        echo wpautop(rbm_get_field('address'));
        ?>
						</div>

						<p class="location-meta-phone">
							<?php 
        rbm_field('phone');
        ?>
						</p>
					</div>
				</div>
			</li>
		<?php 
    }
    ?>
	</ul>
<?php 
}
wp_reset_postdata();