17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/README.markdown:
--------------------------------------------------------------------------------
1 | HTML5 Boilerplate for Wordpress
2 | ===============================
3 |
4 | This theme is built on the [HTML5 Boilerplate](http://html5boilerplate.com/) by Paul Irish and Divya Manian. The sole purpose of this theme is to save developers the time it takes to apply the HTML5 Boilerplate to WordPress. The "HTML5 Boilerplate" name is used with permission from Paul Irish.
5 |
6 | The layout is based on Bruce Lawson's [Designing a Blog with HTML5](http://html5doctor.com/designing-a-blog-with-html5/)
7 |
8 | Instead of using only DIVs for content layout, it uses new HTML5 tags, including [header](http://html5doctor.com/the-header-element/),
9 | [footer](http://www.w3schools.com/html5/tag_footer.asp),
10 | [nav](http://www.w3schools.com/html5/tag_nav.asp),
11 | [article](http://www.w3schools.com/html5/tag_article.asp),
12 | and [section](http://html5doctor.com/the-section-element/).
13 |
14 | It's a very bare layout, including only the base styles that come with the boilerplate and required WordPress styles, so layout is up to you. Alternatively, you could apply the methods used here to other themes.
15 |
16 | Getting Started
17 | ---------------
18 | 1. Add the html5-boilerplate-for-wordpress folder to your wp-content/themes folder.
19 | 2. Activate the theme. WP-Admin > Appearance > Themes
20 | 3. Add some of the "Root Files" to the root directory of your website (explained below).
21 | 4. Style away, knowing that you're building on a super solid base with HTML5 awesomeness.
22 |
23 | Root Files
24 | ----------
25 | These files can be found in the html5-boilerplate folder in the theme (html5-boilerplate-for-wordpress/html5-boilerplate). Some of the files listed here should be (carefully) moved to the root of your site (same level as the wp-content directory). Read on for specific instructions.
26 |
27 | ### 404 Page
28 | If you use permanlinks (WP-Admin > Settings > Permalinks), then WordPress handles any 404s with the 404.php included in the theme. If you don't use permalinks, then add the 404.html file to the root of your site.
29 |
30 | ### crossdomain.xml
31 | If you don't know what this is, you probably don't need it.
32 | www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html
33 |
34 | ### robots.txt
35 | Tells all search engines that they can read and index all pages. This is handled by WordPress so you shouldn't need to move this to the root.
36 |
37 | Root Images
38 | -----------
39 | These aren't included with the HTML5 Boilerplate, but links to them are, so these were created so that you don't return a 404 when the browser requests them. Better to include these or make your own, than not include any. The can be found in the images folder of the theme (html5-boilerplate-for-wordpress/images).
40 |
41 | ### favicon.ico
42 | The favicon is the icon shown to the left of the URL at the top of your browser window.
43 |
44 | ### apple-touch-icon.png
45 | On iPhones and iPads you can book mark a web page and have it show up on the home screen as an icon. The apple-touch-icon.png becomes this icon if used. Rounded corners and glossy finish are added by the device.
46 |
47 | License
48 | -------
49 |
50 | The Unlicense (aka: public domain) http://unlicense.org
51 |
--------------------------------------------------------------------------------
/archive.php:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
Archive for the ‘’ Category
17 |
18 |
Posts Tagged ‘’
19 |
20 |
Archive for
21 |
22 |
Archive for
23 |
24 |
Archive for
25 |
26 |
Author Archive
27 |
28 |
Blog Archives
29 |
30 |
31 |
35 |
36 |
37 | >
38 |
39 |
40 |
41 |
42 |
43 |
49 |
50 |
51 |
52 |
56 |
57 |
58 | Sorry, but there aren't any posts in the %s category yet.", single_cat_title('',false));
62 | } else if ( is_date() ) { // If this is a date archive
63 | echo("
Sorry, but there aren't any posts with this date.
");
64 | } else if ( is_author() ) { // If this is a category archive
65 | $userdata = get_userdatabylogin(get_query_var('author_name'));
66 | printf("