Skip to content

Commit

Permalink
add odin
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Feb 22, 2016
0 parents commit 351fcb2
Show file tree
Hide file tree
Showing 174 changed files with 21,120 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
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
37 changes: 37 additions & 0 deletions .gitignore
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

26 changes: 26 additions & 0 deletions 404.php
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();
70 changes: 70 additions & 0 deletions README.md
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.
59 changes: 59 additions & 0 deletions archive.php
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();
6 changes: 6 additions & 0 deletions assets/css/editor-style.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/css/editor-style.css.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/css/style.css.map

Large diffs are not rendered by default.

Binary file not shown.
Loading

0 comments on commit 351fcb2

Please sign in to comment.