Skip to content

Commit 59aeaa2

Browse files
committed
init
0 parents  commit 59aeaa2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+115987
-0
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
node_modules/

Diff for: 404.php

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php get_header(); ?>
2+
3+
<main role="main">
4+
<!-- section -->
5+
<section>
6+
7+
<!-- article -->
8+
<article id="post-404">
9+
10+
<h1><?php _e( 'Page not found', 'html5blank' ); ?></h1>
11+
<h2>
12+
<a href="<?php echo home_url(); ?>"><?php _e( 'Return home?', 'html5blank' ); ?></a>
13+
</h2>
14+
15+
</article>
16+
<!-- /article -->
17+
18+
</section>
19+
<!-- /section -->
20+
</main>
21+
22+
<?php get_sidebar(); ?>
23+
24+
<?php get_footer(); ?>

Diff for: CHANGELOG.md

+258
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
### [HTML5 Blank](http://html5blank.com) Changelog
2+
3+
## 1.4.3 (02 December, 2013)
4+
5+
* Update [conditionizr](http://conditionizr.com) to version 4.0.0
6+
* Update jQuery to v1.10.2
7+
* Update Google Analytics snippet to _new_ universal snippet
8+
* Improved SVG script
9+
* Removed empty conditionizr asset directories for `js` and `css`
10+
* Remove redundant Modernizr file, loading from CDN
11+
12+
## 1.4.2 (15 June, 2013)
13+
14+
* Add _font-size:62.5%;_ to the HTML element in CSS for _rem_ (relative-ems) sizing
15+
* Update jQuery 1.9.1 to 1.10.1
16+
17+
## 1.4.1 (26 April, 2013)
18+
19+
* Removed protocol-relative scripts/styles function as causes some disruption on some local development environments
20+
* Removed hard-coded jQuery from footer as was causing issues with plugins that relied on jQuery being enqueued
21+
* Removed jQuery CDN fallback, jQuery 1.9.1 and theme scripts will be enqueued in the &lt;head&gt; from now on to avoid conflicts with WordPress jQuery checks/detects
22+
23+
## 1.4.0 (09 April, 2013)
24+
25+
* Move pagination into it's own file (pagination.php) and include in necessary template files
26+
* Enhanced clearfix in CSS to micro clearfix hack (works by using parent element for clear)
27+
* Change all HTML structural comments to lower case for cleaner look
28+
* Add apple-touch-icon-precomposed to &lt;head&gt;
29+
* Moved favicon.ico to 'img/icons'
30+
* Moved new apple touch icon to 'img/icons'
31+
* Remove Conditionizr default &lt;head&gt; setup and add config URL (cleaner code from install) please see [conditionizr](http://conditionizr.com/docs.html) for configuration
32+
* Reordered some meta, links in &lt;head&gt; for better readability/consistency
33+
* Add a few structural (but empty) classes into CSS for fast styling upon install
34+
* Few CSS comments added to label areas/components better
35+
36+
## 1.3.9 (07 April, 2013)
37+
38+
* Added WAI-ARIA landmark roles to enrich semantics and improve accessibility. [Stacey Cordoni](https://github.com/staceycordoni) [#32](https://github.com/toddmotto/html5blank/pull/32)
39+
* Added WAI-ARIA 'role=button' to search form &lt;button&gt;
40+
* Upgrade search input type from 'type=text' to 'type=search' for better use of HTML5 alongside WAI-ARIA
41+
42+
## 1.3.8 (02 April, 2013)
43+
44+
* Load Modernizr from CloudFlare CDN (same as Conditionizr)
45+
* Load only Conditionizr and Modernizr through the &lt;head&gt;, with Conditionizr call too.
46+
* Load jQuery CDN (Google) in footer, with jQuery CDN fallback (CloudFlare)
47+
* Separated WordPress script enqueue to load Conditionizr, Modernizr in head: 'function html5blank_header_scripts()'
48+
* Hard-coded jQuery and CDN fallback into footer.php above custom theme scripts, more reliable fallback method
49+
* Load custom theme scripts in footer: 'function html5blank_footer_scripts()'
50+
* Loading scripts before closing &lt;/body&gt; tag is best practice and not seen often in WordPress sites
51+
* Lowercase &lt;!doctype html&gt; in header.php
52+
* Remove empty line at end of functions.php
53+
54+
## 1.3.7 (01 April, 2013)
55+
56+
* Added Portuguese (Brazil) language translation file to /languages/ from [Wesllei Henrique](https://github.com/wesllei)
57+
58+
## 1.3.6 (30 March, 2013)
59+
60+
* Protocol relative jQuery and Conditionizr URLs
61+
* Protocol relative URLs for all enqueued scripts and styles
62+
* Added French language translation file to /languages/ from [Kevin Plattret](https://twitter.com/kevinplattret)
63+
* Fixed search form bug by adding name="s" attribute
64+
* Neater comments for headings in functions.php (same as style.css)
65+
* Add date ordered contributors to ReadMe.
66+
67+
## 1.3.5 (26 March, 2013)
68+
69+
* Update jQuery CDN to use $_SERVER['SERVER_PORT'] to server HTTPS if needed
70+
* Edit Google Analytics string to cater for SSL/HTTPS (footer.php)
71+
* Added Spanish language translation file to /languages/ from Carlos Pinar
72+
* Indent &lt;head&gt; and &lt;body&gt; elements for better code readability
73+
* Add X-UA-Compatible meta tag to &lt;head&gt; to force Chrome Frame/latest document mode in IE (edge)
74+
* Format the &lt;head&gt; by grouping similar elements
75+
* Enhance footer.php indentation
76+
* Change footer.php fallback text
77+
* Removed HTML comments from comments.php and changed ID to class
78+
* Improve Conditionizr formatting in header.php
79+
* Set Conditionizr scripts/styles to _false_ by default (classes true)
80+
* Change pagination ID to class for better CSS
81+
* Improve indentation in 404.php for child element
82+
* Update screenshot.png
83+
* Update default HTML5 Blank logo and gravatar
84+
85+
## 1.3.4 (22 March, 2013)
86+
87+
* Update Conditionizr to version 2.2.0
88+
* Replaced &lt;aside&gt; id with a class for better CSS
89+
* Better naming conventions for search form, more class focused
90+
* Removed JavaScript onfocus/onblur events in search input
91+
* Replaced onfocus/onblur events with HTML5 placeholder for 'Search' (this is fine for non-supporting browsers as the search button indicates it's a search input)
92+
* Search &lt;input&gt; has been replaced to a &lt;button&gt; for more flexibility, allows HTML content
93+
* Removed font-smoothing from Opera and Mozilla as no longer supported
94+
95+
## 1.3.3 (03 March, 2013)
96+
97+
* Hook up Conditionizr to theme Directory using WordPress theme URI hooks
98+
99+
## 1.3.2 (22 February, 2013)
100+
101+
* Optimise body CSS declaration to shorthand
102+
* Remove inner wrapper inside header element, wrapper now wraps all content
103+
* Added header and footer classes to elements to encourage class styling over element declaration (i.e. header {} always use .header {} class etc.)
104+
105+
## 1.3.1 (13 February, 2013)
106+
107+
* Restructured CSS file, better architecture
108+
* Focused CSS document on a more OOCSS approach (part of restructure)
109+
* Split CSS into; Main, Structure, Pages, Images, Typography, Responsive, Misc, Print
110+
* Moved away from single-line CSS formatting to multiple-line formatting for clearer code
111+
* CSS indentation formatting, new lines for shared selectors
112+
* Update jQuery to version 1.9.1, Google CDN and CloudFlare CDN
113+
* Update Conditionizr to CDNJS CloudFlare v2.1.1
114+
* Removed mediaqueries.min.js, do we really need older browsers to be responsive, HTML5Shiv (built-in Modernizr) is enough
115+
* Updated scripts.js to ride off Modernizr.svg feature detect and remove custom script detect
116+
117+
## 1.3.0 (09 February, 2013)
118+
119+
* Remove jquery.min.js 'local' fallback from /js/ folder, simply fallback to another CDN (CloudFlare), see footer.php, saves code and maintenance across all sites
120+
* Remove Google Analytics and jQuery fallback from functions.php injection, added manually in footer.php
121+
* Setup Conditionizr to supply an HTML5Shim to Less Than IE9 browsers
122+
* Updates Conditionizr to v1.2.0, enhanced retina detection and unlimited 'customScript', for polyfill usage (e.g. using respond.js and html5shim together)
123+
* Added Romanian language translation file to /languages/
124+
125+
## 1.2.9 (03 February, 2013)
126+
127+
* Readded [//conditionizr.com](Conditionizr), the raw JavaScript version 50% faster, previously removed to work on jQuery-free Conditionizr
128+
129+
## 1.2.8 (30 January, 2013)
130+
131+
* Added Google Analytics DNS Prefetch to header.php to reduce [DNS latency](//www.chromium.org/developers/design-documents/dns-prefetching)
132+
133+
## 1.2.7 (23 January, 2013)
134+
135+
* Update to jQuery 1.9.0
136+
* Removed [Conditionizr](http://conditionizr.com)
137+
* Remove Apple Touch Icons
138+
139+
## 1.2.6 (24 December, 2012)
140+
141+
* [Conditionizr](http://conditionizr.com) legacy script and style loader added
142+
* Conditional statements removed from HTML tag (HTML classes added dynamically with Conditionizr)
143+
* Conditional statement for mediaqueries.min.js removed (added dynamically with Conditionizr, included inside scripts.js)
144+
* conditionizr.min.js and conditionizr.js enqueued
145+
* /css/conditionizr/ added with browser styles
146+
* /js/conditionizr/ added with browser scripts
147+
* Shortened ViewPort meta tag with user scalable enabled
148+
149+
## 1.2.5 (09 December, 2012)
150+
151+
* Added SVG support in scripts.js for SVG graphics
152+
* Shorten DOM ready function call to shorthand
153+
* Removed web app capable meta tag, kept viewport
154+
* CSS3 Media Queries JavaScript polyfill added to header.php
155+
* Included default .wrapper style for fluid-first responsive approach
156+
* Upgraded jQuery to 1.8.3
157+
* Split stylesheets with separate call for Normalize as reset
158+
* Global Box Sizing and Font-Smoothing on all elements
159+
160+
## 1.2.4 (15 October, 2012)
161+
162+
* Custom Comments callback - wp_list_comments('type=comment&callback=html5blankcomments'); editable comments now in functions.php
163+
* Custom default Gravatar now built in, with demo gravatar.jpg inside the 'img' folder, swap it out
164+
* Changed date format from the_date to the_time('F j, Y')
165+
* Changed time format from the_time to the_time('g:i a')
166+
* Changes above show the exact same when parsed, but have been changed due to the way WordPress works, which only shows one 'Date' for posts created on the same day. [More here](http://codex.wordpress.org/Function_Reference/the_date).
167+
168+
## 1.2.3 (13 October, 2012)
169+
170+
* Responsive Thumbnail support, added a function which removes width and height dynamic attributes from thumbnail
171+
172+
## 1.2.2 (09 October, 2012)
173+
174+
* Modified function - jQuery CDN fallback to get_template_directory_uri() instead of bloginfo('template_url')
175+
* Add Support for Custom Header
176+
* Tweaked support for Custom Background, added default color and placeholder background image
177+
178+
## 1.2.1 (07 October, 2012)
179+
180+
* Custom callback for wp_nav_menu, now in functions.php with html5blank_nav(); in header.php
181+
* JavaScript added to 'scripts.js', hides URL bar after page load on iPhone/iPad, great for responsive projects
182+
* Meta tag 'apple-mobile-web-app-capable' added to header.php
183+
* Meta tag 'apple-mobile-web-app-status-bar-style' added to header.php
184+
185+
## 1.2.0 (03 October, 2012)
186+
187+
* Merged pull request from J-Rabe
188+
* Localisation-support for all theme strings and empty *.pot for further translations
189+
* German translation added by J-Rabe
190+
* Functions.php includes new function 'load_theme_textdomain' for language support
191+
* Loop.php created to handle the Loop core, with get_template_part inclusion for relevant files
192+
* Loop.php includes conditional result for search results
193+
* Swapped bloginfo('template_url'); for echo get_template_directory_uri(); on Logo + Favicon
194+
* home_url instead of bloginfo('home')
195+
196+
## 1.1.2 (02 October, 2012)
197+
198+
* Merged pull request for comments.php code changes
199+
* Merged pull request to remove 'rel' attribute from categories
200+
* Filter added to remove autop paragraph function from Excerpts (Manual only)
201+
* Filter added to allow shortcodes to execute inside Excerpts (Manual only)
202+
* Filter added to strip autop tags altogether from Excerpts
203+
204+
## 1.1.1 (30 September, 2012)
205+
206+
* Enhanced author template
207+
* Enhanced 404 page with return home link
208+
* Semantic HTML enhancements
209+
* Added 'published by the_author' hooks as a default
210+
* Suggested include of WordPress Core CSS styles, now added
211+
212+
## 1.1.0 (29 September, 2012)
213+
214+
* Core template files restructure
215+
* Semantic HTML enhancements
216+
* Google analytics (optimised) dynamically loaded through functions.php in footer
217+
* jQuery protocol relative fallback dynamically loaded through functions.php in footer
218+
* Hardcoded footer.php content (analytics and jquery) removed as it's dynamically loaded now
219+
* The Loop 'if, while, the' all inline, now inside parent section element
220+
* Pagination links brought inside section element, outside of The Loop after our article
221+
* Section elements brought outside The Loop to hold all page content
222+
* The Loop 'else' content wrapper in article tag for markup/layout consistencies
223+
* Post ID and Post Class added to article elements
224+
* Category support for 'the category' title
225+
* Enhanced Default Template page and Template Demo Page (page.php and template-demo.php)
226+
* Threaded comments support
227+
* Few obvious annotations removed
228+
* Small typo in annotation 'function.php' changed to 'functions.php'
229+
* Update theme default logo with new branding
230+
* CSS tweak for default hyperlink color change to match Logo blue
231+
232+
## 1.0.2 (28 September, 2012)
233+
234+
* Update CDN and local jQuery fallbacks from 1.8.1 to 1.8.2
235+
* Conditional page loads script added to functions.php
236+
* Added Custom Background support into functions.php
237+
* Remove WordPress Admin bar by default
238+
* Remove 'text/css' from enqueued stylesheet
239+
* Updated screenshot.png logo to new HTML5 Blank branding
240+
* CSS change, :focus changed to input:focus as FireFox was adding focus styles to any element
241+
* CSS change, new Chrome updates renders fonts thicker, reduced font-weight on body from 400 to 300
242+
* CSS change, create non-semantic section below media queries, moved text-selection colors etc
243+
* CSS change, default font-family for h1-h6 Helvetica Neue with Helvetica/Arial fallbacks (previous Georgia)
244+
* CSS header theme details updated to new URL
245+
* Move toddmotto.com/html5blank/ to new html5blank.com domain
246+
* Favicon support for theme directory favicon.ico
247+
* Apple touch icon support, drag into root folder
248+
* LICENSE.md and README.md added and fully updated
249+
250+
## 1.0.1 (27 September, 2012)
251+
252+
* Commit CHANGELOG.md
253+
* Commit README.md
254+
* Commit of Empty Fonts folder with readme.txt inside (for GitHub detection)
255+
256+
## 1.0.0 (16 September, 2012)
257+
258+
* Initial commit

Diff for: LICENSE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# [HTML5 Blank](http://html5blank.com) License
2+
3+
## MIT License
4+
5+
Copyright &copy; 2013 HTML5 Blank // @html5blank
6+
7+
Built by Todd Motto // @toddmotto
8+
9+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Diff for: README.md

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# [HTML5 Blank](http://html5blank.com)
2+
3+
Powerful shell for rapidly deploying your WordPress projects.
4+
5+
* Project: [github.com/toddmotto/html5blank](https://github.com/toddmotto/html5blank)
6+
* Website: [html5blank.com](http://html5blank.com)
7+
* Twitter: [@html5blank](http://twitter.com/html5blank)
8+
* Author : [Todd Motto](http://toddmotto.com) // [@toddmotto](http://twitter.com/toddmotto)
9+
10+
## Contributors (in order of pull request)
11+
[David Munn](https://github.com/Munnday), [Patrick Zeinert](https://github.com/CoeusCC), [J-Rabe](https://github.com/J-Rabe), [Steve Steiner](https://github.com/ssteinerx), [Kyle Hudson](https://github.com/diskhub), [chrisdl](https://github.com/chrisdl), [Marcel Miranda](https://github.com/reaktivo), [Fx Bénard](https://github.com/fxbenard), Ioan Virag, [Mohamed Elkebir](https://github.com/elkebirmed), [lregla](https://github.com/lregla), Carlos Pinar, [Joshua Lyman](https://github.com/jlyman), [Kevin Plattret](https://github.com/kevinplattret), [Wesllei Henrique](https://github.com/wesllei), [Stacey Cordoni](https://github.com/staceycordoni).
12+
13+
## Getting Started with HTML5 Blank
14+
15+
Download the latest version from [html5blank.com](http://html5blank.com)
16+
17+
## Get involved! Make HTML5 Blank better
18+
19+
There are a few ways to get involved, submit a Pull Request, or submit a comment on the website - [html5blank.com](http://html5blank.com)
20+
21+
## Features
22+
23+
### HTML5
24+
* Basic Semantic HTML5 Markup
25+
* W3C Valid Code Foundations
26+
* Responsive Ready, ViewPort meta data
27+
* HTML Class support for IE7, IE8, IE9 Conditionals (HTML5 Boilerplate)
28+
* Clean, neatly organised code, with PHP annotations
29+
30+
### jQuery + JavaScript
31+
* Replaced built-in WordPress enqueue with Google CDN
32+
* Protocol relative jQuery if Google CDN offline (HTML5 Boilerplate)
33+
* Conditionizr for cross-platform/device detects and enhancements
34+
* Modernizr feature detection, HTML5 element support for legacy, progressive enhancement (HTML5 Boilerplate)
35+
* DOM Ready JavaScript file setup (scripts.js) for instant JavaScript development
36+
* JavaScript files enqueued using WordPress functions into wp_head
37+
38+
### CSS3
39+
* HTML5 Boilerplate reset
40+
* Media Queries framework for instant development using @media
41+
* @font-face empty framework with Fonts folder setup ready for new custom fonts
42+
* CSS3 custom selection styles
43+
* Inline print styles (HTML5 Boilerplate)
44+
* Body element config, including Optimize Legibility for kerning and font-smoothing
45+
* Replaced focus styles to avoid blue blur in field elements, replaced with border
46+
* Stylesheet enqueued using WordPress functions into wp_head
47+
48+
### Preloaded Functions (functions.php)
49+
* Enqueue Scripts functions setup
50+
* Enqueue Styles functions setup
51+
* Dynamic WordPress Menu Navigation Support, preloaded with 3 Dynamic menus
52+
* Cleaned up dynamic nav output (Remove outer 'div')
53+
* Remove all injected classes from nav items, ID's, Page ID's
54+
* Custom Post Type x1 preloaded for demonstration, supporting: Category, Tags, Post Thumbnails, Excerpts
55+
* Dynamic Sidebar with x2 Widget Areas, and sidebar.php setup
56+
* WordPress Thumbnail Support, no Plugin image cropping, custom Arrays and Thumbnail settings
57+
* Custom Excerpt callbacks, with changeable callback numbers
58+
* Replaced 'Read More' button for custom Excerpt callbacks
59+
* Demo Shortcodes included, with Nested Shortcode capability
60+
* Add Slug to body class (Starkers Theme credit)
61+
* wp_head functions stripped right down, remove excess injected junk
62+
* All functions annotated, categorised into sections, filters, actions, shortcodes etc.
63+
* Space for development, neatly organised code with Modules/External files
64+
65+
### Theme Files and Functionality
66+
* Built in Pagination, no plugins (strips out prev + next post and gives page numbers)
67+
* Optimised Google Analytics in footer (HTML5 Boilerplate)
68+
* Widget Area Sidebar support, functions in place to get developing
69+
* Custom Search Form included (searchform.php) - fully editable
70+
* Tags support for showing Post Tags
71+
* Category support for showing the Category of post
72+
* Author support showing the author
73+
* Demo Custom Page Template for expansion

Diff for: archive.php

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php get_header(); ?>
2+
3+
<main role="main">
4+
<!-- section -->
5+
<section>
6+
7+
<h1><?php _e( 'Archives', 'html5blank' ); ?></h1>
8+
9+
<?php get_template_part('loop'); ?>
10+
11+
<?php get_template_part('pagination'); ?>
12+
13+
</section>
14+
<!-- /section -->
15+
</main>
16+
17+
<?php get_sidebar(); ?>
18+
19+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)