• 1.wordpress删除后台文章列表“快速编辑”
    wp-admin/includes/class-wp-posts-list-table.php 1240行开始删除
  • 2.WordPress修改文章ID
//例如把文章ID为148的改成147
update wp_posts set id = 147 where id = 148;
update wp_term_relationships set object_id = 147 where object_id = 148;
update wp_postmeta set post_id = 147 where post_id = 148;
update wp_comments set comment_post_ID = 147 where comment_post_ID = 148;
  • 3.隐藏后台文章列表(全部、我的)括号数目
    /wp-admin/edit.php 头部加上
<style type="text/css">
    .subsubsub a .count, .subsubsub a.current .count {
    color: #555d66;
    font-weight: 400;
    display: none;
}
    </style>
最后修改:2020 年 08 月 19 日 16 : 40
如果觉得我的文章对你有用,请随意赞赏