WordPressサイトの特定のページのみ編集できるようにエディターを制限したいですか?
初期設定では、エディター権限を持つユーザーはサイト上のあらゆるページや投稿を編集することができます。しかし、時には特定のページの編集を制限したい場合もあるでしょう。
この投稿では、WordPressでエディターが特定のページだけを編集できるようにする方法を紹介します。
WordPressでエディターがすべてのページを編集できないのはなぜか?
WordPressには強力なユーザーロールと権限システムが搭載されています。異なるユーザー権限グループの下にユーザーを追加することができ、それぞれのユーザー権限には異なる機能が付属しています。
これらのユーザー権限のグループの1つはエディターと呼ばれます。エディター権限グループを持つユーザーは、サイト上の投稿やページをすべて編集することができます。
WordPressサイトの多くは、エディターが記事やブログ投稿などのコンテンツを担当する構造になっています。
しかし、ページは通常、頻繁に変更されない静的なページで、会社概要ページ、プライバシーポリシー、お問い合わせフォームなどの情報を表示するために使用されます。
エディターがページを編集できないようにしたい場合、またはエディターがWordPressブログの特定のページのみを編集できるようにしたい場合は、サイトのエディターユーザーグループを変更する必要があります。
とはいえ、WordPressエディターが特定のページだけを編集できるようにする方法を見てみよう。
WordPressでエディターが特定のページだけを編集できるようにする方法
まず、PublishPress Capabilitiesプラグインをインストールして有効化する必要があります。詳細については、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。
有効化したら、WordPressの管理サイドバーからCapabilities ” Capabilitiesページにアクセスしてください。
そこで、「権限グループ」のドロップダウンメニューから「エディター」オプションを選択します。
その後、左の列から「編集」タブに切り替え、「ページ」行の「編集」オプションのチェックを外す。
これを行うと、WordPressサイトのエディターはページを編集できなくなります。
ただし、エディターに自分のページだけを編集させたい場合は、’Pages’行の’Edit Others’オプションのチェックを外してください。
これは、エディターが公開していないページや、エディターが作成したページを編集できないことを意味します。
次に、’Pages’行でこれらのオプションのチェックを外すことで、エディターがサイト上で公開するページや編集するページを防ぐこともできます。
最後に、上部にある「変更を保存」ボタンをクリックして、設定を保存することをお忘れなく。
エディターがページを編集できないようにするには、管理者ユーザーをページの投稿者として割り当てる必要があります。
WordPressのサイドバーからページ ” すべてのページ画面を開き、すべてのページを選択するチェックボックスをクリックすることで可能です。
その後、「一括操作」のドロップダウンメニューから「編集」を選択し、「適用」ボタンをクリックします。
選択したすべてのページの投稿者を変更することができます。
管理者として、すべてのページの投稿者として自分自身を割り当てるか、管理者ユーザー権限を持つ他のユーザーを割り当てることができます。
更新」ボタンをクリックして変更を保存することをお忘れなく。
20ページ以上ある場合は、次の20ページを読み込むために次のボタンをクリックし、すべてのページの投稿者を一括で変更するプロセスを繰り返す必要があるかもしれません。
これでエディターによるWordPressサイトのページ編集ができなくなりました。
しかし、必要であれば、エディターが特定のページを編集できるようにすることもできます。
これを行うには、エディターが変更できるようにしたいページの下にある「クイック編集」リンクをクリックします。
これにより「クイック編集」メタ情報が開き、「投稿者」ドロップダウンメニューからエディター名を選択することができます。
そうすれば、エディターはあなたが選択した特定のページを編集し、変更を加えることができるようになります。
最後に、「更新」ボタンをクリックして変更を保存することをお忘れなく。
ボーナス:WordPressで投稿者を限定する
エディター以外にも、複数著者のWordPressブログであれば、著者を自分の投稿に限定することもできます。
こうすることで、投稿者が管理する必要のないコンテンツに振り回されることがなくなり、ワークフローを効率化できる。さらに、ユーザーが他の投稿者のブログ投稿を表示するのを防ぐこともできる。
まず、PublishPress Permissionsプラグインをインストールし、有効化する必要があります。詳しい手順はWordPressプラグインのインストール方法のチュートリアルをご覧ください。
有効化した場合、プラグインは自動的に投稿者を制限し、WordPressの管理エリアに自分の投稿のみが表示されるようにします。
より詳細な手順については、WordPress管理画面で投稿者を自分の投稿に限定する方法のチュートリアルをご覧ください。
WordPressのエディターが特定のページだけを編集できるようにする方法について、この投稿がお役に立てば幸いです。WordPressのページをユーザー権限グループで制限する方法についてのチュートリアルや、初心者のための究極のWordPressセキュリティガイドもご覧ください。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Christoph Wendel says
Thanks for the tutorial.
However, in my case I have more than one editors who are to get permission to edit certain specific pages. How can this be achieved?
It seems to be impossible to assign several users as authors of a page, unfortunately.
Could you give me some advice about this, please.
WPBeginner Support says
If you are using it by author then you could use our guide below for adding multiple authors:
https://www.wpbeginner.com/plugins/allow-multiple-authors-to-be-associated-with-a-post-in-wordpress/
管理者
Christoph Wendel says
Thank you a lot, this perfectly solved my problem. Thank you so much!
Virginia Fonseca says
I have limited the pages a user can view and edit. Is it possible to prevent the user from Updating an already published page. We want them to be able to edit the page but not update it.
WPBeginner Support says
For what you are looking to achieve we would recommend taking a look at the roles and permissions from our article below:
https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/
管理者
Pavle Nikolic says
Hi, if a user doesn’t have permission to Publish pages but has permission to Edit Published pages, does this mean they able to publish the edited version of the already published page after changing it?
WPBeginner Support says
Yes, they should be able to do that
管理者
Cheryl says
Step 2 says to change the Screen Options, but that isn’t available in Gutenberg.
WPBeginner Support says
For Gutenberg, the settings should be in the status and visibility settings for the document.
管理者
Cheryl says
Thank you! That works beautifully
WPBeginner Support says
You’re welcome
Trish Murphy says
Hi
Is there any way to let a client edit just the text on a page i.e. I don’t want them to change permalinks or page layout or custom fields or featured image, etc – or anything at all.
I just want them to be able to go to the webpage and edit text e.g. add a paragraph etc.
Is this possible?
I’ve looked at tons of sites and videos but haven’t found answer to this question! My clients have ZERO technical ability!!
Hoping someone can advise?!
WPBeginner Support says
You could create a custom user role using the method in our article here: https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/
管理者
Joost says
Hi, thanks for this post. Is there a way to hide the add new button? I managed to let users only edit their own page, but the add new button is stil there.
They should only be able edit their own page, nothing more
Thanks.
WPBeginner Support says
You can remove the capability to create posts using the capability manager plugin from our article here: https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/
管理者
Chris Howard says
A quicker way to change authors, and a way you can do it in bulk, is from the post listing page. Select all that you want to change, then from the Bulk Actions dropdown choose Edit and hit Apply. Then change the author there and Update.
WPBeginner Support says
We do state this in the first option but thank you for stating again for those who check the comments section
管理者
Tony V says
Is there a way to prevent Editors from editing any posts made just by the Administrator. They would still have the ability to edit other Editor’s posts?
Anas says
Thank you for your share,
This is a solution to allow one editor to edit specific post,
What if we want to have multiple editors for the same specific post ?
What can we do in this case ?
Is there a solution with this plugin (or other one) ?
Thank you again
Andy Leppard says
Great question – and it seems to me to be a more usual use case
Gregory says
Fantastic post! I didn’t know that was possible in WordPress. I wish I would have found this sooner. Is there a way to assign, let’s say, two or three authors as editors of one or more pages? If so, I would love to know how that works. I have a multi-site setup and I would like for my editors to only see the pages they are responsible for editing. However, I would need some pages to be editable by more than one person… So, in this case, some pages would need more than one author. Is that possible? Hopefully it is! That will help me out a bunch! Thanks!
Niels says
Is this also possible for a custom post type?
Rabson says
Is there any solution for this problem ?
I want develop theme for link .
for example you type /home show a template no.1 and if type /blog show
template no.2 but if you type /home/anything show no.1 .
I don’t want use link . thank you
Rabson says
Hi . tnx about your perfect site .
How can set a video for online show who can’t download it .
many downloader for example idm can download online video but how can I prevent this ?
is there any method if the user want to download this , system ask password ?
tnx so much
Vikas Sharma says
Nice article. How can I add custom login pannel or dashboard in my wordpress website for a client or user without using wp-admin.?
WPBeginner Support says
Please see our guide on how to create a custom login page for WordPress.
管理者