<?php
/**
* Your Inspiration Themes
*
* @package WordPress
* @subpackage Your Inspiration Themes
* @author Your Inspiration Themes Team <info@yithemes.com>
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.gnu.org/licenses/gpl-3.0.txt
*/
if( !is_single() && !yit_get_option( 'blog-post-formats-list' ) )
{ yit_get_template( 'blog/elegant/post-formats/standard.php' ); return; }
$has_thumbnail = ( ! has_post_thumbnail() || ( ! is_single() && ! yit_get_option( 'blog-show-featured' ) ) || ( is_single() && ! yit_get_option( 'blog-show-featured-single' ) ) ) ? false : true; ?>
<div class="<?php if ( ! $has_thumbnail ) echo 'without ' ?>thumbnail">
<div class="row">
<!-- post meta -->
<?php if ( get_post_type() == 'post' ) : ?>
<div class="meta group span3">
<div>
<?php
$link = get_permalink();
if( get_the_title() == '' )
{ $title = __( '(this post does not have a title)', 'yit' ); }
else
{ $title = get_the_title(); }
if ( is_single() )
{ yit_string( "<h1 class=\"post-title\"><a href=\"$link\">", $title, "</a></h1>" ); }
else
{ yit_string( "<h2 class=\"post-title\"><a href=\"$link\">", $title, "</a></h2>" ); }
?>
<?php if( yit_get_option( 'blog-show-author' ) ) : ?><p class="author"><?php echo yit_get_icon( 'blog-author-icon', true ) ?><span><?php _e( 'Author:', 'yit' ) ?></span> <?php the_author_posts_link() ?></p><?php endif; ?>
<?php if( yit_get_option( 'blog-show-date' ) ) : ?><p class="date"><?php echo yit_get_icon( 'blog-date-icon', true ) ?><span><?php _e( 'Date:', 'yit') ?></span> <?php echo get_the_date() ?></p><?php endif; ?>
<?php edit_post_link( __( 'Edit', 'yit' ), '<p class="edit-link"><i class="icon-pencil"></i>', '</p>' ); ?>
</div>
<div>
<?php if( yit_get_option( 'blog-show-comments' ) ) : ?><p class="comments"><?php echo yit_get_icon( 'blog-comments-icon', true ) ?><span><?php comments_popup_link( __( '<span>Comments:</span> 0', 'yit' ), __( '<span>Comments:</span> 1', 'yit' ), __( '<span>Comments:</span> %', 'yit' ) ); ?></span></p><?php endif ?>
</div>
<div>
<?php echo do_shortcode( '[share title="' . __( 'Share on', 'yit' ) . '" socials="facebook, twitter, google, pinterest"]' ); ?>
</div>
</div>
<?php endif ?>
<!-- post title -->
<div class="the-content span6">
<div>
<?php
if( $has_thumbnail ) {
if( ( !is_single() || ( get_post_format() != 'video' && get_post_format() != 'gallery' ) ) ) {
the_post_thumbnail( 'blog_elegant', array( 'class' => 'thumbnail' ) );
}
}
?>
<?php
if( !is_single() && yit_get_option( 'blog-post-formats-list' ) ) :
if( get_post_format( get_the_ID() ) == 'audio' ) : ?>
<div class="soundcloud-frame">
<?php
$url = yit_get_post_meta( get_the_ID(), '_format_audio' );
$iframe = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_iframe' );
$show_artwork = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_artwork' );
$show_comments = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_comments' );
$auto_play = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_autoplay' );
$color = yit_get_post_meta( get_the_ID(), '_format_audio_color' );
echo do_shortcode( '[soundcloud iframe="' . $iframe . '" url="' . $url . '" show_artwork="' . $show_artwork . '" show_comments="' . $show_comments . '" auto_play="' . $auto_play . '" color="' . $color . '" width="0" ]' );
?>
</div>
<div class="clear"></div>
<?php endif;
endif ?>
<?php if( get_post_format() != '' ) : ?><span class="post-format <?php echo get_post_format() ?>"><?php _e( ucfirst( get_post_format() ), 'yit' ) ?></span><?php endif ?>
<?php if( !is_single() ) : ?>
<!-- post content -->
<div class="the-content"><?php
if ( is_category() || is_archive() || is_search() ) {
if( is_category() ) {
if( yit_get_option( 'posts-categories' ) == 'excerpt' ) : the_excerpt(); else : the_content( yit_get_option( 'readmore-categories' ) ); endif;
} elseif( is_archive() ) {
if( yit_get_option( 'posts-archives' ) == 'excerpt' ) : the_excerpt(); else : the_content( yit_get_option( 'readmore-archives' ) ); endif;
} elseif( is_search() ) {
if( yit_get_option( 'posts-searches' ) == 'excerpt' ) : the_excerpt(); else : the_content( yit_get_option( 'readmore-searches' ) ); endif;
}
}
else
{ the_content( yit_get_option('blog-read-more-text') ); }
?>
</div>
<?php endif ?>
</div>
</div>
<?php if( is_single() ) : ?>
<?php if( get_post_format( get_the_ID() ) == 'audio' ) : ?>
<div class="soundcloud-frame span<?php echo yit_get_sidebar_layout() == 'sidebar-no' ? 12 : 9 ?>">
<?php
$url = yit_get_post_meta( get_the_ID(), '_format_audio' );
$iframe = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_iframe' );
$show_artwork = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_artwork' );
$show_comments = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_comments' );
$auto_play = ( bool ) yit_get_post_meta( get_the_ID(), '_format_audio_autoplay' );
$color = yit_get_post_meta( get_the_ID(), '_format_audio_color' );
echo do_shortcode( '[soundcloud iframe="' . $iframe . '" url="' . $url . '" show_artwork="' . $show_artwork . '" show_comments="' . $show_comments . '" auto_play="' . $auto_play . '" color="' . $color . '" width="0" ]' );
?>
</div>
<div class="clear"></div>
<?php endif ?>
<!-- post content -->
<div class="the-content single group span<?php echo yit_get_sidebar_layout() == 'sidebar-no' ? 12 : 9 ?>"><?php
if ( is_category() || is_archive() || is_search() ) {
if( is_category() ) {
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
网页课程设计&毕业设计_css3动画商务宽屏科技Bootstrap网站模板.zip (1425个子文件)
bootstrap.css 139KB
shortcodes.css 63KB
style.css 50KB
jquery-ui-1.8.18.custom.css 33KB
jquery-ui-1.8.18.custom.css 33KB
jquery-ui-1.9.2.custom.css 32KB
jquery-ui-1.9.2.custom.min.css 27KB
settings.css 18KB
custom.css 17KB
admin.css 16KB
font-awesome.css 14KB
cycle.css 10KB
edit_layers.css 7KB
layerslider_admin.css 7KB
dynamic.grid.css 6KB
responsive.css 6KB
style.css 6KB
comment.css 6KB
style.css 6KB
colorbox.css 6KB
contact_form.css 6KB
editor-style.css 5KB
codemirror.css 5KB
slider.css 5KB
thickbox.css 4KB
elastic.css 4KB
thumbnails.css 4KB
style.css 4KB
style.css 4KB
style.css 3KB
style.css 3KB
slider.css 3KB
style.css 3KB
skin.css 3KB
skin.css 3KB
skin.css 3KB
skin.css 2KB
skin.css 2KB
style.css 2KB
subtle-grey-green-and-orange-2.css 2KB
subtle-grey-green-and-orange-3.css 2KB
subtle-grey-green-and-orange-4.css 2KB
subtle-grey-green-and-orange-5.css 2KB
subtle-grey-green-and-orange-1.css 2KB
beetle-bus-goes-jamba-juice-5.css 2KB
beetle-bus-goes-jamba-juice-3.css 2KB
beetle-bus-goes-jamba-juice-4.css 2KB
beetle-bus-goes-jamba-juice-1.css 2KB
beetle-bus-goes-jamba-juice-2.css 2KB
ground-control-to-major-tom-1.css 2KB
we-are-meeting-arms-to-arms-2.css 2KB
ground-control-to-major-tom-2.css 2KB
we-are-meeting-arms-to-arms-4.css 2KB
ground-control-to-major-tom-5.css 2KB
we-are-meeting-arms-to-arms-5.css 2KB
ground-control-to-major-tom-3.css 2KB
we-are-meeting-arms-to-arms-3.css 2KB
we-are-meeting-arms-to-arms-1.css 2KB
ground-control-to-major-tom-4.css 2KB
art-deco-atomic-age-miami-1.css 2KB
art-deco-atomic-age-miami-4.css 2KB
art-deco-atomic-age-miami-5.css 2KB
art-deco-atomic-age-miami-3.css 2KB
art-deco-atomic-age-miami-2.css 2KB
miss-piggy-loves-kermit-1.css 2KB
miss-piggy-loves-kermit-2.css 2KB
miss-piggy-loves-kermit-5.css 2KB
miss-piggy-loves-kermit-3.css 2KB
miss-piggy-loves-kermit-4.css 2KB
tamam-ashxarh-ptut-eka-4.css 2KB
decaying-with-elegance-2.css 2KB
decaying-with-elegance-3.css 2KB
decaying-with-elegance-1.css 2KB
tamam-ashxarh-ptut-eka-3.css 2KB
tamam-ashxarh-ptut-eka-5.css 2KB
tamam-ashxarh-ptut-eka-1.css 2KB
tamam-ashxarh-ptut-eka-2.css 2KB
decaying-with-elegance-5.css 2KB
decaying-with-elegance-4.css 2KB
security-architecture-5.css 2KB
security-architecture-1.css 2KB
the-pursuit-of-beauty-3.css 2KB
the-pursuit-of-beauty-1.css 2KB
security-architecture-3.css 2KB
the-pursuit-of-beauty-4.css 2KB
the-pursuit-of-beauty-5.css 2KB
the-pursuit-of-beauty-2.css 2KB
security-architecture-2.css 2KB
security-architecture-4.css 2KB
hope-springs-eternal-1.css 2KB
beyond-the-invisible-4.css 2KB
cant-think-of-a-name-5.css 2KB
beyond-the-invisible-5.css 2KB
hope-springs-eternal-2.css 2KB
cant-think-of-a-name-3.css 2KB
early-winter-morning-2.css 2KB
early-winter-morning-5.css 2KB
hope-springs-eternal-3.css 2KB
cant-think-of-a-name-4.css 2KB
early-winter-morning-4.css 2KB
共 1425 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
Nowl
- 粉丝: 1w+
- 资源: 3894
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功