-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 351fcb2
Showing
174 changed files
with
21,120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# editorconfig.org | ||
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 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.json] | ||
indent_size = 2 | ||
tab_width = 2 | ||
indent_style = space | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Global | ||
._* | ||
.AppleDouble | ||
.DS_Store | ||
.localized | ||
.LSOverride | ||
.Spotlight-V100 | ||
.Trashes | ||
Icon | ||
Desktop.ini | ||
ehthumbs.db | ||
Thumbs.db | ||
*~ | ||
TAGS | ||
tags | ||
.*.sw[a-z] | ||
.netrwhist | ||
*.un~ | ||
Session.vim | ||
*.sublime-project | ||
*.sublime-workspace | ||
*.sublime-projectcompletions | ||
*.tmproj | ||
*.tmproject | ||
tmtags | ||
nbproject/* | ||
.ftppass | ||
.sftp-config.json | ||
sftp-config.json | ||
|
||
# Project | ||
src/.sass-cache/* | ||
src/node_modules/* | ||
src/.ftppass | ||
src/tmp/* | ||
odin.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* The template for displaying 404 pages (Not Found). | ||
* | ||
* @package Odin | ||
* @since 2.2.0 | ||
*/ | ||
|
||
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 --> | ||
|
||
<?php | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Odin Framework # | ||
|
||
[Ver essa documentação em Português do Brasil](https://github.com/wpbrasil/odin/blob/master/docs/README-pt_BR.md) | ||
|
||
![Odin Framework](https://i.imgur.com/DdeMgUx.png) | ||
|
||
* [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) | ||
|
||
## Project Description ## | ||
|
||
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. | ||
|
||
## Installation ## | ||
|
||
Send the folder "odin" to the default themes folder from WordPress `wp-content/themes` or send the zipball using the WordPress Theme Installer. | ||
|
||
## Documentation ## | ||
|
||
Informations about how-to use the classes and functions from Odin is on the [Official Wiki](https://github.com/wpbrasil/odin/wiki/) | ||
|
||
## Plugins Support ## | ||
|
||
Odin supports natively these plugins: | ||
|
||
* [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 - 2014 - 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php | ||
/** | ||
* 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 | ||
* | ||
* @package Odin | ||
* @since 2.2.0 | ||
*/ | ||
|
||
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 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; | ||
?> | ||
|
||
</main><!-- #main --> | ||
|
||
<?php | ||
get_sidebar(); | ||
get_footer(); |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.