This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Michael Fields 56023b2194 Remove debugging code from image.php 2012-12-31 16:59:42 -08:00
inc Merge pull request #93 from kwight/patch-2 2012-12-28 17:24:21 -08:00
js Follow through with 'customizer' naming convention. 2012-11-30 09:26:37 -08:00
languages Rename translations to languages, see #73 and #50 2012-09-17 12:07:40 +04:00
layouts Layouts were broken by 752d08afd7. This commit fixes the layouts according to the new naming conventions. 2012-09-04 11:34:27 +04:00
404.php Update the HTML "class" system 2012-08-25 14:06:33 -03:00
README.md use code tags in markdown instead of backticks to be able to use   2012-12-14 16:08:53 +05:30
archive.php Revert "Merge pull request #36 from kovshenin/patch-5" 2012-08-31 08:54:22 +04:00
comments.php Merge pull request #25 from kwight/comments-php-comment 2012-08-06 16:14:24 -07:00
content-page.php _s: Adding starter styles along with a few markup changes to accomodate them 2012-01-13 20:10:17 +00:00
content-single.php Fix tag list separator i18n in content-single.php 2012-11-13 15:08:42 +09:00
content.php Change .tag-links to .tags-links 2012-10-24 11:06:42 -03:00
footer.php Update the HTML "class" system 2012-08-25 14:06:33 -03:00
functions.php _s: Correct DocBlock above theme support for Post Formats. See #126. 2012-12-31 17:05:17 +07:00
header.php Merge pull request #113 from sixhours/patch-3 2012-11-28 10:19:42 -08:00
image.php Remove debugging code from image.php 2012-12-31 16:59:42 -08:00
index.php Remove current_user_can() check from index.php. A similar conditional now exists in no-results.php. 2012-10-06 16:27:56 -07:00
license.txt _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00
no-results.php Only show publish promo to users that can publish 2012-08-31 17:43:21 -03:00
page.php Update the HTML "class" system 2012-08-25 14:06:33 -03:00
rtl.css _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00
screenshot.png _s: Adding a blank screenshot 2012-02-08 20:49:01 +00:00
search.php Update the HTML "class" system 2012-08-25 14:06:33 -03:00
searchform.php Adding current search query to searchform.php 2012-08-14 10:36:37 +04:00
sidebar.php _s: This should have been an li element all along 2012-02-03 19:54:30 +00:00
single.php Update the HTML "class" system 2012-08-25 14:06:33 -03:00
style.css Use a more specific selector to target images in captions. This will avoid setting smilies to block. Fixes #116 2012-12-28 17:12:10 -08:00

README.md

_s

Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.

My ultra-minimal CSS might make me look like theme tartare but that means less stuff to get in your way when you're designing your awesome theme. Here are some of the other more interesting things you'll find here:

  • A just right amount of lean, well-commented, modern, HTML5 templates.
  • A helpful 404 template.
  • A sample custom header implementation in inc/custom-header.php that can be activated by uncommenting one line in functions.php and adding the code snippet found the comments of inc/custom-header.php to your header.php template.
  • Custom template tags in inc/template-tags that keep your templates clean and neat and prevent code duplication.
  • Sample theme options in /inc/theme-options/ that can be activated by uncommenting one line in functions.php.
  • Some small tweaks in /inc/tweaks.php that can improve your theming experience. They can be activated by uncommenting one line in functions.php.
  • Keyboard navigation for image attachment templates. The script can be found in js/keyboard-navigation.js. Its enqueued in functions.php.
  • A script at js/small-menu.js that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. Its enqueued in functions.php.
  • 5 sample CSS layouts in /layouts: Two sidebars on the left, two sidebars on the right, a sidebar on either side of your content, and two-column layouts with sidebars on either side.
  • Smartly organized starter CSS in style.css that will help you to quickly get your design off the ground.
  • The GPL license in license.txt. :) Use it to make something cool.

Getting Started

If you want to keep it simple, head over to http://underscores.me and generate your _s based theme from there. You just input the name of the theme you want to create, click the "Generate" button, and you get your ready-to-awesomize starter theme.

If you want to set things up manually, download _s from github. The first thing you want to do is copy the _s directory and change the name to something else — Like, say, megatherium — then you'll need to do a three-step find and replace on the name in all the templates.

  1. Search for _s inside single quotations to capture the text domain.
  2. Search for _s_ to capture all the function names
  3. Search for _s with a space before it to replace all the occurrences of it in comments. (You'd replace this with the capitalized version of your theme name.)

OR

  • Search for: '_s' & replace with: 'megatherium'
  • Search for: _s_ & replace with: megatherium_
  • Search for:  _s & replace with:  Megatherium

Then, update the stylesheet header in style.css and the links in footer.php with your own information. Next, update or delete this readme.

Now you're ready to go! The next step is easy to say but harder to do: make an awesome WordPress theme. :)

Good luck!