soon youtube video
YOUTUBE channel
First video: just a intro test for a future video
RdC_Loop
How-To Using Vagrant To Set Up a WordPress Test Environment On Windows (Easy way)
I read many instruction on web but no one easy and the easy for me not work.
my way for be ready in 5 minutes
1. Download and install:
VirtualBox Vagrant
2. Download this file
install vagrantfile
3. Create a work folder for your development machine
4. Copy file of point 2 in a new folder
5. Open a command prompt; go in a new folder and write:
vagrant up
6. wait for a first boot f machine
7 In your browser go to http://192.168.33.21
and ….. you’re done!
(thanks to Jeffrey Way) for a file and inspiration
Note: I modify the original vagrantfile because during a apt-get update precise64 machine make a fault
How to auto-update WordPress custom themes using Github
Initial Setup / Configuration
1. Create a new repository for the them on Github
2. Modify style.css to include a Github URI
Theme Name: RANGHETTOdotNET Author: Stefano Ranghetto Description: RANGHETTOdotNET wordpress theme Github Theme URI: https://github.com/RangO1972/RANGHETTOdotNET_WP.git Version: 1.0.0
3. Create a Tag in your repository
In your local repo “tag” the repo with a version number. Version number need to match with what you have in “style.css”
$ git tag v1.0.0 $ git push origin v1.0.0
4. Install the Theme GitHub Updater Plugin
Download GitHub Updater plugin and upload on WordPress plugin
5. Upload Your Theme To Your WordPress Site
Go to Settings-> GitHub Updater -> Install theme
put the GitHub Uri and push Install theme
Updating The Theme
1. Make your theme updates
Edit your theme, modifications, additions you need.
2. Update The Version Number in Style.css
In your style.css
file, increment your version number, as in this example:
Theme Name: RANGHETTOdotNET Author: Stefano Ranghetto Description: RANGHETTOdotNET wordpress theme Github Theme URI: https://github.com/RangO1972/RANGHETTOdotNET_WP.git Version: 1.0.1
3. Commit the change locally and push the change to Github
4. Create a new tag and push the tag
Create a tag in git that matches the version number in step #2 and push that tag up to Github:
$ git tag 1.0.1 $ git push origin 1.0.1
That’s it!