├── resources ├── img │ ├── .gitkeep │ └── README.md ├── js │ ├── .gitkeep │ ├── editor.js │ ├── README.md │ └── app.js ├── fonts │ ├── .gitkeep │ └── README.md ├── README.md ├── scss │ ├── 5-blocks │ │ ├── block.button.scss │ │ ├── block.columns.scss │ │ ├── block.cover.scss │ │ ├── block.file.scss │ │ ├── block.gallery.scss │ │ ├── block.group.scss │ │ ├── block.heading.scss │ │ ├── block.quote.scss │ │ ├── block.table.scss │ │ ├── block.media-text.scss │ │ └── block.seperator.scss │ ├── 6-templates │ │ ├── singular.scss │ │ ├── front-page.scss │ │ └── archive.scss │ ├── 3-elements │ │ ├── html.scss │ │ ├── lists.scss │ │ ├── figure.scss │ │ ├── main.scss │ │ ├── images.scss │ │ ├── README.md │ │ ├── links.scss │ │ ├── navigation.scss │ │ ├── heading.scss │ │ ├── body.scss │ │ └── form.scss │ ├── 4-components │ │ ├── sidebar.scss │ │ ├── footer.scss │ │ ├── header.scss │ │ ├── navigation.toogle.scss │ │ ├── logo.scss │ │ ├── README.md │ │ ├── navigation.meta.scss │ │ ├── navigation.footer.scss │ │ ├── pagination.scss │ │ └── navigation.main.scss │ ├── login.scss │ ├── 7-utilities │ │ ├── container.scss │ │ ├── README.md │ │ ├── alignment.scss │ │ └── screen-reader-text.scss │ ├── 2-generic │ │ ├── global.scss │ │ ├── README.md │ │ ├── custom-media-queries.scss │ │ └── custom-properties.scss │ ├── 1-tools │ │ ├── README.md │ │ ├── placeholder.copy.scss │ │ ├── tools.scss │ │ ├── placeholder.headings.scss │ │ ├── placeholder.grid.scss │ │ ├── placeholder.button.scss │ │ ├── placeholder.container.scss │ │ └── mixin.fluid-type.scss │ ├── README.md │ ├── app.scss │ └── editor-styles.scss └── views │ ├── template-parts │ ├── foot.php │ ├── README.md │ ├── sidebar.php │ ├── loop.php │ ├── loop-search.php │ ├── head.php │ ├── footer.php │ └── header.php │ ├── README.md │ ├── index.php │ ├── sidebar.php │ ├── contents │ ├── content-page.php │ ├── README.md │ ├── content.php │ ├── content-search.php │ ├── content-404.php │ ├── content-post.php │ ├── content-archive.php │ └── content-test.php │ ├── footer.php │ ├── header.php │ ├── 404.php │ ├── page-test.php │ ├── singular.php │ ├── search.php │ ├── home.php │ ├── front-page.php │ └── archive.php ├── .browserslistrc ├── fonts.list ├── index.php ├── CHANGELOG.md ├── .gitignore ├── .editorconfig ├── functions.helpers.php ├── style.css ├── languages └── README.md ├── postcss.config.js ├── functions.custom.php ├── .github └── workflows │ └── php.yml ├── INSTALLATION.md ├── package.json ├── composer.json ├── README.md ├── wpackio.server.js ├── wpackio.project.js ├── composer.lock └── functions.php /resources/img/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/js/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/fonts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 0.25%, not dead -------------------------------------------------------------------------------- /fonts.list: -------------------------------------------------------------------------------- 1 | Roboto|Roboto+Condensed 2 | -------------------------------------------------------------------------------- /resources/README.md: -------------------------------------------------------------------------------- 1 | # Source files 2 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.button.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.columns.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.cover.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.file.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.gallery.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.group.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.heading.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.quote.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/5-blocks/block.table.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/scss/6-templates/singular.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 3 | */ 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .env 3 | dist 4 | node_modules 5 | vendor 6 | -------------------------------------------------------------------------------- /resources/fonts/README.md: -------------------------------------------------------------------------------- 1 | # Fonts 2 | 3 | Put local fonts in here 4 | -------------------------------------------------------------------------------- /resources/scss/4-components/sidebar.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sidebar 3 | */ 4 | -------------------------------------------------------------------------------- /resources/scss/6-templates/front-page.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Front page 3 | */ 4 | -------------------------------------------------------------------------------- /resources/scss/3-elements/lists.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Lists 3 | */ 4 | ul { 5 | } 6 | -------------------------------------------------------------------------------- /resources/scss/6-templates/archive.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Archive template 3 | */ 4 | -------------------------------------------------------------------------------- /resources/views/template-parts/foot.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /resources/views/template-parts/README.md: -------------------------------------------------------------------------------- 1 | # Partials 2 | 3 | Put reusable parts in here 4 | -------------------------------------------------------------------------------- /resources/js/editor.js: -------------------------------------------------------------------------------- 1 | import '../scss/editor-styles.scss' 2 | 3 | console.log("Theme Editor Script"); -------------------------------------------------------------------------------- /resources/scss/3-elements/figure.scss: -------------------------------------------------------------------------------- 1 | /** 2 | *
3 | */ 4 | figure { 5 | padding: 0; 6 | } 7 | -------------------------------------------------------------------------------- /resources/scss/3-elements/main.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Main content container 3 | */ 4 | .content { 5 | flex: 1; 6 | } 7 | -------------------------------------------------------------------------------- /resources/scss/login.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Stylesheet for login page 4 | * 5 | */ 6 | @import '0-settings/*.scss'; 7 | -------------------------------------------------------------------------------- /resources/scss/7-utilities/container.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Container 3 | */ 4 | .container { 5 | @extend %container; 6 | } 7 | -------------------------------------------------------------------------------- /resources/img/README.md: -------------------------------------------------------------------------------- 1 | # Images 2 | 3 | Put any image required by the theme in here 4 | These images will be compressed by Gulp task 5 | -------------------------------------------------------------------------------- /resources/scss/2-generic/global.scss: -------------------------------------------------------------------------------- 1 | :first-child { 2 | margin-top: 0; 3 | } 4 | 5 | :last-child { 6 | margin-bottom: 0; 7 | } 8 | -------------------------------------------------------------------------------- /resources/scss/4-components/footer.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Footer 3 | */ 4 | .footer { 5 | 6 | &__container { 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /resources/scss/4-components/header.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Header 3 | */ 4 | .header { 5 | 6 | &__container { 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /resources/scss/3-elements/images.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | img { 5 | height: auto; 6 | max-width: 100%; 7 | width: auto; 8 | } 9 | -------------------------------------------------------------------------------- /resources/scss/4-components/navigation.toogle.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Toggle navigation button 3 | */ 4 | .navigation-toggle { 5 | &__icon { 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /resources/scss/1-tools/README.md: -------------------------------------------------------------------------------- 1 | # Tools 2 | 3 | Tools – globally used mixins, placeholders and functions. It’s important not to output any CSS in this layer. 4 | -------------------------------------------------------------------------------- /resources/js/README.md: -------------------------------------------------------------------------------- 1 | # JavaScript 2 | 3 | - Put JavScript files in this folder. 4 | - Files are minified and sourcemapped by Gulp and put into the dist folder 5 | -------------------------------------------------------------------------------- /resources/scss/2-generic/README.md: -------------------------------------------------------------------------------- 1 | # Generic 2 | 3 | Generic – reset and/or normalize styles, box-sizing definition, etc. This is the first layer which generates actual CSS. 4 | -------------------------------------------------------------------------------- /resources/views/README.md: -------------------------------------------------------------------------------- 1 | # Views 2 | 3 | **Only put WordPress or custom template files in here** 4 | 5 | Check: https://wphierarchy.com/ for further template hierarchy documentation 6 | -------------------------------------------------------------------------------- /resources/scss/7-utilities/README.md: -------------------------------------------------------------------------------- 1 | # Utilities 2 | 3 | Utilities – utilities and helper classes with ability to override anything which goes before in the triangle, eg. hide helper class 4 | -------------------------------------------------------------------------------- /resources/views/index.php: -------------------------------------------------------------------------------- 1 | " > 2 | 3 |
4 | 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /resources/views/template-parts/sidebar.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /resources/scss/1-tools/placeholder.headings.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Heading styles 3 | * 4 | * Define global heading styles for reusage in components 5 | */ 6 | 7 | %heading--primary { 8 | } 9 | 10 | %heading--secondary { 11 | } 12 | 13 | %heading--tertiary { 14 | } 15 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Aurora 3 | Theme URI: https://github.com/Horttcore/WordPress-Theme-Boilerplate 4 | Description: WordPress Boilerplate Theme by Ralf Hortt 5 | Author: Ralf Hortt 6 | Version: 1.0.0 7 | Textdomain: TEXTDOMAIN 8 | */ 9 | -------------------------------------------------------------------------------- /languages/README.md: -------------------------------------------------------------------------------- 1 | # Translation 2 | 3 | ## Generate pot file 4 | Use `wp i18n make-pot` command to generate a .pot file 5 | 6 | ### Example 7 | 8 | `wp i18n make-pot . languages/theme.pot --domain="TEXTDOMAIN"` 9 | 10 | ## Usage 11 | Put theme .mo and .po files in here 12 | -------------------------------------------------------------------------------- /resources/scss/app.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Site stylesheet 3 | */ 4 | @import "1-tools/*.scss"; 5 | @import "2-generic/*.scss"; 6 | @import "3-elements/*.scss"; 7 | @import "4-components/*.scss"; 8 | @import "5-blocks/*.scss"; 9 | @import "6-templates/*.scss"; 10 | @import "7-utilities/*.scss"; -------------------------------------------------------------------------------- /resources/views/contents/README.md: -------------------------------------------------------------------------------- 1 | # Content 2 | 3 | **Only put content files in here** 4 | 5 | Schema: 6 | 7 | - content.php 8 | - content-{postType}.php 9 | - content-archive.php 10 | - content-archive-{postType}.php 11 | - content-search.php 12 | - content-404.php 13 | -------------------------------------------------------------------------------- /resources/scss/3-elements/links.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | a { 5 | transition: all var(--animation__duration); 6 | 7 | &:not([class]) { 8 | text-decoration: underline; 9 | 10 | &:hover { 11 | text-decoration: none; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/scss/1-tools/placeholder.grid.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Basic grid container 3 | * 4 | * @see https://css-tricks.com/patterns-for-practical-css-custom-properties-use/ 5 | */ 6 | %grid { 7 | --columns: auto-fit; 8 | display: grid; 9 | grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); 10 | } 11 | -------------------------------------------------------------------------------- /resources/scss/7-utilities/alignment.scss: -------------------------------------------------------------------------------- 1 | .align { 2 | 3 | &left { 4 | float: left; 5 | } 6 | 7 | &right { 8 | float: right; 9 | } 10 | 11 | &wide { 12 | @extend %container--wide; 13 | } 14 | 15 | &full { 16 | @extend %container--full; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /resources/views/template-parts/loop.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 9 | 10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /resources/views/template-parts/loop-search.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 9 | 10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /resources/scss/3-elements/navigation.scss: -------------------------------------------------------------------------------- 1 | /** 2 | *