![](https://cxg-design.jp/wp-content/uploads/2024/07/future_thumb07.png)
PublishPress Futureで、投稿を指定日に非公開
WordPressの投稿は、投稿日を指定することが出来ますが、公開終了日を指定することが出来ません。今回は、公開終了日設定プラグインPublishPress Futureで、投稿を指定日に非公開にする方法を紹介します。
![](https://cxg-design.jp/wp-content/uploads/2024/07/29e68e2802a272064e6a335fa753f3db.png)
出典 : PublishPress Future
Action Settings
プラグインをインストール有効化します。Future>Action Settingsをクリックします。設定画面が表示されるので、設定して行きます。
![](https://cxg-design.jp/wp-content/uploads/2024/07/bc7acfd37f0e2b42b67ab6aa83ced00c.png)
Future>Action Settingsをクリック
![](https://cxg-design.jp/wp-content/uploads/2024/07/4f9d48e4a12c432d3f4224e65cbd6448.png)
設定画面が表示
設定を反映する投稿タイプの有効にチェックを入れます。今回は、DEMOにのみチェックを入れました。設定項目が表示されるので、Default ActionをChange status / 非公開に設定します。Default Data / Time Offsetを+1 monthに設定します。
設定後、Save Changesボタンをクリックします。
![](https://cxg-design.jp/wp-content/uploads/2024/07/5d4e324aa6a70dae81865f48e8feeceb.png)
Default ActionをChange status / 非公開に設定
![](https://cxg-design.jp/wp-content/uploads/2024/07/5dd87f50fc15b84d455abad6c88422c5.png)
Save Changesボタンをクリック
Enable Future Action
右サイドバーに、PublishPress FutureのEnable Future Actionにチェックを入れます。設定項目が表示されます。先ほど設定したデフォルト設定になっているので、変更箇所がなければ公開します。今回の例では、8月2日、午後5時20分に公開終了となります。
![](https://cxg-design.jp/wp-content/uploads/2024/07/683351ce26fd96305af55b4c6510f039-1.png)
PublishPress FutureのEnable Future Actionにチェック
![](https://cxg-design.jp/wp-content/uploads/2024/07/e681452e564dff11076abe999fef650a-1.png)
変更箇所がなければ公開
Scheduled Actions
最後に公開終了が設定されているか確認します。左サイドバーのFuture>Scheduled Actionsをクリックします。設定したアクションが表示されます。
![](https://cxg-design.jp/wp-content/uploads/2024/07/1837926cd0b1e4148c6ace1fa87ec9d8.png)
Future>Scheduled Actionsをクリック
![](https://cxg-design.jp/wp-content/uploads/2024/07/d5504b1f9618c382a5209d7b03196e29.png)
設定したアクションが表示
以上で今回の説明は終了です。設定は、投稿日指定とほぼ同じなので簡単ですね。イベントなどの古い記事は、紛らわしいので、自動的に非表示する設定にしておくと便利です。