Skip to content

vinestreet/vsi_wp_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standard Wordpress template for Vine Street Interactive

Installation

Clone this repo into your working directory:

git clone git@github.com:vinestreet/vsi_wp_template.git .

Wordpress Submodule

This repo has the Wordpress Core setup as a git submodule.

Initialize the wordpress core submodule:

git submodule update --init

This will checkout the wordpress master branch. This branch is latest development version of wordpress and is often unstable. To checkout a stable version of wordpress, find the latest branch before master on the Wordpress Core. As of this writing, the latest stable branch is 3.2-branch.

cd into /core and checkout the stable branch:

git checkout 3.2-branch

Upgrading the wordpress core is now as simple as checking out a new branch... that's awesome!

Install Wordpress

make sure php has write permissions to the http directories

/core/wp-admin/install.php

wp-config

Installing wordpress will create a wp-config.php file.

Move core/wp-config.php up one directory level to the http root directory.

We now need to redirect the wordpress content directories (themes, plugins, and uploads) to the http root directory. Add the following to wp-config.php just before the the call to wp-settings

/* Move wp-content - must be set before call to 'wp-settings'*/
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST']);

In the wordpress general settings, remove /core from the site url. This tells wordpress to make the root url the home page.

Theme

Based on the HTML5 Reset Wordpress Theme

Summary:

The HTML5 Reset Wordpress theme is a blank theme based on the HTML5 Reset templates. It's a great empty slate upon which to build your own HTML5-based Wordpress themes.

hNews

In addition to all the standard Wordpress elements and classes, we have added the code required so that the single post template conforms with the hNews microformat.

HTML5 Reset brings to the table:

  1. A style sheet designed to strip initial files from browsers, meaning you start off with a blank slate.
  2. Easy to customize -- remove whatever you don't need, keep what you do.
  3. Analytics and jQuery snippets in place
  4. Meta tags ready for population
  5. Empty mobile and print style sheets, including blocks for device orientation
  6. Modernizr.js http://www.modernizr.com/ enables HTML5 compatibility with IE (and a dozen other great features)
  7. IE-specific classes for simple CSS-targeting
  8. iPhone/iPad/iTouch icon snippets
  9. Lots of other keen stuff...

About

Blank Wordpress Template from Vine Street Interactive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors