First thing first, get wordpress directly, or from the download page.
If working locally (ie WAMP), create a folder where you want to serve up your site from – for example D:\mywamp\wp\public_html.
Extract all the files from the the .zip file (or .tar.gz if that’s what you went for) into this folder.
My site url will be abase.localhost as the theme I will build for this installation is to be called Adaptive Base, and will be built upon the underscores ( _s ) base theme.
Edit your hosts file (C:\Windows\System32\drivers\etc\hosts) and make an entry for your website. Mine is as follows:
127.0.0.1 abase.localhost
Edit your apache vhosts file to include your new site details
<VirtualHost *:80>
DocumentRoot "D:\mywamp\www\\local\underscore\public_html"
ServerName abase.localhost
ErrorLog "logs/abase.error_log"
CustomLog "logs/abase.access_log" common
</VirtualHost>
Create a database for your installation to use
Open up a cmd window and at the prompt, type in
mysql -u[privileged_username] -p
and press Enter.
Enter the password for the privileged user (root is fine on a local test machine) at the prompt.
At the prompt, type the following (where dbname is the name you wish to give your database):
CREATE DATABASE dbname;
You should see: Query OK, 1 row affected (0.00 sec)
Now enter the following (replacing dbname, username, and password with their respective fields for your installation:
GRANT ALL PRIVILEGES ON dbname.* TO ‘username’@’localhost’ IDENTIFIED BY ‘password’;
Make a note of the fields you entered above as you will need them for your WordPress installation configuration.
If you happen to come across this site, please ignore it. I am basically using it to learn WordPress, and at the same time create a collection of links that I have found useful in this task. Thank you.
Advanced Custom Fields – add custom fileds to a post type, effectively creating a new content type that can be used in future posts/widgets. Initial thoughts, add a ‘gig’ post type with venue, date & time etc. and display a list of upcoming gigs in small blocks on a page.
Neither contain a trailing slash.
Recent Comments