Friday 23 September 2016

Creating “The Latest” Blueprint • ServerPress, LLC.


Did you know that you can create a blueprint that will pull the latest version of WordPress as well as any of the themes or plugins that are in the repository. You can even install premium plugins and themes as long as you have them in a location set to where you can access them (i.e. DropBox). Why would you want to do that? Well it saves time when you create the local development installation and then have to run the updates on core, themes and plugins. Simple, really. How do you do it you ask? Here are the steps: Create a new folder on your desktop. Call it “LatestGreatest-BluePrint” (or something that works for you!)
Using a text editor (Sublime text is my favorite) You’ll need to create two files:
blueprint.php & wp-config-sample-php.
In the blueprint.php is where you will add the code that pulls in the latest WordPress version plus plugin-ins. I’ve included a screenshot so you can see the syntax that you’ll need.
Also here is some starter code that you can use via copy/paste – remember to replace the directory structure and file names to suit your needs:
<?php
/**
* Automate the setup of the freshest version of WordPress, Adam’s
Source: https://managewp.org/articles/13461/creating-the-latest-blueprint-serverpress-llc




source https://williechiu40.wordpress.com/2016/09/23/creating-the-latest-blueprint-%e2%80%a2-serverpress-llc/

No comments:

Post a Comment