Skip to content

Commit

Permalink
2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxMedia committed Feb 10, 2014
1 parent 722e0ad commit 3381823
Show file tree
Hide file tree
Showing 19 changed files with 7,962 additions and 139 deletions.
12 changes: 11 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
Theme : Hueman
Version : 2.1.0
Version : 2.1.1
Author : Alexander "Alx" Agnarson - http://alxmedia.se

February 10 2014 - 2.1.1
===========================================================
- Updated to OptionTree 2.3.0
- Changed checkbox options to the new on-off toggle
- Added additional Google fonts
- Added styling option to recolor the header menu area
- Added option to disable featured image placeholders - @fran-kee (via GitHub)
- Added option to enable scrollable sharrre bar - @erikfrye (via GitHub)
- Updated help dropdown information and included theme documentation with the theme

January 29 2014 - 2.1.0
===========================================================
- Updated to OptionTree 2.2.2
Expand Down
4 changes: 2 additions & 2 deletions content-featured.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail('thumb-large'); // only difference to content.php ?>
<?php else: ?>
<?php elseif ( ot_get_option('placeholder') != 'off' ): ?>
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title(); ?>" />
<?php endif; ?>
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-play"></i></span>'; ?>
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-volume-up"></i></span>'; ?>
<?php if ( is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-star"></i></span>'; ?>
</a>
<?php if ( comments_open() && !ot_get_option( 'comment-count' ) ): ?>
<?php if ( comments_open() && ( ot_get_option( 'comment-count' ) != 'off' ) ): ?>
<a class="post-comments" href="<?php comments_link(); ?>"><span><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></span></a>
<?php endif; ?>
</div><!--/.post-thumbnail-->
Expand Down
4 changes: 2 additions & 2 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail('thumb-medium'); ?>
<?php else: ?>
<?php elseif ( ot_get_option('placeholder') != 'off' ): ?>
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title(); ?>" />
<?php endif; ?>
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-play"></i></span>'; ?>
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-volume-up"></i></span>'; ?>
<?php if ( is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-star"></i></span>'; ?>
</a>
<?php if ( comments_open() && !ot_get_option( 'comment-count' ) ): ?>
<?php if ( comments_open() && ( ot_get_option( 'comment-count' ) != 'off' ) ): ?>
<a class="post-comments" href="<?php comments_link(); ?>"><span><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></span></a>
<?php endif; ?>
</div><!--/.post-thumbnail-->
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<?php endif; ?>
</div><!--/#copyright-->

<?php if ( !ot_get_option( 'credit' ) ): ?>
<?php if ( ot_get_option( 'credit' ) != 'off' ): ?>
<div id="credit">
<p><?php _e('Powered by','hueman'); ?> <a href="http://wordpress.org" rel="nofollow">WordPress</a>. <?php _e('Theme by','hueman'); ?> <a href="http://alxmedia.se" rel="nofollow">Alx</a>.</p>
</div><!--/#credit-->
Expand Down
8 changes: 4 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ function alx_scripts() {

function alx_styles() {
wp_enqueue_style( 'style', get_stylesheet_uri() );
if ( !ot_get_option('responsive') ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css' ); }
if ( ot_get_option('custom') ) { wp_enqueue_style( 'custom', get_template_directory_uri().'/custom.css' ); }
if ( ot_get_option('responsive') != 'off' ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css' ); }
if ( ot_get_option('custom') == 'on' ) { wp_enqueue_style( 'custom', get_template_directory_uri().'/custom.css' ); }
wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' );
}

Expand Down Expand Up @@ -506,8 +506,8 @@ function alx_post_formats_script( $hook ) {

function alx_body_class( $classes ) {
$classes[] = alx_layout_class();
if ( !ot_get_option( 'boxed' ) ) { $classes[] = 'full-width'; }
if ( ot_get_option( 'boxed' ) ) { $classes[] = 'boxed'; }
if ( ot_get_option( 'boxed' ) != 'on' ) { $classes[] = 'full-width'; }
if ( ot_get_option( 'boxed' ) == 'on' ) { $classes[] = 'boxed'; }
if ( has_nav_menu('topbar') ) { $classes[] = 'topbar-enabled'; }
if ( ot_get_option( 'mobile-sidebar-hide' ) == 's1' ) { $classes[] = 'mobile-sidebar-hide-s1'; }
if ( ot_get_option( 'mobile-sidebar-hide' ) == 's2' ) { $classes[] = 'mobile-sidebar-hide-s2'; }
Expand Down
Loading

0 comments on commit 3381823

Please sign in to comment.