nginx配置文件需要增加
client_max_body_size 1G;
php.ini修改
max_execution_time = 3600
max_input_time = 3600
upload_max_filesize = 1G
post_max_size = 1G
修改主题文件
<div class="site-info">
<span class="mt-copyright-text">
© <?php echo get_the_date('Y'); ?> 王承志
<span class="sep"> | </span>
<a href="https://beian.miit.gov.cn">
<?php
$wp_diary_footer_copyright = get_theme_mod( 'wp_diary_footer_copyright', __( 'WP Diary', 'wp-diary' ) );
echo esc_html( $wp_diary_footer_copyright );
?>
</a>
</span>
<!--span class="sep"> | </span-->
<!--?php
$designer_url = 'https://mysterythemes.com';
/* translators: 1: Theme name, 2: Theme author. */
printf( esc_html__( 'Theme: %1$s by %2$s.', 'wp-diary' ), 'wp-diary', '<a href="'. esc_url( $designer_url ) .'" rel="designer">Mystery Themes</a>' );
?-->