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
/
klasik-framework
:
content-quote.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * The template for displaying posts in the Quote post format * * @package WordPress * @subpackage Klasik * @since Klasik 1.0 */ ?> <?php $thumb = ""; if(has_post_thumbnail($post->ID) ){ $thumb = get_the_post_thumbnail($post->ID, 'thumbnail', array('class' => 'imgquote')); } $maintags = ""; $posttags = get_the_tags(); $count=0; if ($posttags) { $maintags .= '<span class="quote-tag"><div class="tags">'; foreach($posttags as $tag) { $count++; if (1 == $count) { $maintags .= $tag->name . ' '; } } $maintags .= '</div></span>' ; } ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="articlecontainer"> <div class="entry-quote"> <div class="entry-content"> <div class="quote-text"> <blockquote> <?php echo get_the_excerpt(); ?> </blockquote> <div class="quotearrow"></div> <div class="quoteinfo"> <?php $withimg = ""; if($thumb!=""){ echo '<span class="frame">'.$thumb.'</span>'; $withimg = "withimg"; } ?> <span class="info <?php echo $withimg; ?>"><?php the_title(); ?></span><?php echo $maintags;?> <div class="clear"></div> </div> </div> <div class="clear"></div> </div><!-- entry-content --> </div> <div class="clear"></div> </div> </article><!-- #post -->