Help us understand the problem. What is going on with this article?

Wordpressのライター機能(作者名)を徹底的に削除する

タイトルの通り、Wordpressのライター機能(作者名)を徹底的に削除する。

管理画面から

投稿画面

管理画面投稿ページの「投稿者」は、管理画面から非表示に出来る。

Gutenbergの場合

右上の3点メニュー -> オプション -> 該当するチェックボックスを外す

Gutenberg以外の場合

右上の表示オプション -> 該当するチェックボックスを外す

functions.phpでの記述

functions.php
/**
 *  ライターページ停止
 */

add_filter( 'author_rewrite_rules', '__return_empty_array' );

/**
 *  管理画面記事一覧: 作成者削除
 */
function custom_author_columns($columns) {
    unset($columns['author']); 
    return $columns;
}
// 投稿
add_filter('manage_posts_columns', 'custom_author_columns');
// 固定
add_filter('manage_pages_columns', 'custom_author_columns');
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした