Skip to content

Commit

Permalink
Merge pull request #10 from ScottSmith95/2.9
Browse files Browse the repository at this point in the history
Decode 2.9
  • Loading branch information
ScottSmith95 committed Jan 12, 2014
2 parents 7600969 + b63480f commit 785ff45
Show file tree
Hide file tree
Showing 103 changed files with 5,987 additions and 4,018 deletions.
281 changes: 0 additions & 281 deletions LICENSE.txt

This file was deleted.

50 changes: 45 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Decode 2.8
# Decode 2.9
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)

I built Decode, the theme I use on [Beyond The Code](http://beyondtheco.de), on the great theme foundation, [Underscores](http://underscores.me). It is beautifully crafted for mobile first, and uses media queries to bring in CSS for larger screens.

If you want to change any of the colors in your theme, enable the sidebar, social links, and more, access the Customize menu in Appearance > Customize. From here you can access all the settings available for this theme.
Expand All @@ -9,10 +11,48 @@ Decode supports link posts, where the title can be hyperlinked. To do this, firs

Featured Images are also supported, allowing you to display large, beautiful images at the top of your posts. A site-wide header image can also be set in the Header Options section of the theme customizer.

To add an explore page to your site, simply add a page with the title "Explore" and Decode does the rest, adding an easy place to find new content on your site.

Lastly, Decode has social icons in the header that can link to your Twitter, App.net, Facebook, Google+, MySpace, VK, Dribbble, Behance, LinkedIn, Tumblr, Pinterest, Instagram, 500px, Flickr, deviantART, Rdio, Spotify, Last.Fm, Soundcloud, Vimeo, YouTube, Github, Strava, Foursquare, SlideShare, Research Gate, YouVersion, and Skype profiles. These can all be configured in the Customize menu as well.

To add an explore page to your site, simply add a page with the title that you want and set the page template to "Explore Page" and Decode does the rest, adding an easy place to find new content on your site.

Lastly, Decode has social icons in the header that can link to your profiles from every side of the Internet. These can all be configured in the Customize menu and are listed below.
- Twitter
- ADN
- Facebook
- Google+
- MySpace
- VK
- Dribbble
- Behance
- LinkedIn
- Pinterest
- Instagram
- 500px
- Flickr
- deviantART
- SoundCloud
- Rdio
- Spotify
- LastFm
- Vine
- Vimeo
- YouTube
- Kickstarter
- Tumblr
- WordPress
- Stack Overflow
- reddit
- GitHub
- Runkeeper
- Strava
- Foursquare
- Yelp
- SlideShare
- ResearchGate
- YouVersion
- Steam User
- Steam Groups


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.

If you desire to add Typekit fonts to your blog, I highly 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.

Expand Down
13 changes: 1 addition & 12 deletions author.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,7 @@
<?php if ( have_posts() ) : ?>

<header class="page-header">
<?php
/* Queue the first post, that way we know
* what author we're dealing with.
*/
the_post();
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();
?>


<?php if ( get_the_author_meta( 'first_name' ) && get_the_author_meta( 'last_name' ) ) : ?>

<section class="author-section">
Expand Down
6 changes: 5 additions & 1 deletion comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
* define decode_comment() and that will be used instead.
* See decode_comment() in inc/template-tags.php for more.
*/
wp_list_comments( array( 'callback' => 'decode_comment', 'format' => 'html5' ) );
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
'avatar_size' => 64
) );
?>
</ol><!-- .comment-list -->

Expand Down
1 change: 1 addition & 0 deletions content-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<header class="entry-header">

<h1 class="entry-title<?php if ( get_theme_mod( 'show_page_headers', true ) == false ) echo ' screen-reader-text' ?>"><?php the_title(); ?></h1>

</header><!-- .entry-header -->

<div class="entry-content">
Expand Down
Loading

0 comments on commit 785ff45

Please sign in to comment.