Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
themes
/
reon
/
content
:
content-post.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<div class="reon-detail-blog"> <?php $sticky_class = is_sticky()?'sticky':''; ?> <?php if( has_post_format('link') ){ ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?> > <?php $link = get_post_meta( $post->ID, 'format_link_url', true ); $link_description = get_post_meta( $post->ID, 'format_link_description', true ); if ( is_single() ) { printf( '<h1 class="entry-title"><a href="%1$s" target="blank">%2$s</a></h1>', $link, get_the_title() ); } else { printf( '<h2 class="entry-title"><a href="%1$s" target="blank">%2$s</a></h2>', $link, get_the_title() ); } ?> <?php printf( '<a href="%1$s" target="blank">%2$s</a>', $link, $link_description ); ?> </article> <?php }elseif ( has_post_format('aside') ){ ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?> > <div class="post-body"> <?php the_content(''); /* Display content */ ?> </div> </article> <?php }else{ ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?> > <?php if( has_post_format('audio') ){ ?> <div class="post-media"> <?php reon_postformat_audio(); /* Display video of post */ ?> </div> <?php }elseif(has_post_format('gallery')){ ?> <?php reon_content_gallery(); /* Display gallery of post */ ?> <?php }elseif(has_post_format('video')){ ?> <div class="post-media"> <?php reon_postformat_video(); /* Display video of post */ ?> </div> <?php }elseif(has_post_thumbnail()){ ?> <div class="post-media"> <figure> <?php reon_content_thumbnail('full'); /* Display thumbnail of post */ ?> </figure> </div> <?php } ?> <div class="post-body"> <div class="post-excerpt"> <?php reon_content_body(); /* Display content of post or intro in category page */ ?> </div> </div> <?php if(!is_single()){ ?> <?php reon_content_readmore(); /* Display read more button in category page */ ?> <?php }?> <?php if(is_single()){ ?> <?php reon_content_tag_clone(); /* Display tags, category */ ?> <?php } ?> </article> <?php } ?> </div>