Skip to content

Commit

Permalink
Initial commit, Hueman 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxMedia committed Jan 6, 2014
0 parents commit 78e79ce
Show file tree
Hide file tree
Showing 161 changed files with 27,616 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php get_header(); ?>

<section class="content">

<?php get_template_part('inc/page-title'); ?>

<div class="pad group">

<div class="notebox">
<?php get_search_form(); ?>
</div>

<div class="entry">
<p><?php _e( 'The page you are trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.', 'hueman' ); ?></p>
</div>

</div><!--/.pad-->

</section><!--/.content-->

<?php get_sidebar(); ?>

<?php get_footer(); ?>
33 changes: 33 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php get_header(); ?>

<section class="content">

<?php get_template_part('inc/page-title'); ?>

<div class="pad group">

<?php if ((category_description() != '') && !is_paged()) : ?>
<div class="notebox">
<?php echo category_description(); ?>
</div>
<?php endif; ?>

<?php if ( have_posts() ) : ?>

<div class="post-list group">
<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
<?php get_template_part('content'); ?>
<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
</div><!--/.post-list-->

<?php get_template_part('inc/pagination'); ?>

<?php endif; ?>

</div><!--/.pad-->

</section><!--/.content-->

<?php get_sidebar(); ?>

<?php get_footer(); ?>
169 changes: 169 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
Theme : Hueman
Version : 2.0.8
Author : Alexander "Alx" Agnarson - http://alxmedia.se

December 27 2013 - 2.0.8
===========================================================
- Added missing "says:" language string for tabs widget
- Added direct links and search IDs to CC0 images used in screenshot.png to readme.txt

December 24 2013 - 2.0.7
===========================================================
- Updated screenshot.png to larger size for WP 3.8 - all images are now CC0 (GPL-compatible)
- Added new content-featured.php

December 20 2013 - 2.0.6
===========================================================
- Moved load_theme_textdomain from alx_setup to alx_load function
- Added nofollow to social links and footer credit links
- Fixed footer widget boxes to only show in admin if enabled
- Fixed blockquote icon position
- Fixed standard gallery captions being slightly visible even if not hovered over
- Fixed text caption boxes top padding
- Added icon for Twitter embeds
- Optimized font css
- WordPress 3.8 fixes:
-- Fixed topbar spacing with admin bar enabled from 28px to 32px
-- Improved admin styling for all custom widgets
-- Fixed OptionTree admin panel styling issues
-- Updated to the new fluid-layout and fixed-layout WordPress css tags

December 8 2013 - 2.0.5
===========================================================
- Updated screenshot.png, added links to all images used to readme.txt
- Removed unused css
- Fixed typo on 404 pages
- Changed footer credit text
- Added better compatibility for plugins modifying site title
- Fixed minor css bugs
- Updated language files

December 7 2013 - 2.0.4
===========================================================
- Optimized and rewrote layout class and sidebar code
- Simplified some admin panel descriptions
- Updated language files

December 6 2013 - 2.0.3
===========================================================
- Made all additional function files pluggable for child themes
- Moved layout class to body_class
- Moved main and main-inner divs from templates to header and footer
- Added auto disable for custom wp_title if SEO by Yoast plugin is installed
- Added basic WooCommerce support
- Added option to disable category and/or date for AlxTabs and AlxPosts widgets
- Added forced lowercase letters on custom sidebar IDs
- Markup polish
- Updated language files

December 4 2013 - 2.0.2
===========================================================
- Updated help dropdown
- Fixed bug with hidden sidebar-2 when specific page or post layout is set to 2 sidebars, when global is 1 or 0
- Added child theme info to style.css warning and dynamic css notice
- Added download link to sample child theme in help dropdown

December 3 2013 - 2.0.1
===========================================================
- Moved add_action and add_filter outside of function_exists
- Added function_exists to functions registering custom widgets

