Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odin v3 beta #480

Open
wants to merge 228 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
9929050
Remove favicon
adammacias May 17, 2016
adb0cd3
Remove no-js class CSS
adammacias May 17, 2016
4da5a25
Remove script html5.js
adammacias May 17, 2016
e95172d
Add templates-parts directory
adammacias May 17, 2016
8f7f1c7
Delete docs directory
adammacias May 17, 2016
c560537
Slit helpers
adammacias May 18, 2016
ba8b82a
Move files core to inc directory
adammacias May 18, 2016
143e1ba
Delete variable no use
adammacias May 18, 2016
4af8137
Delete odin_debug() function
adammacias May 18, 2016
478f0eb
Move Odin_Widget_Like_Box
adammacias May 18, 2016
70d60f1
Rename optimize file to cleanup
adammacias May 18, 2016
9280b33
Move register menu theme-support.php to new menu.php
adammacias May 18, 2016
2946525
Delete file optimize.php, new is cleanup.php
adammacias May 18, 2016
5f0769b
Fix include shortcode module
adammacias May 18, 2016
9bed293
Update functions.php
adammacias May 18, 2016
f646fa8
Delete audio.php and video.php files
adammacias May 18, 2016
8b5ebe8
Move languages directory
adammacias May 18, 2016
204ba7a
Add bower file
adammacias May 19, 2016
a721a81
Update gitignore
adammacias May 19, 2016
2dfc0cb
Refactor Gruntfile, Package and Bower files
adammacias May 19, 2016
5e31c5c
Refactor assets directory
adammacias May 19, 2016
8f1c5cb
Update enqueue scripts
adammacias May 20, 2016
f297ce6
Fix task zip
adammacias May 20, 2016
46842d7
Update comments in main theme files
adammacias May 21, 2016
4c515ae
Update version number Odin
adammacias May 21, 2016
5d1297b
Update navigation skiplink in header
adammacias May 24, 2016
bdfc9a3
Update header branding
adammacias May 24, 2016
646f59a
Update navigation top
adammacias May 24, 2016
1f375e0
Update custom header image
adammacias May 25, 2016
92bdc59
Fix navigation top
adammacias May 25, 2016
6795d31
Update theme support
adammacias May 25, 2016
40c2639
Fix theme support
adammacias May 25, 2016
24c08fd
Update SCSS files
adammacias May 25, 2016
2833a6f
Grunt
adammacias May 25, 2016
bd45757
Update dependencies package.json
adammacias May 27, 2016
5ec7fb0
Change path files SCSS vendors directory
adammacias May 27, 2016
e6db6df
Update Gruntfile.js
adammacias May 27, 2016
cfda0f8
Remove bower package.json
adammacias May 27, 2016
dd03b55
Update main.js and grunt
adammacias May 27, 2016
e79822b
Fix watch task
adammacias May 27, 2016
0c28c42
Update style theme and grunt
adammacias May 27, 2016
c05d217
Improve editor-style.scss
adammacias May 27, 2016
e8e2eb6
Update import bourbon optional and grunt
adammacias Jun 1, 2016
1067c02
Update .jshintrc to main directory
adammacias Jun 1, 2016
4e752e3
Rename templates-parts to template-parts
adammacias Jun 1, 2016
20e5850
Update languages local
adammacias Jun 1, 2016
cd8d35a
Rename like-box.php to class-odin-widget-like-box.php
adammacias Jun 1, 2016
68819b9
Update assets admin
adammacias Jun 1, 2016
c99d828
Rename Odin shortcodes
adammacias Jun 1, 2016
8473c2f
Rename classes helpers
adammacias Jun 1, 2016
38800ca
Update .gitignore
adammacias Jun 1, 2016
89cd6de
Fix package.json
adammacias Jun 1, 2016
bc1e29e
Rename libraries, hooks and helpers functions
adammacias Jun 2, 2016
2066c01
Merge pull request #398 from adammacias/v3-dev
adammacias Jun 2, 2016
4a5dcae
Changes in tags and missing comma
rodrigo-brito Jun 8, 2016
2d6bd6f
Merge pull request #400 from rodrigo-brito/fix-tags
adammacias Jun 10, 2016
9f1ed3e
Merge remote-tracking branch 'odin/master' into v3-dev
adammacias Jul 6, 2016
30d106e
Fix merge conflit
adammacias Jul 6, 2016
3dd0cd0
Generate files by grunt
adammacias Jul 6, 2016
b4c5538
Fix text-domain
adammacias Jul 7, 2016
2d6764c
Add CSS generated WordPress core
adammacias Jul 7, 2016
b145089
Add content_width theme support
adammacias Jul 7, 2016
c8ca1f5
Fix text-domain translate theme
adammacias Jul 7, 2016
24a945f
Fix pattern comment
adammacias Jul 7, 2016
31eb920
Delete Gruntfile.js
adammacias Jul 7, 2016
7529cd3
Update package.json
adammacias Jul 13, 2016
377b767
Add gulpfile.js
adammacias Jul 13, 2016
f6abbad
Refactor scripts
adammacias Jul 13, 2016
361a380
Refactor styles
adammacias Jul 13, 2016
a1b1d9e
Refactor images
adammacias Jul 13, 2016
db1515f
Refactor fonts
adammacias Jul 13, 2016
405e6a9
Update bower dependencies
adammacias Jul 13, 2016
c2c1a4c
Update enqueue_scripts() function
adammacias Jul 13, 2016
4119c38
Renomeado diretório das classes de /libraries para /classes
allysonsouza Oct 10, 2016
abe9ce7
Removidas classes que adentravam o território de plugins. ver - https…
allysonsouza Oct 10, 2016
4e87c32
Implementação do TGM para requerer o Odin Toolkit
allysonsouza Oct 10, 2016
b599066
Comentado requisição do TGM, deixando a cargo do desenvolvedor defini…
allysonsouza Oct 10, 2016
de91881
Removido código de testes para criação de custom post type
allysonsouza Oct 10, 2016
4f5e4a4
Add command scripts npm. To can call "npm run dev"
adammacias Dec 4, 2016
4b74381
Update devDependencies in package.json
adammacias Dec 4, 2016
a77e177
Add yarn.lock file
adammacias Dec 4, 2016
1f53014
Build
adammacias Dec 4, 2016
3edda6e
Merging with Odin v2.x
adammacias Dec 4, 2016
b6507f3
Add task gulp dist
adammacias Dec 4, 2016
0b697d1
Remove task deploy gulp
adammacias Dec 4, 2016
20ed467
Update bower dependencies
adammacias Dec 4, 2016
4549c62
Build
adammacias Dec 4, 2016
ac41b6d
Merge remote-tracking branch 'odin/v3-dev' into v3-dev
adammacias Dec 4, 2016
57eb8cd
Merge branch 'v3-dev' of https://github.com/wpbrasil/odin into v3-dev
allysonsouza Mar 1, 2017
bd58dc1
Merge branch 'v3-dev' of https://github.com/HasteDesign/odin into v3-dev
allysonsouza Mar 1, 2017
807a88e
Renamed and moved to /inc the required plugins file
allysonsouza Mar 10, 2017
81abff1
Fixed the forgotten */ at the end of required-plugins.php
allysonsouza Mar 10, 2017
09c85cb
Removed TGMPA directly inserted and add composer
allysonsouza Mar 13, 2017
a118361
Removed /vendor from .gitignore
allysonsouza Mar 13, 2017
c1b8c28
Update comments functions
adammacias Mar 14, 2017
b0d6cd5
Add composer autoload #448
adammacias Mar 14, 2017
5a26bd8
Clear configuration TGM Plugin #448
adammacias Mar 14, 2017
4ca35d9
Add config file to register the required plugins #448
adammacias Mar 14, 2017
2d0d8c1
Add /vendor to .gitignore #448
allysonsouza Mar 14, 2017
01bd558
Remove CHANGELOG.md, now is Releases/Tags tab on GitHub
adammacias Mar 12, 2018
b037817
Remove Grunt.js
adammacias Mar 12, 2018
94646ba
Remove fonts glyphicons bootstrap 3
adammacias Mar 24, 2018
dbb12fd
Remove sass bootstrap 3
adammacias Mar 24, 2018
e982d25
Remove scripts bootstrap 3
adammacias Mar 24, 2018
656397d
Remove script main bootstrap 3
adammacias Mar 24, 2018
fda927f
Merge Add jQuery as dependency
adammacias Mar 24, 2018
cfb40d7
Remove odin-livereload
adammacias Mar 24, 2018
bebb726
Remove enqueue script bootstrap 3
adammacias Mar 24, 2018
b33e712
Remove enqueue script fitvids
adammacias Mar 24, 2018
f746a78
Remove html5shiv - bye support lt IE 9
adammacias Mar 24, 2018
72ee6a4
Improve odin_enqueue_scripts function
adammacias Mar 24, 2018
dcf29dd
Improve odin_stylesheet_uri function
adammacias Mar 24, 2018
c371d64
Update name style and script files
adammacias Mar 24, 2018
b9876a9
Add webfonts fontawesome 5
adammacias Mar 25, 2018
7632d1b
Add styles fontawesome 5
adammacias Mar 25, 2018
dfd7bc4
Add Bootstrap 4
adammacias Mar 25, 2018
5317459
Remove no-js tag html, not using Modernizr more
adammacias Mar 26, 2018
31f97ed
Update navigation skiplink component
adammacias Mar 26, 2018
54f363d
Update meta tag viewport bootstrap 4
adammacias Mar 26, 2018
57be44b
Update navigation-main component
adammacias Mar 27, 2018
da055b1
Update header component
adammacias Mar 28, 2018
04a7628
Add brand-logo component
adammacias Mar 28, 2018
6da3411
Rename navigation components
adammacias Mar 28, 2018
3453a9e
Update footer component
adammacias Mar 28, 2018
19f0420
Improve header component
adammacias Mar 28, 2018
0374ae2
Add post compoent
adammacias Mar 28, 2018
f164138
Add post page compoent
adammacias Mar 28, 2018
2111590
Remove old content, now is components/post
adammacias Mar 28, 2018
3d517a3
Update styles structure
adammacias Mar 28, 2018
e97995a
Fix warning excerpt in header component
adammacias Mar 29, 2018
45952b0
Add feature functions for media display
adammacias Mar 31, 2018
10c3841
Add page-title component
adammacias Mar 31, 2018
90778be
Add page-description component
adammacias Mar 31, 2018
b31aaf9
Add banner component
adammacias Mar 31, 2018
77bb54c
Update header component
adammacias Mar 31, 2018
60fe88d
Update navigation-main component
adammacias Mar 31, 2018
d722a98
Update header component
adammacias Mar 31, 2018
7eb0b59
Add content-404 component and update 404 template
adammacias Apr 1, 2018
2dad4e6
Remove class-bootstrap-nav.php is not necessary more
adammacias Apr 2, 2018
9451c07
Improve banner component
adammacias Apr 2, 2018
73f10ed
Add pagination posts component
adammacias Apr 2, 2018
fe627d9
Add pagination between single posts component
adammacias Apr 2, 2018
b02dedc
Add pagination within post component
adammacias Apr 2, 2018
15c4c5c
Update sidebar component
adammacias Apr 2, 2018
d35fc90
Update form search component
adammacias Apr 2, 2018
0ac2a1f
Improve post component
adammacias Apr 2, 2018
cfe65d8
Add app component
adammacias Apr 2, 2018
c9a2f10
Rename content to main component
adammacias Apr 2, 2018
058051a
Delete class-bootstrap-nav.php file, is not necessary more
adammacias Apr 2, 2018
7ab80e7
Fix sticker footer classes css
adammacias Apr 2, 2018
eedeeb2
Update index template
adammacias Apr 2, 2018
c475e1f
Update page template
adammacias Apr 2, 2018
1f106b4
Update page sidebar template
adammacias Apr 2, 2018
e2193f2
Update search template
adammacias Apr 2, 2018
233ec8b
Add native wordpress styles sass
adammacias Apr 3, 2018
f0cf111
Update 404 template
adammacias Apr 3, 2018
7db686b
Update archive template
adammacias Apr 3, 2018
3ecb263
Fix classes css in footer
adammacias Apr 3, 2018
1801325
Update author template
adammacias Apr 3, 2018
6f1ece2
Remove category template
adammacias Apr 3, 2018
5e645db
Remove audio template
adammacias Apr 3, 2018
ac1ed5a
Remove image template
adammacias Apr 3, 2018
9d6518c
Update single template
adammacias Apr 3, 2018
956979d
Remove tag template
adammacias Apr 3, 2018
527ce8d
Remove video template
adammacias Apr 3, 2018
8ed8cb5
Add header and foote parts of post
adammacias Apr 3, 2018
2ccfa4a
Add navigation-top component
adammacias Apr 3, 2018
b0f7d32
Add audio, gallery and video components of formats post
adammacias Apr 3, 2018
1a637e8
Add post none component
adammacias Apr 3, 2018
f95b302
Delete html5 shiv, ie 9 is dead
adammacias Apr 3, 2018
445fbf7
Refactor header and banner components
adammacias Apr 3, 2018
13afdbc
Uncomment post-formats theme support
adammacias Apr 3, 2018
2177969
Refactor styles
adammacias Apr 3, 2018
bdfc195
Refactor scripts
adammacias Apr 4, 2018
d50f519
Improve banner component
adammacias Apr 4, 2018
9c543bc
Remove fitvids.js file
adammacias Apr 4, 2018
a6f2a9d
Refactor page component
adammacias Apr 4, 2018
e271031
Update post component
adammacias Apr 4, 2018
e185331
Remove favicon.ico
adammacias Apr 4, 2018
69799a6
Remove search template
adammacias Apr 4, 2018
aae4b63
Improve functions sidebar component
adammacias Apr 4, 2018
fcf6b8b
Improve widgets sidebar component
adammacias Apr 4, 2018
b136ac0
Add widgets in footer component
adammacias Apr 4, 2018
a550a9a
Fix id in sidebar component
adammacias Apr 4, 2018
83d6c7b
Refactor comments functions, templates and styles
adammacias Apr 4, 2018
9702c4c
Remove template-tags, don't using more
adammacias Apr 6, 2018
dc5faca
Refactor functions, includes and core odin
adammacias Apr 6, 2018
c20cbc8
Add dist and vendor in .gitignore file
adammacias Apr 6, 2018
c784185
Feature gulp - update package.json
adammacias Apr 6, 2018
ba980e3
Feature gulp - add gulpfile.js
adammacias Apr 6, 2018
0f77622
Update style.css new version
adammacias Apr 6, 2018
0d59442
Update README.md
adammacias Apr 7, 2018
6dc11d3
Improve brand-logo functions
adammacias Apr 7, 2018
6a65cb3
Rename src to assets directory
adammacias Apr 9, 2018
f543b19
Remove scroll link in banner component
adammacias Apr 9, 2018
c1da283
Update styles banner, form-search, brand and navigation components
adammacias Apr 9, 2018
e9bc339
Remove odin_banner_component_enqueue_script() function, scroll link n…
adammacias Apr 9, 2018
3c24ec7
Update and compress screenshot
adammacias Apr 9, 2018
6344f31
Update brand-logo component
adammacias Apr 9, 2018
269677a
Fix comment navigation component
adammacias Apr 9, 2018
7cf0597
Improve functions custom-header
adammacias Apr 9, 2018
01691db
Remove webfonts source by font-awesome, because is better get from npm
adammacias Apr 9, 2018
9f1c576
Update gulpfile.js
adammacias Apr 9, 2018
198a649
Update .jshintrc file
adammacias Apr 9, 2018
f2dc488
Update path inc files
adammacias Apr 9, 2018
e7e5157
Update .editorconfig file to WordPress coding standards
adammacias Apr 9, 2018
4214ffa
Improve functions post
adammacias Apr 9, 2018
c4f46d2
Add customize selective refresh widgets
adammacias Apr 9, 2018
c8e5e76
Merge branch 'v3-dev' of github.com:wpbrasil/odin into v3-beta
adammacias Apr 10, 2018
f776014
Remove odin_pagination(), use the_posts_pagination()
adammacias Apr 10, 2018
207cbe1
Fix text domain
adammacias Apr 10, 2018
91bc82e
Update version Odin
adammacias Apr 10, 2018
c6b8160
Add task and package gulp-checktextdomain
adammacias Apr 10, 2018
c4d213b
Add task and package node-wp-i18n
adammacias Apr 10, 2018
e9385b3
Add odin.pot file in languages
adammacias Apr 10, 2018
da0a10a
Update translate pt_BR theme
adammacias Apr 10, 2018
104f569
Add build:fonts command
adammacias Apr 10, 2018
bc0e63e
Fix class css pagination component
adammacias Apr 11, 2018
cfcacac
Update Bootstrap v4.0 to v4.1
adammacias Apr 12, 2018
26387f6
Update FontAwesome v5.0.7 to v5.0.10
adammacias Apr 12, 2018
1aef2b7
Update node-wp-i18n and gulp-sass packages
adammacias Apr 12, 2018
54cf2fc
Commenting TGM activation
allysonsouza Sep 30, 2018
89780a1
fix para node v10
AdsonCicilioti Nov 6, 2018
f5434c2
update bootstraop v4.1.3
AdsonCicilioti Nov 6, 2018
1fe91fd
To fix dependencies on Windows
AdsonCicilioti Nov 6, 2018
c060d03
Merge pull request #487 from AdsonCicilioti/v3-beta
adammacias Nov 6, 2018
4a5f195
Adição do hook wp_body_open() no Tema
hansmosl Jul 24, 2019
9fb5244
Merge pull request #494 from hansmosl/patch-10
rudwolf Sep 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.json]
indent_size = 2
tab_width = 2
indent_style = space
insert_final_newline = false
[{*.txt,wp-config-sample.php}]
end_of_line = crlf
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ Thumbs.db
bower_components
node_modules
.sass-cache
vendor

