Skip to content

Commit

Permalink
Merge pull request #13 from ScottSmith95/2.9.2
Browse files Browse the repository at this point in the history
Decode 2.9.2
  • Loading branch information
ScottSmith95 committed Mar 4, 2014
2 parents c40d07b + d11e01e commit 281f01b
Show file tree
Hide file tree
Showing 49 changed files with 1,575 additions and 1,004 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Changelogs for each version can be found [on GitHub](https://github.com/ScottSmith95/Decode/releases).

*Note: This is will be the last version of Decode to support Internet Explorer 8* An Internet Explorer 8-compatible version will be kept available for download on GitHub.
*Note: This version of Decode does not support Internet Explorer 8* An Internet Explorer 8-compatible version is available for download [on GitHub](https://github.com/ScottSmith95/Decode/tree/IE8-Support) and via [direct download](https://github.com/ScottSmith95/Decode/archive/IE8-Support.zip).

I built Decode, the theme I use on [Beyond The Code](http://beyondtheco.de), to be a beautifully crafted, mobile first theme that uses media queries to bring in CSS for larger screens.

Expand Down Expand Up @@ -72,6 +72,8 @@ Lastly, Decode has social icons in the header that can link to your profiles fro

The Custom CSS feature allows you to change virtually anything about the style of your site. Refer to the "CustomCSS.md" file in the "docs" folder theme for common and helpful entries and experiment with creating your own to make Decode yours.

To find un-minified, vendor-prefixed CSS, look no further than the .css files in the CSS directory. No seriously, don't look any further because the css/src directory bass files that you may not want to work with.

If you desire to add Typekit fonts to your blog, I recommend the [Typekit Fonts for WordPress plugin](http://wordpress.org/plugins/typekit-fonts-for-wordpress/). In the CSS field, add: `body {font-family: "name-of-font-family";}` to override the default Decode font. This allows you more flexibility and ease when adding or changing fonts.

*The font "Oxygen" is supplied via Google Fonts. It is licensed under the [SIL Open Font License, version 1.1](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL).*
32 changes: 18 additions & 14 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,26 @@

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

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

<?php
if ( get_theme_mod( 'use_excerpts_on_archives', true ) == true ) :
get_template_part( 'content', 'excerpt' );

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

endif;
?>

<?php endwhile; ?>

<?php else : ?>

<?php get_template_part( 'content-none', 'none' ); ?>

<?php endif; ?>
<?php endwhile; else : ?>

<?php get_template_part( 'content-none', 'none' ); ?>

<?php endif; ?>

</main><!-- #main -->

Expand Down
37 changes: 21 additions & 16 deletions author.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,31 @@

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

<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', 'excerpt' );

<?php
if ( get_theme_mod( 'use_excerpts_on_archives', true ) == true ) :
get_template_part( 'content', 'excerpt' );

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

endif;
?>

<?php endwhile; ?>

<?php decode_paging_nav(); ?>

<?php else : ?>

<?php get_template_part( 'no-results', 'archive' ); ?>

<?php endif; ?>
<?php endwhile; else : ?>

<?php get_template_part( 'content-none', 'none' ); ?>

<?php endif; ?>

</main><!-- #main -->

<?php decode_paging_nav(); ?>

</section><!-- #primary -->

<?php get_footer(); ?>
1 change: 0 additions & 1 deletion css/build/editor-style.prefixed.css.map

This file was deleted.

12 changes: 0 additions & 12 deletions css/build/style.min.css

This file was deleted.

Loading

0 comments on commit 281f01b

Please sign in to comment.