November 30 2013 - 2.0.0
===========================================================
- Moved to 2.X.X version number to not receive auto-update notifications from the wordpress.org version
- Improved child theme support
- Updated help dropdown
- Added option for boxed layout for better background image support
- Added font selection option (also latin-ext, cyrillic)
- Added empty title/id/icon checks for social links and widget areas
- Added star indication for admin comments
- Rebuilt dynamic styling options:
-- Fixed for theme updates
-- Fixed for network and subdirectory installations
-- Fixed so that no file permission/chmod is required
-- Fixed css for each styling option to only be added if set
-- Added option to disable styling options css
-- Removed dynamic.css

November 22 2013 - 1.1.3
===========================================================
- Improved IE8 support
- Added option for header image
- Fixed nav dropdowns expanding behind second nav row when too many menu links are used
- Removed custom css field in styling options, replaced with custom.css file option
- Fixed thumbnail comment count position with Disqus plugin enabled
- Fixed related posts heading appearing even if there are no related posts
- Changed page background area to full body background in styling options
- Changed theme license to GPLv3

November 18 2013 - 1.1.2
===========================================================
- Fixed broken comments pagination when there are pingbacks as well
- Polished and made post author comment icons slightly smaller

November 18 2013 - 1.1.1
===========================================================
- Fixed tabs widget tab-button css for better mobile browser compatibility
- Fixed lists spacing

November 15 2013 - 1.1.0
===========================================================
- Added styling option to change sidebar padding / width

November 15 2013 - 1.0.9
===========================================================
- Added option to hide one or both sidebars for low-res mobile
- Moved to a single css grid percent-width system
- Centered footer bottom content on mobile
- Fixed sidebar padding for low-res mobile

November 12 2013 - 1.0.8
===========================================================
- Fixed and polished styling for widgets
- Fixed primary color styling missing for slider controls

November 11 2013 - 1.0.7
===========================================================
- Added sidebar layout option for category archives
- Added fade-in and auto focus of header search field

November 9 2013 - 1.0.6
===========================================================
- Fixed double sidebar left layout, for expanded sidebar secondary
- Fixed hidden dropdowns behind toggle-expanded sidebars

November 9 2013 - 1.0.5
===========================================================
- Added additional license information
- Moved no-js/js class javascript to functions.php

November 8 2013 - 1.0.4
===========================================================
- Restructured functions.php according to wordpress best practices
- Loading IE-specific js via functions.php instead of template
- Moved & added new browser body classes to functions.php
- Fixed responsive embeds with Jetpack
- Fixed featured slider flickering issue on iPad

November 7 2013 - 1.0.3
===========================================================
- Updated to Flexslider 2.2.0
- Updated to Sharrre 1.3.5
- Updated to Font Awesome 4.0.3
- Removed reply button for pingbacks & trackbacks
- Fixed double site title in RSS feed

November 2 2013 - 1.0.2
===========================================================
- Fixed margin issue with topbar menu disabled
- Fixed responsive columns

November 1 2013 - 1.0.1
===========================================================
- Theme screenshot updated
- Detailed theme description added
- New default color combination

October 31 2013 - 1.0.0
===========================================================
- Theme released
61 changes: 61 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php if ( post_password_required() ) { return; } ?>

<section id="comments" class="themeform">

<?php if ( have_comments() ) : global $wp_query; ?>

<h3 class="heading"><?php comments_number( __( 'No Responses', 'hueman' ), __( '1 Response', 'hueman' ), __( '% Responses', 'hueman' ) ); ?></h3>

<ul class="comment-tabs group">
<li class="active"><a href="#commentlist-container"><i class="fa fa-comments-o"></i><?php echo count($wp_query->comments_by_type['comment']); ?> <?php _e( 'Comments', 'hueman' ); ?></a></li>
<li><a href="#pinglist-container"><i class="fa fa-share"></i><?php echo count($wp_query->comments_by_type['pings']); ?> <?php _e( 'Trackbacks &amp; Pingbacks', 'hueman' ); ?></a></li>
</ul>

