Skip to content

主题minimer更新后修改记录

1、插件修改
在single.php、content.php中

<span class=”author”><?php the_author_posts_link(); ?></span>

后插入

<?php if(function_exists(‘the_views’)) { the_views(); } ?>

2、页面修改
删除评论引用:comments.php中删除

<li><a href=”#pinglist-container”><i class=”fas fa-share”></i><?php esc_html_e( ‘Pingbacks’, ‘minimer’ ); ?><span><?php echo count($wp_query->comments_by_type[‘pings’]); ?></span></a></li>

3、汉化修改

#: comments.php:7
msgid “No Responses”
msgstr “没有评论”

#: comments.php:7
msgid “1 Response”
msgstr “1条评论”

#: comments.php:7
msgid “% Responses”
msgstr “%条评论”

#: comments.php:10
msgid “Comments”
msgstr “评论”

#: comments.php:11
msgid “Pingbacks”
msgstr “引用”

#: content.php:9 single.php:12
msgid “Posted on”
msgstr “发布于”

#: content.php:10 single.php:13
msgid “by”
msgstr “作者”

#: content.php:40 content.php:45
msgid “Continue reading…”
msgstr “继续阅读>>”

………………
#: inc/page-title.php:18
msgid “Search result”
msgstr “条查询结果”

#: inc/page-title.php:20
msgid “Search results”
msgstr “条查询结果”

#: inc/page-title.php:25
msgid “For the term”
msgstr “查询内容”

#: inc/page-title.php:27
msgid “Please try another search:”
msgstr “请尝试其它内容:”

#: inc/page-title.php:35
msgid “Error 404.”
msgstr “错误 404”

#: inc/page-title.php:35
msgid “Page not found!”
msgstr “页面未找到!”

#: inc/page-title.php:37
msgid “”
“The page you are trying to reach does not exist, or has been moved. Please ”
“use the menus or the search box to find what you are looking for.”
msgstr “”
“您尝试访问的页面不存在,或者已被移动。请使用菜单或搜索功能查找您要查看的内容。”

#: inc/post-nav.php:3
msgid “Next”
msgstr “下一篇”

#: inc/post-nav.php:4
msgid “Previous”
msgstr “上一篇”

#: inc/related-posts.php:6
msgid “You may also like…”
msgstr “”

#: searchform.php:3
msgid “To search type and hit enter”
msgstr “请输入查询内容……”

#: single.php:32
msgid “Pages:”
msgstr “”

#: single.php:38
msgid “Tags:”
msgstr “标签:”

发表评论

您的电子邮箱地址不会被公开。