File Editor
Directories:
.. (Back)
css
fonts
functions
images
js
languages
Files:
404.php
about-section.php
breadcrumbs.php
comments.php
content-none.php
content-posts-home.php
content-posts.php
content-single.php
content.php
contentboxes-section.php
copyright.php
cta-section.php
features-section.php
footer.php
fromblog-section.php
functions.php
getintouch-section.php
getstarted-section.php
header.php
image.php
index.php
license.txt
owlpost-info.php
page-fullwidth.php
page-left-sidebar.php
page-right-sidebar.php
page.php
post-formats.php
post-info.php
post-meta.php
post-nav.php
readme.txt
services-section.php
sidebar-footer.php
sidebar.php
single.php
social-section.php
style.css
title-section.php
top-header.php
Create New File
Create
Edit File: post-formats.php
<?php /** * @package Modality * * * Check for featured images */ $modality_theme_options = modality_get_options( 'modality_theme_options' ); if ( $modality_theme_options['blog_content'] == 'excerpt') { if (has_post_format( 'gallery' )) { modality_gallery_post(); } else { if ( has_post_thumbnail() ) { ?> <div class="image-holder"> <div class="thumb-wrapper imgLiquidFill imgLiquid"> <?php the_post_thumbnail('full'); ?> </div> </div> <?php }else{ ?> <div class="image-holder"> <div class="thumb-wrapper imgLiquidFill imgLiquid"> <img class="attachment-full wp-post-image rs-slide-image" width="1024" height="500" alt="slide" src="<?php echo get_template_directory_uri() ?>/images/assets/slide.jpg"> </div> </div> <?php } } } if ( $modality_theme_options['blog_content'] == 'excerpt') { ?> <div class = "text-holder"> <a class="post-title" href="<?php esc_url(the_permalink()); ?>"><h3 <?php post_class('entry-title'); ?>><?php the_title(); ?></h3></a> <?php the_excerpt(__( 'Continue Reading...', 'modality' ) ); get_template_part( 'post', 'meta'); ?> </div> <?php } else { ?> <div class = "text-holder-full"> <a class="post-title" href="<?php esc_url(the_permalink()); ?>"><h3 <?php post_class('entry-title'); ?>><?php the_title(); ?></h3></a> <?php if ($modality_theme_options['post_info'] == 'above') { get_template_part('post','info');} if (has_post_format( 'gallery' )) { modality_gallery_post(); } else { if (has_post_format( 'video' )) { } else { if ( has_post_thumbnail() ) { ?> <div class="thumb-wrapper"> <?php the_post_thumbnail('full'); ?> </div><!--thumb-wrapper--> <?php } } } the_content( __( 'Continue Reading...', 'modality' ) ); ?> </div> <?php } ?>
Save Changes
Rename File
Rename