WordPress site for Reporting on International Affairs. Developed from the _s starter theme.
- Follow the instructions in the "Install Local" and "Connect Local to WP Engine" sections in this blog post.
- Follow the instructions in the "pull to Local from WP Engine" section to pull the "CSIS Journalism Development" Environment to your local machine
- Navigate to the directory where Local created the site: eg
cd /Users/[YOUR NAME]/Local Sites/csisjournalism/app/public - Initiate git & add remote origin. This will connect your local directory to the Git Repo and create a local
mainbranch synced with the remotemainbranch.
$ git init
$ git remote add origin [email protected]:CSIS-iLab/journalism_wp.git
$ git fetch origin
$ git checkout origin/main -ftTo begin development, navigate to the theme directory and start npm.
$ cd wp-content/themes/modern-journalist
$ npm install
$ npm startThis project also includes custom Gutenberg blocks, which can be worked on at:
$ cd wp-content/plugins/jourblocks
$ npm install
$ npm startGitHub Actions will automatically build & deploy the theme to the development environment on WPE based on the settings specified in the deployment workflow.
- The
WPE_ENVIRONMENT_NAME: ${{ secrets.WPENGINE_DEV_ENV_NAME }}setting will be deployed to the WP Engine Development Environment. The Development environment should be used to demo new features.
- Add to Any Share
- Akismet
- Disable Comments
- Enhanced Media Library
- Featured Galleries
- Jetpack
- Fluidbox for WordPress
- Related
- Related Posts (Doubled Up)
- TinyMCE Advanced
- WPBakery Page Builder
- WPFront User Role Editor
- Yoast SEO
Copyright © 2021 CSIS iDeas Lab under the MIT License.