编辑:content.php
<?php /** * Template part for displaying posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Bam */ ?> <?php $bam_article_classes = bam_blog_article_classes(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( $bam_article_classes ); ?>> <?php $bam_thumb_size = bam_thumbnail_size(); ?> <div class="blog-entry-inner clearfix"> <?php /** * Before article content hook * @since 1.3.3 **/ do_action( 'bam_before_article_content' ); ?> <?php bam_post_thumbnail( $bam_thumb_size ); ?> <div class="blog-entry-content"> <?php /** * Before entry header hook * @since 1.3.3 **/ do_action( 'bam_before_entry_header' ); ?> <div class="category-list"> <?php bam_category_list(); ?> </div><!-- .category-list --> <header class="entry-header"> <?php if ( is_singular() ) : the_title( '<h1 class="entry-title">', '</h1>' ); else : the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); endif; if ( 'post' === get_post_type() ) : ?> <div class="entry-meta"> <?php bam_entry_meta(); ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <?php /** * After entry header hook * @since 1.3.3 **/ do_action( 'bam_after_entry_header' ); ?> <?php do_action( 'bam_before_blog_entry_content' ); ?> <div class="entry-summary"> <?php $bam_content_type = get_theme_mod( 'bam_blog_content_type', 'excerpt' ); if ( 'excerpt' == $bam_content_type ) { the_excerpt(); } elseif ( 'full-content' == $bam_content_type ) { the_content(); } if ( true == get_theme_mod( 'bam_show_readmore', false ) ) { ?> <div class="entry-readmore"> <a href="<?php the_permalink(); ?>" class="bam-readmore"> <?php the_title( '<span class="screen-reader-text">', '</span>' ); ?> <?php echo esc_html_e( 'Read More', 'bam' ); ?> </a> </div> <?php } ?> </div><!-- .entry-summary --> <?php do_action( 'bam_after_blog_entry_content' ); ?> <footer class="entry-footer"> <?php bam_entry_footer(); ?> </footer><!-- .entry-footer --> </div><!-- .blog-entry-content --> <?php /** * After article content hook * @since 1.3.3 **/ do_action( 'bam_after_article_content' ); ?> </div><!-- .blog-entry-inner --> </article><!-- #post-<?php the_ID(); ?> -->
保存文件
位置:
home
/
fembzvrs
/
zimeza.com
/
wp-content
/
themes
/
bam
/
partials
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
header
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
mobile
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
single
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
topbar
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
content-page.php
-rw-r--r--
1.73 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
content-search.php
-rw-r--r--
1.74 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
content.php
-rw-r--r--
2.47 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名