文件操作 - archive.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/themes/E17/archive.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * The template for displaying archives pages * * Do not overload this file directly. Instead have a look at templates/archive.php file in us-core plugin folder: * you should find all the needed hooks there. */ if ( function_exists( 'us_load_template' ) ) { us_load_template( 'templates/archive' ); } else { get_header(); ?> <main id="page-content" class="l-main"> <section class="l-section"> <div class="l-section-h i-cf"> <h1 class="page-title"> <?php the_archive_title(); ?> </h1> <?php if ( have_posts() ) { // Load posts loop while ( have_posts() ) { the_post(); get_template_part( 'content' ); } // Pagination the_posts_pagination( array( 'mid_size' => 3, 'before_page_number' => '<span>', 'after_page_number' => '</span>', ) ); } else { echo us_translate( 'No results found.' ); } ?> </div> </section> </main> <?php get_footer(); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件