A responsive, foundational Wordpress theme boilerplate for developers submitting to the Wordpress.org theme repository. Includes bunches of best practices for theme building requirements and coding standards for authors as suggested by Wordpress' Codex. [ Keep up to date via Twitter and Posterous ] ( @WPFlex ) ( http://wpflex.posterous.com )
Switch branches/tags
Nothing to show
Pull request Compare This branch is 179 commits behind grayghostvisuals:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
inc
js
theme-check
theme-unit
.gitignore
404.php
README.md
archive.php
category.php
comments.php
editor-style.css
footer.php
functions.php
header.php
index.php
page.php
pageblank.php
screenshot.png
screenshot.psd
search.php
searchform.php
sidebar.php
single.php
style.css
wpflex-options.php
wpflex-readme.txt

README.md

#WP-Flex v1.0.1 → http://grayghostvisuals.com/wpflex http://grayghostvisuals.com/wpflex

##WHAT IS IT? A blank, responsive, Wordpress theme boilerplate for developers submitting to the Wordpress.org theme repository. Includes bunches of best practices for theme building requirements and coding standards for authors as suggested by Wordpress' Codex.

If you care to mention this theme helper in your project then please do so by adding the following to your site footer with an appropriate link to this repo: "Built with the almighty WP–Flex; A blank, responsive boilerplate for Wordpress theme makers."

####Codex Theme Review Guidelines http://codex.wordpress.org/Theme_Review ####Theme Unit Test Site http://wpthemetestdata.files.wordpress.com

##KID TESTED, DEVELOPER APPROVED: Tested and Debugged using Wordpress 3.4, theme-unit-test.xml and wp-config.php.

###Windows 7 Browser Tests

  1. IE 7-9
  2. Chrome 18
  3. Firefox 12
  4. Safari 5
  5. Opera 11

###Mac Lion 10.7 Browser Tests

  1. Firefox 12
  2. Chrome 18
  3. Safari 5
  4. Opera 11

##IT STILL NEEDS YOUR HELP!

  1. In order to submit to the Wordpress theme repo, authors must rename all function calls / variables with the theme name reference to your own new theme-to-be name. Reference → http://codex.wordpress.org/Theme_Review#Theme_Name for rules regarding naming. WP-Flex needs a dynamic means to create a new theme name across our codebase without going through everything line by line.

###For example using functions.php to illustrate…


function wpflex_setup() {
   do_something_great()
}

would be replaced dynamcially with our new name....

function awesomesauce_setup() {
   do_something_great()
}

###Wordpress Coding Standards Guidelines Documentation → http://codex.wordpress.org/WordPress_Coding_Standards

####CSS Coding Standards

###!Before uploading your theme submission

  1. Remove any hidden files from your WP-Flex directory per Theme Check Plugin Review → http://pross.org.uk/theme-check
  2. Remove github's README.md file included with this repository
  3. Rename wpflex-readme.txt to readme.txt as per Wordpress' Codex theme requirements
  4. License your theme with GNU http://www.gnu.org/licenses/gpl-3.0.html. Themes are required to be licensed fully under a GPL-compatible license.

####UNDER THE HOOD:

  1. HTML5 Boilerplate → http://html5boilerplate.com
  2. jQuery → http://jquery.com
  3. Modernizr → http://modernizr.com

#####EVEN MORE!!!

  1. wpflex-readme.txt

    • A must have for theme submission. Describes the ins and outs to users what's great and what still needs work with your theme. (A reccomendation from the Wordpress Codex for theme authors)
  2. Detailed PHP Comments

    • Includes URL references for theme submission checks and further customization
  3. Required Wordpress CSS Classes

    • Every theme submission is required to have specific CSS classes for your style sheets in order to be accepted into the WordPress.org theme repository
  4. Responsive Images

  • You know the drill. Blah, blah, blah, something, something, max-width:100% sorta stuff for embedded media. Also implemented for WordPress post attachments by making sure images with WordPress–added height and width attributes are scaled correctly.
  1. Comment Thread Styling Classes

    • Those tricky comment thread styling classes provided to you by default. No more scanning the DOM or reading more tutorials. It's all there bro!
  2. Responsive Category and Tag Listings

    • In order to flow the listing of tags and categories as the browser expands and contracts we must break up the lists and display them inline –in order to avoid a run on measure. We make absolutely sure we stop too many categories from breaking the layout.
  3. Standardized CSS Comment Flags

    • CSS comment flags used for sectioning as reccommended by Wordpress theme submission codex
  4. theme-unit & theme-unit-test.xml

    • A database for theme testing with multiple users, comment threading, posts and much more
  5. WP-Flex theme-options.php Boilerplate

    • Custom boilerplate starting point to give your users and authors awesome theme options
  6. Theme functions.php Boilerplate

##More inspiring and wonderful blank Wordpress themes

Surely you can always visit the Wordpress Codex for more customization and give it a shot yourself -thats what I did :)p

######Codex http://codex.wordpress.org ######Wordpress.org http://wordpress.org