JeremyEnglert/JointsWP
소개
**보관됨**: Foundation 6으로 만든 빈 WordPress 테마입니다. 처음부터 시작하지 않고도 복잡하고 모바일 친화적인 웹사이트를 유연하게 구축할 수 있습니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original** This project is no longer actively maintained. **
Currently using Foundation 6.5.3.
JointsWP Requirements
JointsWP requires Node.js v6.9.x or newer. This doesn't mean you need to understand Node (or even Gulp) - it's just the steps we need to take to make sure all of our development tools are installed.
Getting Started
Download JointsWP and install dependencies with npm
$ cd my-wordpress-folder/wp-content/themes/
$ git clone https://github.com/JeremyEnglert/JointsWP.git
$ cd JointsWP
$ npm install
At this point, JointsWP should be installed and fully running on your local machine. If you prefer to install the theme manually, that will work as well - just be sure to run npm install after manually moving the files into the /themes/ directory.
Working with JointsWP
Watching for Changes
$ npm run watch
- Watches for changes in the
assets/styles/scssdirectory. When a change is made the SCSS files are compiled, concatenated with Foundation files and saved to the/stylesdirectory. Sourcemaps will be created. - Watches for changes in the
assets/scripts/jsdirectory. When a change is made the JS files are compiled, concatenated with Foundation JS files and saved to the/scriptsdirectory. Sourcemaps will be created. - Watches for changes in the
assets/imagesdirectory. When a change is made the image files are optimized and saved over the original image.
Watching for Changes with Browsersync
$ npm run browsersync
This will watch the same files as npm run watch, but utilizes browsersync for live reloading and style injection. Be sure to update the URL variable in the gulpfile.js to your local install URL.
Compile and Minify All Theme Assets
$ npm run build
Compiles and minifies all scripts and styles.
Compile Specific Assets
$ npm run styles- to compile all SCSS files in theassets/styles/scssdirectory.$ npm run scripts- to compile all JS files in theassets/scripts/jsdirectory.$ npm run images- to optimize all image files in theassets/imagesdirectory.
File Structure - "Where to Put Stuff"
Custom Styles
style.css- this file is never actually loaded, however, this is where you set your theme name and is required by WordPressassets/styles/scss/style.scss- import all of your styles here. If you create an additional SCSS file, be sure to import it here.assets/styles/scss/_main.scss- place all of your custom styles here.assets/styles/scss/_settings.scss- adjust Foundation style settings here.assets/styles/scss/login.scss- place custom login styles here. This will generate it's own stylesheet.
Custom Scripts
assets/scripts/js/- place your custom scripts here. Each .JS file will be compiled and concatenated when the build process is ran.
Images
assets/images/- place your theme images here. Each image will be optimized when the build process is ran.
관련 프로젝트 살펴보기
불러오는 중…