Sindbad~EG File Manager

Current Path : /var/www/quickscrum.com/wp-content/themes/Quickscrum-child/
Upload File :
Current File : /var/www/quickscrum.com/wp-content/themes/Quickscrum-child/archive-video.php

<?php
/**
 * Quickscrum by NiceThemes.
 *
 * Used to display archive-type pages if nothing more specific matches a query. For example, puts
 * together date-based pages if no date.php file exists.
 *
 * If you'd like to further customize these archive views, you may create a new template file for
 * each specific one. For example, we already have tag.php for Tag archives and a category.php for
 * Category archives.
 *
 * @link      http://codex.wordpress.org/Template_Hierarchy
 *
 * @package   Quickscrum
 * @author    NiceThemes <hello@nicethemes.com>
 * @license   GPL-2.0+
 * @link      http://nicethemes.com/theme/Quickscrum
 * @copyright 2016 NiceThemes
 * @since     1.0.0
 */
// If this file is called directly, abort.
if (!defined('WPINC')) {
    die;
}
get_header();
global $nice_options;
?>
<!-- BEGIN #content -->
<!--<section id="content" <?php //nice_content_class( 'main-content' );  ?> role="main">-->
<section class="cat_desc" style="height: 200px;">
    <div class="cat_desc_heading">
        Video
    </div>
    <div class="cat_desc_text">
    	<?php 
			global $wp_post_types;
			$post_type = 'video';
			$description = $wp_post_types[$post_type]->description;
 		?>
        <p><?php echo $description; ?></p>
   	</div>
</section>
<section class="divider-shapes">
    <div style="height: 114px;"></div>
</section>
<section <?php nice_content_class('main-content'); ?> role="main">
    <div class="nice-knowledgebase clearfix">
        <div class="row clearfix article-index">
            <div class="case-study-canvas">
            <?php 
            global $post;
            $args = array( 'post_type' => 'video', 'posts_per_page' => -1,'order' => 'ASC' );
            $loop = new WP_Query( $args );
            while ( $loop->have_posts() ) : $loop->the_post(); ?>
                <div class="columns-3 case-study-canvas-inner">
                    <a class="video-inner fancybox-media" href="<?php echo types_render_field( 'video-link' ); ?>">
                        <div class="case-study-image">
                            <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
                            <img src="<?php echo $image[0]; ?>" />
                        </div>
                        <div class="video-lib-title">
                            <?php the_title(); ?>
                        </div>
                 	</a>
                </div>
            <?php endwhile;
            ?>
            </div>
        </div>
    </div>
    <!-- END #content -->
</section>
<script type='text/javascript' src='https://guide.quickscrum.com/wp-content/themes/Quickscrum/includes/assets/js/min/jquery.fancybox.min.js'></script>
<script>
	;
	(function ($, window, document, undefined) {
		'use strict';
			$('.fancybox-media').fancybox({
				openEffect  : 'none',
				closeEffect : 'none',
				helpers : {
					media : {}
				},
				iframe : {
					preload : false
				}
			});
	})(jQuery, window, document);
</script>
<style>
.fancybox-slide .fancybox-content,
.fancybox-slide .fancybox-content iframe,
.fancybox-slide .fancybox-content iframe body {
    background: transparent !important;
}
body:-webkit-full-page-media {
	background: transparent !important;
}
</style>
<?php
get_footer();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists