<?php /** * The template for displaying posts in the Audio post format * * @author Gaviasthemes Team * @copyright Copyright (C) 2021 gaviasthemes. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html */ ?> <?php $post_id = get_the_ID(); $thumbnail = 'post-thumbnail'; if(isset($thumbnail_size) && $thumbnail_size){ $thumbnail = $thumbnail_size; } if(is_single()){ $thumbnail = 'full'; } if(!isset($excerpt_words)){ $excerpt_words = zilom_get_option('blog_excerpt_limit', 20); } ?> <article id="post-<?php echo esc_attr($post_id); ?>" <?php post_class(); ?>> <div class="post-thumbnail <?php echo has_post_thumbnail($post_id) ? '' : 'without_image' ?>"> <?php if(get_post_meta($post_id, "zilom_thumbnail_audio_url", true) !== ""){ ?> <div class="thumbnail-content"> <div class="blog-audio-holder"> <?php $audiolink = get_post_meta($post_id, "zilom_thumbnail_audio_url", true); $embed = wp_oembed_get( $audiolink ); echo trim($embed); ?> </div> </div> <?php }elseif(has_post_thumbnail($post_id)){ echo '<div class="thumbnail-content">'; the_post_thumbnail( $thumbnail , array( 'alt' => get_the_title() ) ); echo '</div>'; } ?> <div class="<?php echo esc_attr(empty(get_the_date()) ? 'entry-meta schedule-date' : 'entry-meta' ) ?>"> <?php zilom_posted_on(); ?> </div> </div> <div class="entry-content"> <div class="content-inner"> <div class="entry-meta"> <?php zilom_posted_on(false); ?> </div> <?php if( !is_single() ){ ?> <h2 class="entry-title"><a href="<?php echo esc_url( get_permalink() ) ?>" rel="bookmark"><?php the_title() ?></a></h2> <?php }else{ ?> <h1 class="entry-title"><?php echo the_title() ?></h1> <?php } ?> <?php if(is_single()){ echo '<div class="post-content clearfix">'; the_content( sprintf( esc_html__( 'Continue reading %s <span class="meta-nav">→</span>', 'zilom' ), the_title( '<span class="screen-reader-text">', '</span>', false ) ) ); wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'zilom' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', ) ); echo '</div>'; }else{ if($desc){ echo '<div class="entry-desc">'; echo esc_html($desc); echo '</div>'; } } ?> <?php the_tags( '<footer class="entry-meta-footer"><span class="tag-links"><span>' . esc_html__( 'Tags:', 'zilom' ) . '</span>' , '', '</span></footer>' ); ?> <?php if(is_single()){ do_action( 'zilom_share' ); } ?> </div> </div><!-- .entry-content --> </article><!-- #post-## -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
css | Folder | 0755 |
|
|
fonts | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
includes | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
languages | Folder | 0755 |
|
|
nsl | Folder | 0755 |
|
|
sass | Folder | 0755 |
|
|
templates | Folder | 0755 |
|
|
tribe | Folder | 0755 |
|
|
tribe-events | Folder | 0755 |
|
|
tutor | Folder | 0755 |
|
|
woocommerce | Folder | 0755 |
|
|
404.php | File | 977 B | 0644 |
|
archive-courses.php | File | 2.09 KB | 0644 |
|
archive.php | File | 2.08 KB | 0644 |
|
comments.php | File | 3.41 KB | 0644 |
|
content-audio.php | File | 3.21 KB | 0644 |
|
content-gallery.php | File | 3.58 KB | 0644 |
|
content-link.php | File | 2.86 KB | 0644 |
|
content-quote.php | File | 2.84 KB | 0644 |
|
content-video.php | File | 3.11 KB | 0644 |
|
content.php | File | 2.92 KB | 0644 |
|
footer-dashboard.php | File | 624 B | 0644 |
|
footer.php | File | 1.84 KB | 0644 |
|
functions.php | File | 9.78 KB | 0644 |
|
header-builder.php | File | 1.7 KB | 0644 |
|
header-default.php | File | 3.23 KB | 0644 |
|
header.php | File | 585 B | 0644 |
|
index.php | File | 2.53 KB | 0644 |
|
page.php | File | 589 B | 0644 |
|
readme.txt | File | 0 B | 0644 |
|
screenshot.png | File | 183.1 KB | 0644 |
|
search.php | File | 4.47 KB | 0644 |
|
searchform.php | File | 677 B | 0644 |
|
sidebar.php | File | 280 B | 0644 |
|
single-event.php | File | 353 B | 0644 |
|
single-gva_team.php | File | 6.05 KB | 0644 |
|
single-portfolio.php | File | 6.07 KB | 0644 |
|
single.php | File | 3.18 KB | 0644 |
|
style.css | File | 946 B | 0644 |
|
taxonomy-category_portfolio.php | File | 3.03 KB | 0644 |
|
wpml-config.xml | File | 11.38 KB | 0644 |
|