# Ignore project files
sftp-config.json
.ftppass
*.zip
src/node_modules/*
dist
8 changes: 7 additions & 1 deletion assets/js/.jshintrc → .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"expr": true,
"immed": true,
"noarg": true,
"nonbsp": true,
"onevar": true,
"quotmark": "single",
"trailing": true,
Expand All @@ -16,9 +17,14 @@
"browser": true,

"globals": {
"$": false,
"_": false,
"Backbone": false,
"jQuery": false,
"wp": false
"JSON": false,
"wp": false,
"export": false,
"module": false,
"require": false
}
}
34 changes: 16 additions & 18 deletions 404.php
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
<?php
/**
* The template for displaying 404 pages (Not Found).
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Odin
* @since 2.2.0
* @subpackage Custom_Theme
*/
/**
* Header Component.
*/
get_header();

get_header(); ?>

<main id="content" class="<?php echo odin_classes_page_full(); ?>" tabindex="-1" role="main">

<header class="page-header">
<h1 class="page-title"><?php _e( 'Not Found', 'odin' ); ?></h1>
</header>

<div class="page-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'odin' ); ?></p>

<?php get_search_form(); ?>
</div><!-- .page-content -->

</main><!-- #main -->
/**
* Content Component.
*/
get_template_part( 'components/main/main', '404' );

