The code for my homepage is based on Roots which is a WordPress starter theme based on HTML5 Boilerplate & Bootstrap from Twitter. Find more infos at: http://www.rootstheme.com/
CSS PHP JavaScript
Clone or download
Pull request Compare This branch is 65 commits ahead, 1166 commits behind roots:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lang
lib
templates
.editorconfig
.gitignore
.jshintrc
404.php
CHANGELOG.md
CONTRIBUTING.md
Gruntfile.js
LICENSE.md
README.md
base.php
functions.php
index.php
package.json
page-rebelmouse.php
page.php
screenshot.png
single.php
style.css
template-custom.php

README.md

My Homepage

This repository is used to manage the code for my blog (http://mkoerner.de/).

I guess it wont be of much interest for you. But if there is a feature on my blog that you like, have a look at my source code. Also if there is anything you don't like, please tell me. I'm new to php, html, css, and wordpress so I'm sure there is stuff that can be improved.

Anyway, thanks to Ben Word and all contributors for this awesome theme!

Roots Theme

Built with Grunt

Roots is a WordPress starter theme based on HTML5 Boilerplate & Bootstrap that will help you make better themes.

Installation

Clone the git repo - git clone git://github.com/roots/roots.git - or download it and then rename the directory to the name of your theme or website. Install Grunt, and then install the dependencies for Roots contained in package.json by running the following from the Roots theme directory:

npm install

Reference the theme activation documentation to understand everything that happens once you activate Roots.

Theme Development

After you've installed Grunt and ran npm install from the theme root, use grunt watch to watch for updates to your LESS and JS files and Grunt will automatically re-build as you write your code.

Configuration

Edit lib/config.php to enable or disable support for various theme functions and to define constants that are used throughout the theme.

Edit lib/init.php to setup custom navigation menus and post thumbnail sizes.

Documentation

Roots Docs

  • Roots 101 — A guide to installing Roots, the files and theme organization
  • Theme Wrapper — Learn all about the theme wrapper
  • Build Script — A look into the Roots build script powered by Grunt
  • Roots Sidebar — Understand how to display or hide the sidebar in Roots

Features

  • Organized file and template structure
  • HTML5 Boilerplate's markup along with ARIA roles and microformat
  • Bootstrap
  • Grunt build script
  • Theme activation
  • Theme wrapper
  • Root relative URLs
  • Clean URLs with a plugin (no more /wp-content/)
  • All static theme assets are rewritten to the website root (/assets/*)
  • Cleaner HTML output of navigation menus
  • Cleaner output of wp_head and enqueued scripts/styles
  • Nice search (/search/query/)
  • Image captions use <figure> and <figcaption>
  • Example vCard widget
  • Posts use the hNews microformat
  • Multilingual ready (Brazilian Portuguese, Bulgarian, Catalan, Danish, Dutch, English, Finnish, French, German, Hungarian, Indonesian, Italian, Korean, Macedonian, Norwegian, Polish, Russian, Simplified Chinese, Spanish, Swedish, Traditional Chinese, Turkish, Vietnamese, Serbian)

Contributing

Everyone is welcome to help contribute and improve this project. There are several ways you can contribute:

  • Reporting issues (please read issue guidelines)
  • Suggesting new features
  • Writing or refactoring code
  • Fixing issues
  • Replying to questions on the forum

Support

Use the Roots Discourse to ask questions and get support.