1. 文章页的分类显示错误:
修改template-tags.php文件第108行:
1 2 |
printf( '<span class="cat-links">' . __( '%1$s', 'amadeus' ) . '</span>', $categories_list ); |
为
1 2 |
printf( '<span class="cat-links">' . __( '%s', 'amadeus' ) . '</span>', $categories_list ); |
2. 文章的字体不对:
修改Style.css文件的以下几个部分:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
body { color: #4c4c4c; background-color: #f7f3f0; font-family: 'Microsoft YaHei',"Noto Serif", serif; font-size: 16px; line-height: 2.0; word-wrap: break-word; } h1{ color: #1c1c1c; font-family: "Playfair Display", serif; font-weight: 700; }, h2{ color: #0077bb; font-family: "Microsoft YaHei", serif; font-weight: 500; }, h3{ font-family: 'Microsoft YaHei',"Noto Serif", serif; font-weight: 350; line-height: 2.0; }, h4, h5, h6 { color: #1c1c1c; font-family: "Playfair Display", serif; font-weight: 700; } h1 { font-size: 38px; } a, a:hover { color: #618eba; } .bypostauthor {} blockquote{ font-size:16px; border-color:#D6DBDF; background:none repeat scroll 0 0 rgba(102,128,153,.05) } code{ padding:0; color:inherit; color: #c7254e; white-space:pre; white-space:pre-wrap; background-color:#f9f2f4; bord-radius:4px; border:0 } |
3. 修改底部备案
functions.php文件287行的函数由
1 2 3 4 5 6 7 8 9 |
function amadeus_footer_credits() { echo '<a href="' . esc_url( __( 'http://wordpress.org/', 'amadeus' ) ) . '" rel="nofollow">'; printf( __( 'Proudly powered by %s', 'amadeus' ), 'WordPress' ); echo '</a>'; echo '<span class="sep"> | </span>'; printf( __( 'Theme: %2$s by %1$s.', 'amadeus' ), 'Themeisle', '<a href="http://themeisle.com/themes/amadeus/" rel="nofollow">Amadeus</a>' ); } add_action( 'amadeus_footer', 'amadeus_footer_credits' ); |
改为:
1 2 3 4 5 |
function amadeus_footer_credits() { /* translators: WordPress */ printf( __( '%s', 'amadeus' ), '赣ICP备17001604' ); } |
4. 删除archive.php文件中的18到21行的内容:
1 2 3 4 5 |
<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?> |