Skip to content

How web base template actually works

all9lives edited this page Oct 16, 2012 · 7 revisions

Like, how this and wordpress and scott's plugin and everything all work together

Basics

  • web-base-template sets up the structure of all jquery websites using Wordpress Multisite, it contains a base (parent) theme and all of the individual (child) themes for each site.
  • During the install process web-base-template uses a custom wp-config file to setup dev sites for all of the various jquery websites in your local environment.
  • Using Grunt-Wordpress the contents of .html files in /posts/<post-type>/ for each site are push to the wordpress database using XML-RPC
  • The file name become the post/page slug when deployed to wordpress.

Detailed

Setup

Content Formatting

  • Post meta information (tags, categories etc) for content deployed to wordpress via Grunt Wordpress can be set using a JSON block at the top of each .html file, details of the various options can be found on the Grunt-Wordpress Page
  • All other HTML tags will get synced to the wordpress database using XML-RPC.
  • If you need to reference other assets such as images or other files they should be in the /resources/ directory of each individual site, the entire /resources/ directory will be deployed in the process.

Publishing

  • Details of setting up and deploying content for individual jquery websites can be found in Website content builds
Clone this wiki locally