<?php
/**
* Footer Component.
*/
get_footer();
81 changes: 23 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,35 @@
# Odin Framework #
<p align="center"><a href="http://wpod.in/" target="_blank" rel="noopener noreferrer"><img width="100" src="https://camo.githubusercontent.com/f51173b8da26083e2cfdc893ef532a8bc2457bcb/68747470733a2f2f692e696d6775722e636f6d2f4464654d6755782e706e67" alt="Odin logo"></a></p>

[Ver essa documentação em Português do Brasil](https://github.com/wpbrasil/odin/blob/master/docs/README-pt_BR.md)
# Odin

![Odin Framework](https://i.imgur.com/DdeMgUx.png)
Odin is a base theme made in [@wpbrasil](https://github.com/wpbrasil) to ~kick ass~ help developing of WordPress themes.

* [Website](http://wpod.in/)
* [Odin Expo](http://expo.wpod.in/)
* [GitHub](https://github.com/wpbrasil/odin)
* [WordPress Brasil Group on Facebook](https://www.facebook.com/groups/wordpress.brasil)
- [Odin](http://wpod.in/)
- [Docs](https://github.com/wpbrasil/odin/tree/master/docs)
- [Expo](http://expo.wpod.in/)
- [Toolkit](https://github.com/wpbrasil/odin-toolkit)
- [WordPress Brasil](https://github.com/wpbrasil/)

## Project Description ##
## Getting start

Welcome to Odin, a base-theme developed by [WordPress Brasil Group](https://www.facebook.com/groups/wordpress.brasil), to help on agile development of themes for WordPress.
```bash
# install dependencies
npm install

## Installation ##
# serve with live reload at localhost:3000
npm run dev

Send the folder "odin" to the default themes folder from WordPress `wp-content/themes` or send the zipball using the WordPress Theme Installer.
# build for production with minification
npm run build
```

## Documentation ##
**To fix dependencies on Windows
https://github.com/nodejs/node-gyp#on-windows**

Informations about how-to use the classes and functions from Odin is on the [Official Wiki](https://github.com/wpbrasil/odin/wiki/)
For detailed explanation on how things work, consult the [docs for Odin](https://github.com/wpbrasil/odin/tree/master/docs).

## Plugins Support ##
## License

Odin supports natively these plugins:
[MIT](http://opensource.org/licenses/MIT). And all PHP files [GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt).

* [WooCommerce](http://wordpress.org/extend/plugins/woocommerce/)
* [JetPack](http://wordpress.org/extend/plugins/jetpack/) Infinite Scroll

## References ##

* [Bootstrap](http://getbootstrap.com/)
* [Bootstrap Sass](https://github.com/twbs/bootstrap-sass)
* [HTML5shiv](https://github.com/aFarkas/html5shiv)
* [matchMedia() polyfill](https://github.com/paulirish/matchMedia.js/)
* [Respond.js](https://github.com/scottjehl/Respond)
* [Sass](http://sass-lang.com/)
* [Compass](http://compass-style.org/)
* [Grunt.js](http://gruntjs.com/)
* [aq_resize](https://github.com/sy4mil/Aqua-Resizer)
* [FitVids](https://github.com/davatron5000/FitVids.js)
* [EditorConfig](http://editorconfig.org/)
* [goqr.me](http://goqr.me/)
* [Google Maps](https://developers.google.com/maps/)

## Bugs and Sugestions ##

The Odin Framework is an **Open Source** project. Anyone can (and should) help us to improve it.

Report bugs or do suggestions using the [Issues/Project Forum](https://github.com/wpbrasil/odin/issues)

## Contribute to the Project ##

To contribute, just click on the **Fork** button, create a *Branch*, improve the code and send it with a **Pull Request**.

More details about how to contribute and send Pull Requests in [GitHub Collaborating](https://help.github.com/categories/63/articles).

[How to colaborate to opensource projects on GitHub](http://www.youtube.com/watch?v=H3olaBo83As)

## Changelog ##

[Changelog here!](https://github.com/wpbrasil/odin/blob/master/docs/CHANGELOG.md)

## Copyright and License ##

Copyright 2013 - 2018 - WordPress Brasil Group.

The PHP code is licensed with [GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt).
All the CSS, SCSS, JS, images files and others, not including the PHP files is licensed with [MIT](http://opensource.org/licenses/MIT) or by the license specified inside the file.
Copyright (c) 2013-Present, [@wpbrasil](https://github.com/wpbrasil).
66 changes: 18 additions & 48 deletions archive.php
Original file line number Diff line number Diff line change
@@ -1,59 +1,29 @@
<?php
/**
* The template for displaying Archive pages.
* The template for displaying archive pages.
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each specific one. For example, Twenty Thirteen
* already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives.
*
* @link http://codex.wordpress.org/Template_Hierarchy
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Odin
* @since 2.2.0
* @subpackage Custom_Theme
*/

get_header(); ?>

<main id="content" class="<?php echo odin_classes_page_sidebar(); ?>" tabindex="-1" role="main">

<?php if ( have_posts() ) : ?>

<header class="page-header">
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->

<?php
// Start the Loop.
while ( have_posts() ) : the_post();

/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );

endwhile;

// Page navigation.
odin_paging_nav();

else :
// If no content, include the "No posts found" template.
get_template_part( 'content', 'none' );

endif;
?>
/**
* Header Component.
*/
get_header();

</main><!-- #main -->
/**
* Main Component.
*/
get_template_part( 'components/main/main' );

<?php
/**
* Sidebar Component.
*/
get_sidebar();

/**
* Footer Component.
*/
get_footer();
26 changes: 26 additions & 0 deletions assets/css/admin.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*!
* WordPress Admin Style
*/

// Variables, tools and mixins
@import 'theme/abstracts';

/**
* Custom login styles.
*
* @link https://codex.wordpress.org/Customizing_the_Login_Form
* @link https://premium.wpmudev.org/blog/customize-login-page
*/

// Add a Custom Background
body.login {
backgroudn: $wp-login-bg;
}

// Replace the WordPress Logo With a Custom Logo
body.login h1 a {
background: url($wp-login-logo) center top no-repeat !important;
background-size: $wp-login-logo-width $wp-login-logo-height !important;
width: $wp-login-logo-width !important;
height: $wp-login-logo-height !important;
}
5 changes: 0 additions & 5 deletions assets/css/editor-style.css

This file was deleted.

16 changes: 16 additions & 0 deletions assets/css/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// WordPress TinyMCE editor Style
//

// Import Theme Style
@import "theme.min.css";

// Editor Only
html {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding: 30px;
}


11 changes: 0 additions & 11 deletions assets/css/style.css

This file was deleted.

13 changes: 13 additions & 0 deletions assets/css/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Theme Style Main
//

// Variables, tools and mixins
@import 'theme/abstracts';

// Dependencies and vendors
@import 'vendors/bootstrap';
@import 'vendors/font-awesome';

// Components
@import "../../components/**/*";
21 changes: 21 additions & 0 deletions assets/css/theme/_abstracts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// Theme Sass variables
//

//
// Theme
//
@import "theme/variables";

//
// Bootstrap 4
//
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";

//
// Font Awesome 5
//
@import '@fortawesome/fontawesome-free-webfonts/scss/variables';
@import '@fortawesome/fontawesome-free-webfonts/scss/mixins';
Loading