</div> <div class="meta-category file-meta"> <div class="row"> <div class="meta-block file"> <h4><span class="dashicons dashicons-admin-links"></span> <?php _e('Attached files', 'cuar'); ?> </h4> <ul class="cuar-attached-files"> <?php foreach ($attached_files as $file_id => $file) { ?> <li> <a href="<?php cuar_the_attached_file_link($post->ID, $file); ?> " title="<?php esc_attr_e('Get file', 'cuar'); ?> "> <?php do_action('cuar/templates/file-attachment-item/before-caption', $post->ID, $file); ?> <span class="cuar-file-caption"><?php cuar_the_attached_file_caption($post->ID, $file); ?> </span> <?php do_action('cuar/templates/file-attachment-item/after-caption', $post->ID, $file); ?>
?> </span> <?php do_action('cuar/templates/attachment-manager/after-file-attachment-caption', $post_id, $attached_file); ?> <span class="cuar-actions"> <?php do_action('cuar/templates/attachment-manager/file-attachment-actions', $post_id, $attached_file); ?> <?php if ($file_id != null) { ?> <a href="<?php cuar_the_attached_file_link($post_id, $attached_file); ?> " class="cuar-download-action" title="<?php esc_attr_e('Download', 'cuar'); ?> "> <span class="dashicons dashicons-download"></span></a> <?php } ?> <a href="#" class="cuar-remove-action" title="<?php esc_attr_e('Remove', 'cuar'); ?> "> <span class="dashicons dashicons-dismiss"></span></a> </span>