A little Wordpress framework for developers that emphasizes consistency and simplicity.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md
null.archive.php
null.breadcrumb.php
null.html.php
null.layout.php
null.loop.php
null.parser.php
null.php
null.post.php
null.postmeta.php
null.search.php
null.site.php
null.util.php
null.widgets.php

README.md

Null Wordpress Framework

"Null" is a Wordpress theme framework that takes the HTML out of Wordpress theme authoring. Here is a sample single.php page:

<?php
echo NullHeader();

echo NullPostTitle()
  .NullBreadcrumb();
  .NullPostThumbnail('large');

echo NullContentSidebarLayout(
  NullPostContent(),
  NullWidgetArea('Post')
);

echo NullFooter();
?>

Thats it. Instead of using embedded PHP and complicated, inconsistently named Wordpress functions, you can use Null functions with a consistent naming and standardized HTML and CSS to get started, then work from there.

The resulting HTML is intended to be very clean and structured for Dave Gamache's Skeleton boilerplate CSS framework, to get nice responsive layouts.

Example

An example site laid out with Null is my site Spatial Pixel.

Using Null

Clone this repository into a folder null to your existing theme, then require null.php in your functions.php file. E.g.

require( get_template_directory() . '/null/null.php' );

Or download it from GitHub as a zip.

Contributing

If you'd like to contribute, please fork the repo and send a pull request with a nice commit message. Screenshots are great. Try to fit the naming conventions. :)

License

MIT License. See LICENSE.txt.