文件操作 - loop.php
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/fratellibartesaghi--it/wp-content/themes/architek/loop.php
编辑文件内容
<?php /** * @package WordPress * @subpackage Architek */ ?> <?php /* Display navigation to next/previous pages when applicable */ ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <nav id="nav-above" role="article"> <h1 class="section-heading"><?php esc_html_e( 'Post navigation', 'architek' ); ?></h1> <div class="nav-previous"><?php next_posts_link( esc_html__( '<span class="meta-nav">←</span> Older posts', 'architek' ) ); ?></div> <div class="nav-next"><?php previous_posts_link( esc_html__( 'Newer posts <span class="meta-nav">→</span>', 'architek' ) ); ?></div> </nav><!-- #nav-above --> <?php endif; ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <article id="post-<?php esc_attr(the_ID()); ?>" <?php post_class(); ?> role="article"> <header class="entry-header"> <h1 class="entry-title"><a href="<?php esc_url(the_permalink()); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'architek' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php esc_html(the_title()); ?></a></h1> <div class="entry-meta"> <?php wp_kses(printf( esc_html__( '<span class="sep">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s">%6$s</a></span>', 'architek' ), get_permalink(), get_the_date( 'c' ), get_the_date(), get_author_posts_url( get_the_author_meta( 'ID' ) ), sprintf( esc_attr__( 'View all posts by %s', 'architek' ), get_the_author() ), get_the_author() ), 'post'); ?> </div><!-- .entry-meta --> </header><!-- .entry-header --> <?php if ( is_archive() || is_search() ) : // Only display Excerpts for archives & search ?> <div class="entry-summary"> <?php wp_kses(the_excerpt(), 'post'); ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content"> <?php wp_kses(the_content( esc_html__( 'Continue reading <span class="meta-nav">→</span>', 'architek' ) ), 'post'); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . esc_html__( 'Pages:', 'architek' ), 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> <?php endif; ?> <footer class="entry-meta"> <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php esc_html_e( 'Posted in ', 'architek' ); ?></span><?php the_category( ', ' ); ?></span> <span class="meta-sep"> | </span> <?php wp_kses(the_tags( '<span class="tag-links">' . esc_html__( 'Tagged ', 'architek' ) . '</span>', ', ', '<span class="meta-sep"> | </span>' ), 'post'); ?> <span class="comments-link"><?php wp_kses(comments_popup_link( esc_html__( 'Leave a comment', 'architek' ), esc_html__( '1 Comment', 'architek' ), esc_html__( '% Comments', 'architek' ) ), 'post'); ?></span> <?php wp_kses(edit_post_link( esc_html__( 'Edit', 'architek' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ), 'post'); ?> </footer><!-- #entry-meta --> </article><!-- #post-<?php the_ID(); ?> --> <?php comments_template( '', true ); ?> <?php endwhile; ?> <?php /* Display navigation to next/previous pages when applicable */ ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <nav id="nav-below" role="article"> <h1 class="section-heading"><?php esc_html_e( 'Post navigation', 'architek' ); ?></h1> <div class="nav-previous"><?php next_posts_link( esc_html__( '<span class="meta-nav">←</span> Older posts', 'architek' ) ); ?></div> <div class="nav-next"><?php previous_posts_link( esc_html__( 'Newer posts <span class="meta-nav">→</span>', 'architek' ) ); ?></div> </nav><!-- #nav-below --> <?php endif; ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件