...
- cd into the Terminus folder on your machine (if not installed globally)
type the following command making sure to replace {date} with the date you're pulling this list:
terminus remote:wp cornell-alumni.live -- post list --post_type=page --format=csv --post_status=publish --fields=url,post_title,postpage_status,urltemplate > alumni-live-pages-{date}.csv
- Enter your Pantheon password
- A CSV file will be created in the Terminus folder showing a list of published pages, listing the title of the page (post), its status, and URL
Info |
---|
Note that the terminus command line already has the wp prefix. The double dash (–) shows the end of the Terminus command and the beginning of the WP CLI command. We don't need to repeat the wp in the command. |
...
terminus remote:wp cornell-giving.live -- post list --post_type=page --format=csv --post_status=publish --fields=url,post_title,postpage_status,urltemplate > giving-live-pages-{date}.csv
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
hidden | true |
---|
...