Install
Upload the theme to the /themes directory, upload the plugin to the /plugins directory and activate both. If you’re using my full WordPress build feature, see the docs @ https://code.davidawindham.com/david/wp.
Configure
All of the theme settings are available at admin.php?page=theme-settings. See more full documentation at Theme Settings.
Serve
I like to run a pretty standard LAMP setup using Nginx as a proxy for static assets. I keep my localhost matching. I like to use Redis to cache if high scalability is needed. I tune the PHP-fpm based on the server and I like to have rollover database servers. I trim down some of the files in both the WordPress build and the theme before placing them on the server.
You can remove these from the theme.
- /_src ( used to move files from packages )
- .git & .gitignore ( optional for running your remote sites under version control ) .
- /css/*.scss ( the sass build files )
- gulpfile.js ( the build processor )
- inc/dwp-dev.php ( the development functions )
- readme.md (
You only need the /app, /wp, index.php, & wp-config.php files on the server. Here’s a list of unnecessary files for the WordPress Build. You can remove these:
- /tests/* ( development tests )
- .travis.yml ( continuous integration )
- .jshintrc ( JavaScript linting )
- .jshintignore
- *.log ( access, php_error, error )
- /bin ( composer )
- gruntfile.js ( build processor )
- package.json ( NPM packages )
- /SRDB ( Search/Replace Database – *** I only use this locally and I don’t recommend using it on a host because it’s quicker to rewrite your database tables locally. If you insist on using it remotely, it must be removed after database rewrites. It’s a serious security vulnerability because it reads your wp-config user/pass for the database. )
Updates / Upgrades
I’ve configured all DWP theme/plugin updates to be run through git version control so that they are private and so that I can set notifications for system upgrades on any client website dashboards. They function exactly the same as any other WordPress theme or plugin updates. If you are using a standalone version of this theme for develpment that I am not managing, you can disable the system updates by removing or commenting out the the includes /inc/dwp-update.php in functions.php.