<?php
/**
 * Displays the archive for oxy_staff custom post type
 * @package Swatch
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.1
 */

get_header();

$page = oxy_get_option( 'staff_archive_page' );
if( !empty( $page ) ) :

    global $post;
    $post = get_post($page);
    setup_postdata($post);

    oxy_page_header();
    get_template_part('partials/content', 'page');

    wp_reset_postdata();

endif;

get_footer();