<?php if ( ! empty( $comments_by_type['comment'] ) ) { ?>
<div id="commentlist-container" class="comment-tab">

<ol class="commentlist">
<?php wp_list_comments( 'avatar_size=96&type=comment' ); ?>
</ol><!--/.commentlist-->

<?php if ( get_comment_pages_count() > 1 && get_option('page_comments') ) : ?>
<nav class="comments-nav group">
<div class="nav-previous"><?php previous_comments_link(); ?></div>
<div class="nav-next"><?php next_comments_link(); ?></div>
</nav><!--/.comments-nav-->
<?php endif; ?>

</div>
<?php } ?>

<?php if ( ! empty( $comments_by_type['pings'] ) ) { ?>
<div id="pinglist-container" class="comment-tab" style="display: none;">

<ol class="pinglist">
<?php // not calling wp_list_comments twice, as it breaks pagination
$pings = $comments_by_type['pings'];
foreach ($pings as $ping) { ?>
<li class="ping">
<div class="ping-link"><?php comment_author_link($ping); ?></div>
<div class="ping-meta"><?php comment_date( get_option( 'date_format' ), $ping ); ?></div>
<div class="ping-content"><?php comment_text($ping); ?></div>
</li>
<?php } ?>
</ol><!--/.pinglist-->

</div>
<?php } ?>

<?php else: // if there are no comments yet ?>

<?php if (comments_open()) : ?>
<!-- comments open, no comments -->
<?php else : ?>
<!-- comments closed, no comments -->
<?php endif; ?>

<?php endif; ?>

<?php if ( comments_open() ) { comment_form(); } ?>

</section><!--/#comments-->
36 changes: 36 additions & 0 deletions content-featured.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<article id="post-<?php the_ID(); ?>" <?php post_class('group'); ?>>
<div class="post-inner post-hover">

<div class="post-thumbnail">
<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: ?>
<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 ( !ot_get_option( 'comment-count' ) ): ?>
<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-->

<div class="post-meta group">
<p class="post-category"><?php the_category(' / '); ?></p>
<p class="post-date"><?php the_time('j M, Y'); ?></p>
</div><!--/.post-meta-->

<h2 class="post-title">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</h2><!--/.post-title-->

<?php if (ot_get_option('excerpt-length') != '0'): ?>
<div class="entry excerpt">
<?php the_excerpt(); ?>
</div><!--/.entry-->
<?php endif; ?>

</div><!--/.post-inner-->
</article><!--/.post-->
36 changes: 36 additions & 0 deletions content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<article id="post-<?php the_ID(); ?>" <?php post_class('group'); ?>>
<div class="post-inner post-hover">

<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail('thumb-medium'); ?>
<?php else: ?>
<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 ( !ot_get_option( 'comment-count' ) ): ?>
<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-->

<div class="post-meta group">
<p class="post-category"><?php the_category(' / '); ?></p>
<p class="post-date"><?php the_time('j M, Y'); ?></p>
</div><!--/.post-meta-->

<h2 class="post-title">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</h2><!--/.post-title-->

<?php if (ot_get_option('excerpt-length') != '0'): ?>
<div class="entry excerpt">
<?php the_excerpt(); ?>
</div><!--/.entry-->
<?php endif; ?>

</div><!--/.post-inner-->
</article><!--/.post-->
28 changes: 28 additions & 0 deletions custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
Add your custom styles in this file instead of style.css so it
is easier to update the theme. Simply copy an existing style
from style.css to this file, and modify it to your liking.
When you update your theme, backup this file and re-add it after.
*/

/* Global */
.mystyle {}


/* Tablet - 800px, 768px & 720px */
@media only screen and (min-width: 720px) and (max-width: 800px) {
.mystyle {}
}


/* Mobile - 480px & 320px */
@media only screen and (max-width: 719px) {
.mystyle {}
}


/* Mobile - 320px */
@media only screen and (max-width: 479px) {
.mystyle {}
}
Binary file added fonts/FontAwesome.otf
Binary file not shown.
Loading

0 comments on commit 78e79ce

Please sign in to comment.