You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Getting lists of content types is very easy through Terminus. Here are two examples of Terminus / WP CLI commands.

Getting a list of published pages on a WordPress site

  1. cd into the Terminus folder on your machine (if not installed globally)
  2. type: 

    1. terminus remote:wp cornell-alumni.live -- post list --post_type=page --format=csv --post_status=publish --fields=post_title,post_status,url > alumni-live-pages-11-9-2018.csv

 

  • No labels