Thursday, July 7, 2022
HomeWordPress Developmentcapabilities - Publish scheduled pages straight away in Wordpress

capabilities – Publish scheduled pages straight away in WordPress


I might do that with wp-cli. It is a one line command:

$ wp submit replace $(wp submit listing --post_status=draft --post_type=web page --format=ids) --post_status=publish

This command lists all pages which are draft (by id) after which updates all their statuses to “publish”.

That is in fact if these are literally pages. If it is posts, you simply want to alter web page to submit.

If you happen to’re not snug with command line then you possibly can bulk choose all of the pages throughout the admin backend and replace their statuses there. (Whenever you’re on the web page listing admin display screen it’s possible you’ll need to select display screen choices within the high proper and listing extra objects per web page so it takes you much less time.)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments