0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【WordPress】記事に公開期限を設定する【Post Expirator】

Posted at

はじめに

WordPress環境で、記事を1ヶ月後に非公開にしたい!と思った時の対処法。

プラグイン「Post Expirator」を利用しよう

WordPressの管理画面から「プラグイン」>「新規追加」で「Post Expirator」を検索。

インストールして有効化します。

「Post Expirator」の使い方

  1. 公開期限を設定したい記事を開く。
  2. 投稿画面の右サイドバーに「Post Expirator」の欄が表示されていることを確認。
  3. 「投稿有効期限を設定する」にチェックを入れ、公開しておきたい期限として年月日、時刻を入力。
    1ヶ月後にしたい場合は、その年月日と時刻を指定します。
  4. 期限が切れた時の処理を設定。
    非公開にしたい場合は、「非公開」を選択。
  5. 記事を公開。

これで、指定した期日を過ぎたら、該当の記事は非公開になります。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?