Skip to content

Commit

Permalink
Merge pull request #8 from ScottSmith95/2.8.3
Browse files Browse the repository at this point in the history
Decode 2.8.3
  • Loading branch information
ScottSmith95 committed Dec 13, 2013
2 parents 1c2044b + 85b6536 commit 736ceaa
Show file tree
Hide file tree
Showing 26 changed files with 5,706 additions and 316 deletions.
14 changes: 6 additions & 8 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
<?php get_search_form(); ?>

<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>


<?php
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives.', 'decode' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>

<?php if ( decode_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
<div class="widget widget_categories">
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'decode' ); ?></h2>
Expand All @@ -39,13 +44,6 @@
</div><!-- .widget -->
<?php endif; ?>

<?php
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives.', 'decode' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>

<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>

</div><!-- .page-content -->
</section><!-- .error404 .not-found -->

Expand Down
8 changes: 8 additions & 0 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,21 @@
</a>
<?php endif; ?>
<div class="entry-title"><h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2></div>
<?php if ( get_theme_mod( 'entry_date_position', 'below' ) == 'above' && get_theme_mod( 'show_entry_date_on_excerpts', false ) == true ) : ?>
<div class="entry-meta above-content">
<p class="date"><?php decode_posted_on(); ?></p>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<footer class="entry-meta">
<a class="read-more-link" href="<?php echo get_permalink(); ?>"><?php _e('Read More&hellip;', 'decode'); ?></a>
<?php edit_post_link( __( 'Edit', 'decode' ), '<div class="edit-link">', '</div>' ); ?>
<?php if ( get_theme_mod( 'entry_date_position', 'below' ) == 'below' && get_theme_mod( 'show_entry_date_on_excerpts', false ) == true ) : ?>
<p class="date"><?php decode_posted_on(); ?></p>
<?php endif; ?>
</footer><!-- .entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->

Expand Down
52 changes: 52 additions & 0 deletions css/editor-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
body#tinymce.wp-editor {
font-family: Arial, Helvetica, sans-serif;
margin: 2.5%;
background: #FFFFFF;
color: #000000;
}

body#tinymce.wp-editor a {
-webkit-transition: color 0.25s ease-out;
transition: color 0.25s ease-out;
text-decoration: underline;
color: #009BCD;
}

body#tinymce.wp-editor a:hover {
color: #007EA6;
}

h1 {
font-size: 2em;
}

h2 {
font-size: 1.75em;
}

h3 {
font-size: 1.5em;
}

h4 {
font-size: 1.375em;
}

h5 {
font-size: 1.25em;
}

h6 {
font-size: 1.125em;
}

img {
margin: 2.5% auto;
}

blockquote {
margin: 1% 0;
padding: 0 0 0 2.55%;
border-left: 1px solid #009BCD;
font-style: italic;
}
1 change: 1 addition & 0 deletions css/editor-style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 736ceaa

Please sign in to comment.