mattbanks/WordPress-Starter-Theme
소개
커스텀 테마를 만들 때 시작 템플릿으로 사용할 수 있는 WordPress 스타터 테마입니다. SCSS, Normalize, AutoPrefixr를 사용하며, Grunt로 컴파일·린트·배포를 수행하고 BrowserSync로 여러 기기에서 자동 새로고침을 지원합니다.
웹 및 앱 개발What you can do
- Normalized stylesheet for cross-browser compatibility using Normalize.css version 3 (IE8+)
- Easy to customize
- Flexible grid based on work from Chris Coyier
- Media Queries can be nested in each selector using SASS
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWordPress Starter Theme
Version: 4.2.2
Author:
Matt Banks ( @mattbanks / collectivthkg.com / mattbanks.me )
Summary
WordPress Starter Theme for use as a starting template for building custom themes. Uses SCSS and AutoPrefixr, HTML5 Boilerplate with Modernizr and Normalize.css, and Grunt for all processing tasks. Syncs changes across local development devices with BrowserSync. Tested up to WordPress 4.0 RC1.
Usage
The theme is setup to use Grunt to compile SCSS (with source maps), run it through AutoPrefixr, lint, concatenate and minify JavaScript (with source maps), optimize images, and syncs changes across local development devices with BrowserSync, with flexibility to add any additional tasks via the Gruntfile. Alternatively, you can use CodeKit or whatever else you prefer to compile the SCSS and manage the JavaScript.
Rename folder to your theme name, change the style.scss intro block to your theme information. Open the theme directory in terminal and run npm install to pull in all Grunt dependencies. Run grunt to execute tasks. Code as you will.
If you are using MAMP or Vagrant, change the proxy option in the grunt browserSync task to match your vhost URL.
- Compile
assets/styles/style.scsstostyle.css - Compile
assets/styles/editor-style.scsstoeditor-style.css - Concatenate and minify plugins in
assets/js/vendorandassets/js/source/plugins.jstoassets/js/plugins.min.js - Minify and lint
assets/js/source/main.jstoassets/js/main.min.js - ??
- Profit
- Create sprites by adding PNGs to assets/images/sprites and use by referencing created classes in assets/styles/partials/_spritesheet.scss
To concatenate and minify your jQuery plugins, add them to the assets/js/vendor directory and add the js filename and path to the Gruntfile uglify task. Previous versions of the starter theme automatically pulled all plugins in the vendor directory, but this has changed to allow more granular control and for managing plugins and assets with bower.
Bower
Supports bower to install and manage JavaScript dependencies in the assets/js/vendor folder.
Deployment
The theme includes deployments via grunt-rsync. The Gruntfile includes setups for staging and production - edit your paths and host, then run grunt deploy:staging or grunt deploy:production to deploy your files via rsync.
Features
- Normalized stylesheet for cross-browser compatibility using Normalize.css version 3 (IE8+)
- Easy to customize
- Flexible grid based on work from Chris Coyier
- Media Queries can be nested in each selector using SASS
- SCSS with plenty of mixins ready to go
- Grunt for processing all SASS, JavaScript and images, and cross-device refreshing with BrowserSync
- Much much more
Suggested Plugins
- WordPress SEO by Yoast
- Google Analytics for WordPress by Yoast
- W3 Total Cache
- Gravity Forms
- Pods Framework

Contributing:
Anyone and everyone is welcome to contribute! Check out the Contributing Guidelines.
Contributors:
Credits
Without these projects, this WordPress Starter Theme wouldn't be where it is today.
관련 프로젝트 살펴보기
불러오는 중…