<?php
/*
______ _____   _______ _______ _______ _______ ______ _______
|   __ \     |_|    ___|_     _|   |   |       |   __ \   _   |
|    __/       |    ___| |   | |       |   -   |      <       |
|___|  |_______|_______| |___| |___|___|_______|___|__|___|___|

P L E T H O R A T H E M E S . C O M                    (c) 2016

Single View Template Parts / Media, according to post format ( image, audio or video )
 */
if (is_array($args)) {extract($args);}
/**
 * You can override this template on your child theme and use the
 * $media_config array variable values to compose your own markup:
 *
 *      'post_id'
 *      'post_link'
 *      'post_title'
 *      'media_type'
 *      'media_container'  - media container tag attributes
 *          'tag'
 *          'class'
 *          'style'
 *      'media'            - media items
 *          'id'
 *          'url'
 *          'title'
 *          'alt'
 *          'html'
 *      'html',            - all media items html combined
 */
foreach ($media_config['media'] as $media) {

    echo $media['html'];

}
