You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install backend dependeces and generate autoloading file.
31
+
32
+
```bash
33
+
# Install composer dependences.
34
+
$ composer install
35
+
```
36
+
37
+
Install frontend dependences and task runner.
38
+
39
+
```bash
40
+
# Install node dependences.
41
+
$ npm install
42
+
```
43
+
44
+
# Development
45
+
46
+
## Compiling Assets
47
+
48
+
Theme uses [Laravel Elixir](https://laravel.com/docs/5.3/elixir) to compile it's scripts and stylesheets. Files are generated to the `public` directory.
49
+
50
+
```bash
51
+
# Run compile tasks.
52
+
$ gulp
53
+
54
+
# Watch for file changes and rund compile tasks.
55
+
$ gulp watch
56
+
57
+
# Compile assets for production.
58
+
$ gulp --production
59
+
```
60
+
61
+
## Folders and Files Structure
62
+
63
+
This starter theme introduces "easy to follow" folder structure, which enforce to divide your theme logic into components.
64
+
65
+
```
66
+
theme
67
+
├── bootstrap/
68
+
├── config/
69
+
│ ├── theme.php
70
+
├── public/
71
+
│ ├── js
72
+
│ ├── css
73
+
│ ├── images
74
+
│ ├── fonts
75
+
├── resources/
76
+
│ ├── assets
77
+
│ │ ├── js
78
+
│ │ ├── sass
79
+
│ ├── templates
80
+
├── src/
81
+
│ ├── Http/
82
+
│ │ ├── ajaxes.php
83
+
│ │ ├── assets.php
84
+
│ ├── Setup/
85
+
│ │ ├── actions.php
86
+
│ │ ├── filters.php
87
+
│ │ ├── navs.php
88
+
│ │ ├── shortcodes.php
89
+
│ │ ├── sidebars.php
90
+
│ │ ├── supports.php
91
+
│ │ ├── widgets.php
92
+
│ ├── Structure/
93
+
│ │ ├── posttypes.php
94
+
│ │ ├── taxonomies.php
95
+
│ ├── helpers.php
96
+
├── 404.php
97
+
├── composer.json
98
+
├── footer.php
99
+
├── functions.php
100
+
├── gin
101
+
├── header.php
102
+
├── index.php
103
+
├── package.json
104
+
├── screenshot.png
105
+
├── style.css
106
+
```
107
+
108
+
## USAGE.md Boilerplate
109
+
110
+
[USAGE.md](https://github.com/tonik/theme/blob/master/USAGE.md) provides "How to use" guide for themes created with this starter. Remember to properly fill this file before finalising project. Your clients will be grateful.
You should be familiar with command line to efficiently install this theme. Required is also a knowledge about [Composer](https://getcomposer.org) and other modern web development tools and workflows.
4
+
5
+
## Requirements
6
+
7
+
This theme follow WordPress [recommended requirments](https://wordpress.org/about/requirements). Your server must fulfill requirements:
8
+
9
+
- At least PHP >= 5.6 (PHP >= 7.0 is recommended)
10
+
- WordPress 4.4
11
+
12
+
## Bootstraping Theme
13
+
14
+
Download or clone theme repository to the `wp-content/themes` directory.
0 commit comments