Coder Social home page Coder Social logo

subbug / wordpress-starter-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattbanks/wordpress-starter-theme

0.0 0.0 0.0 154 KB

WordPress Starter Theme for use as a starting template for building custom themes. Uses Compass, SCSS, HTML5 Boilerplate with Modernizr and Normalize.css.

wordpress-starter-theme's Introduction

WordPress Starter Theme

Version: 2.6.7

Contributors:

Matt Banks ( @mattbanks / kernelcreativemedia.com / mattbanks.me )

Summary

WordPress Starter Theme for use as a starting template for building custom themes. Uses Compass/SCSS, HTML5 Boilerplate 4 with Modernizr and Normalize.css. Tested with WordPress 3.4 - 3.5.

Usage

Rename folder to your theme name and begin development. Code as you will.

I use CodeKit for Compass/SCSS compiling, but feel free to use whatever app or command line tool you prefer. LiveReload and Grunt are also great tools for compiling SCSS.

  • Compile scss/style.scss to style.css (defined in config.rb for Compass)
  • Compile js/plugins.js to js/plugins.min.js
  • Compile js/main.js to js/main.min.js
  • ??
  • Profit

Features

  1. Normalized stylesheet for cross-browser compatibility using Normalize.css version 2 (IE8+ only)
  2. Easy to customize
  3. Flexible grid from Chris Coyier
  4. Media Queries for mobile and tablets ready to populate
  5. Removed comments from pages
  6. Compass & SCSS with plenty of mixins ready to go
  7. Much much more

Suggested Plugins

Changelog

Version 2.6.7

  • Fix remove_menu_page to trigger on admin_menu instead of admin_init

Version 2.6.6

  • Add grid column sizes I typically use, general code cleanup

Version 2.6.5

  • Fix calls for favicon and apple-touch-icon in header
  • Remove older IE conditional comments since I don't support IE7 and below
  • Change chromeframe call to include IE7

Version 2.6.4

  • Clean up footer dynamic_sidebar() call
  • Add comment blocks for template parts
  • Add functions to remove dashboard widgets, remove admin menu pages, reorder admin menu
  • Include add_image_size if needed in init

Version 2.6.3

  • Fix text selection bg and color not pulling from variables

Version 2.6.2

  • Move border-box from _grid.scss to _global.scss
  • Add border-box support for pseudo elements, because it makes the world a better place

Version 2.6.1

  • Fix broken call in sidebar.php
  • Properly translate widget titles

Version 2.6

  • Break functions out into their own included files
  • Register style before enqueue
  • Redo comments template based on Underscores Theme
  • Added required classes to _posts.scss to remember to style them
  • Broke register_sidebar() out of loop
  • Add support for custom-header, custom-background, editor-style.css, content_width
  • Add GPL license info to style.scss
  • Add function to remove query strings from static resources
  • Remove shortlink from wp_head
  • Ran theme through Theme Check plugin to verify things were in order

Version 2.5

  • remove jQuery loading from Google CDN. Use Google Libraries plugin is a better option while using version of jQuery in WordPress Core
  • cleaned up functions.php and made it more robust
  • Moved index, single and page displays out to template parts
  • Properly enqueue stylesheet in functions.php instead of manually in header.php
  • Updated social network buttons to latest code
  • Renamed jquery.functions.js to main.js
  • Add flexible grid SCSS
  • Updated to HTML5 Boilerplate 4
  • Updated to Normalize.css 2
  • Updated to Modernizr 2.6.2
  • Include @media bubbling mixins, via Chris Coyier
  • Other bug fixes and changes

Version 2.1

  • added compass with config.rb
  • removed mixins covered by compass

Version 2.0

  • added SCSS as preprocessor files
  • upgraded modernizr to 2.5.2
  • upgraded jQuery to 1.7.2
  • renamed script.js to jquery.functions.js
  • functions.php points to minified versions of plugins.js and jquery.functions.js
  • removed unneeded code in functions.php
  • cleaned up header.php and footer.php
  • added google +1 button to social buttons

Version 1.0

  • initial version

Credits

Without these projects, this WordPress Starter Theme wouldn't be where it is today.

wordpress-starter-theme's People

Contributors

mattbanks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.