-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
themefuse
committed
Sep 2, 2014
0 parents
commit 0bd5749
Showing
755 changed files
with
98,867 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#Unyson Framework | ||
|
||
[Unyson](http://unyson.themefuse.com/) is a framework for [WordPress](http://wordpress.org/) that facilitates development of a theme. | ||
|
||
This framework was created from the ground up by the team behind [ThemeFuse](http://themefuse.com/) from the desire to empower developers to build outstanding WordPress themes fast and easy. | ||
|
||
To get started, check out http://unyson.themefuse.com/ ! | ||
|
||
##Table of contents | ||
|
||
* [Quick start](#quick-start) | ||
* [Bug reports](#bug-reports) | ||
* [Documentation](#documentation) | ||
* [Copyright and license](#copyright-and-license) | ||
|
||
## Quick start | ||
|
||
Three quick start options are available: | ||
|
||
* [Download the latest release](https://github.com/ThemeFuse/Unyson/releases). | ||
* Clone the repo: `git clone https://github.com/ThemeFuse/Unyson.git`. | ||
|
||
## Bug reports | ||
|
||
We strive to make Unyson Development to be awesome and user friendly, though sometimes it's impossible to avoid bugs. | ||
A bug means "something is broken" or is not working as it should. | ||
|
||
In order to offer you an effective support and fix for an issue, please follow the below guidelines before submitting a bug report: | ||
|
||
#### Explore Known Issues | ||
|
||
Has your issue already been reported? Check the [Issues page](https://github.com/ThemeFuse/Unyson/issues). | ||
|
||
If your issue has already been reported, great! It will be reviewed in an upcoming release. | ||
|
||
#### Submitting a Bug Report | ||
|
||
You can report the issue via [Issues page](https://github.com/ThemeFuse/Unyson/issues). | ||
A good bug report includes full details to easily understand the issue you are having. | ||
|
||
## Documentation | ||
|
||
Unyson's documentation is available on http://unyson-docs.themefuse.com/. | ||
|
||
## Copyright and license | ||
|
||
Code and documentation copyright 2014 ThemeFuse LTD. Code released under [the GPL license](https://github.com/ThemeFuse/Unyson/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/ThemeFuse/Unyson-Documentation/blob/master/LICENSE). | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
Theme Name: Scratch Child | ||
Description: Child theme for the Scratch. Child themes are the recommended way of making modifications to a theme. <a href="http://codex.wordpress.org/Child_Themes">Reade More</a> | ||
Author: ThemeFuse | ||
Author URI: http://themefuse.com/ | ||
Template: scratch-parent | ||
*/ | ||
|
||
@import url("../scratch-parent/style.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* The template for displaying 404 pages (Not Found) | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
|
||
<div id="primary" class="content-area"> | ||
<div id="content" class="site-content" role="main"> | ||
|
||
<header class="page-header"> | ||
<h1 class="page-title"><?php _e( 'Not Found', 'unyson' ); ?></h1> | ||
<?php | ||
if( function_exists('fw_ext_breadcrumbs_render') ) { | ||
echo fw_ext_breadcrumbs_render(); | ||
} | ||
?> | ||
</header> | ||
|
||
<div class="page-content"> | ||
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'unyson' ); ?></p> | ||
|
||
<?php get_search_form(); ?> | ||
</div><!-- .page-content --> | ||
|
||
</div><!-- #content --> | ||
</div><!-- #primary --> | ||
|
||
<?php | ||
get_sidebar( 'content' ); | ||
get_sidebar(); | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?php | ||
/** | ||
* The template for displaying Archive pages | ||
* | ||
* Used to display archive-type pages if nothing more specific matches a query. | ||
* For example, puts together date-based pages if no date.php file exists. | ||
* | ||
* If you'd like to further customize these archive views, you may create a | ||
* new template file for each specific one. | ||
* | ||
* @link http://codex.wordpress.org/Template_Hierarchy | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<section id="primary" class="content-area"> | ||
<div id="content" class="site-content" role="main"> | ||
|
||
<?php if ( have_posts() ) : ?> | ||
|
||
<header class="page-header"> | ||
<h1 class="page-title"> | ||
<?php | ||
if ( is_day() ) : | ||
printf( __( 'Daily Archives: %s', 'unyson' ), get_the_date() ); | ||
|
||
elseif ( is_month() ) : | ||
printf( __( 'Monthly Archives: %s', 'unyson' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'unyson' ) ) ); | ||
|
||
elseif ( is_year() ) : | ||
printf( __( 'Yearly Archives: %s', 'unyson' ), get_the_date( _x( 'Y', 'yearly archives date format', 'unyson' ) ) ); | ||
|
||
else : | ||
_e( 'Archives', 'unyson' ); | ||
endif; | ||
?> | ||
</h1> | ||
<?php | ||
if( function_exists('fw_ext_breadcrumbs_render') ) { | ||
echo fw_ext_breadcrumbs_render(); | ||
} | ||
?> | ||
</header><!-- .page-header --> | ||
|
||
<?php | ||
// Start the Loop. | ||
while ( have_posts() ) : the_post(); | ||
|
||
/* | ||
* Include the post format-specific template for the content. If you want to | ||
* use this in a child theme, then include a file called called content-___.php | ||
* (where ___ is the post format) and that will be used instead. | ||
*/ | ||
get_template_part( 'content', get_post_format() ); | ||
|
||
endwhile; | ||
// Previous/next page navigation. | ||
fw_theme_paging_nav(); | ||
|
||
else : | ||
// If no content, include the "No posts found" template. | ||
get_template_part( 'content', 'none' ); | ||
|
||
endif; | ||
?> | ||
</div><!-- #content --> | ||
</section><!-- #primary --> | ||
|
||
<?php | ||
get_sidebar( 'content' ); | ||
get_sidebar(); | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?php | ||
/** | ||
* The template for displaying Author archive pages | ||
* | ||
* @link http://codex.wordpress.org/Template_Hierarchy | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<section id="primary" class="content-area"> | ||
<div id="content" class="site-content" role="main"> | ||
|
||
<?php if ( have_posts() ) : ?> | ||
|
||
<header class="archive-header"> | ||
<h1 class="archive-title"> | ||
<?php | ||
/* | ||
* Queue the first post, that way we know what author | ||
* we're dealing with (if that is the case). | ||
* | ||
* We reset this later so we can run the loop properly | ||
* with a call to rewind_posts(). | ||
*/ | ||
the_post(); | ||
|
||
printf( __( 'All posts by %s', 'unyson' ), get_the_author() ); | ||
?> | ||
</h1> | ||
<?php | ||
if( function_exists('fw_ext_breadcrumbs_render') ) { | ||
echo fw_ext_breadcrumbs_render(); | ||
} | ||
?> | ||
<?php if ( get_the_author_meta( 'description' ) ) : ?> | ||
<div class="author-description"><?php the_author_meta( 'description' ); ?></div> | ||
<?php endif; ?> | ||
</header><!-- .archive-header --> | ||
|
||
<?php | ||
/* | ||
* 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(); | ||
|
||
// Start the Loop. | ||
while ( have_posts() ) : the_post(); | ||
|
||
/* | ||
* Include the post format-specific template for the content. If you want to | ||
* use this in a child theme, then include a file called called content-___.php | ||
* (where ___ is the post format) and that will be used instead. | ||
*/ | ||
get_template_part( 'content', get_post_format() ); | ||
|
||
endwhile; | ||
// Previous/next page navigation. | ||
fw_theme_paging_nav(); | ||
|
||
else : | ||
// If no content, include the "No posts found" template. | ||
get_template_part( 'content', 'none' ); | ||
|
||
endif; | ||
?> | ||
|
||
</div><!-- #content --> | ||
</section><!-- #primary --> | ||
|
||
<?php | ||
get_sidebar( 'content' ); | ||
get_sidebar(); | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
/** | ||
* The template for displaying Category pages | ||
* | ||
* @link http://codex.wordpress.org/Template_Hierarchy | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<section id="primary" class="content-area"> | ||
<div id="content" class="site-content" role="main"> | ||
|
||
<?php if ( have_posts() ) : ?> | ||
|
||
<header class="archive-header"> | ||
<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'unyson' ), single_cat_title( '', false ) ); ?></h1> | ||
<?php | ||
if( function_exists('fw_ext_breadcrumbs_render') ) { | ||
echo fw_ext_breadcrumbs_render(); | ||
} | ||
?> | ||
<?php | ||
// Show an optional term description. | ||
$term_description = term_description(); | ||
if ( ! empty( $term_description ) ) : | ||
printf( '<div class="taxonomy-description">%s</div>', $term_description ); | ||
endif; | ||
?> | ||
</header><!-- .archive-header --> | ||
|
||
<?php | ||
// Start the Loop. | ||
while ( have_posts() ) : the_post(); | ||
|
||
/* | ||
* Include the post format-specific template for the content. If you want to | ||
* use this in a child theme, then include a file called called content-___.php | ||
* (where ___ is the post format) and that will be used instead. | ||
*/ | ||
get_template_part( 'content', get_post_format() ); | ||
|
||
endwhile; | ||
// Previous/next page navigation. | ||
fw_theme_paging_nav(); | ||
|
||
else : | ||
// If no content, include the "No posts found" template. | ||
get_template_part( 'content', 'none' ); | ||
|
||
endif; | ||
?> | ||
</div><!-- #content --> | ||
</section><!-- #primary --> | ||
|
||
<?php | ||
get_sidebar( 'content' ); | ||
get_sidebar(); | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
/** | ||
* The template for displaying Comments | ||
* | ||
* The area of the page that contains comments and the comment form. | ||
*/ | ||
|
||
/* | ||
* If the current post is protected by a password and the visitor has not yet | ||
* entered the password we will return early without loading the comments. | ||
*/ | ||
if ( post_password_required() ) { | ||
return; | ||
} | ||
?> | ||
|
||
<div id="comments" class="comments-area"> | ||
|
||
<?php if ( have_comments() ) : ?> | ||
|
||
<h2 class="comments-title"> | ||
<?php | ||
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'unyson' ), | ||
number_format_i18n( get_comments_number() ), get_the_title() ); | ||
?> | ||
</h2> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> | ||
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> | ||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'unyson' ); ?></h1> | ||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'unyson' ) ); ?></div> | ||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'unyson' ) ); ?></div> | ||
</nav><!-- #comment-nav-above --> | ||
<?php endif; // Check for comment navigation. ?> | ||
|
||
<ol class="comment-list"> | ||
<?php | ||
wp_list_comments( array( | ||
'style' => 'ol', | ||
'short_ping' => true, | ||
'avatar_size'=> 34, | ||
) ); | ||
?> | ||
</ol><!-- .comment-list --> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> | ||
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> | ||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'unyson' ); ?></h1> | ||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'unyson' ) ); ?></div> | ||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'unyson' ) ); ?></div> | ||
</nav><!-- #comment-nav-below --> | ||
<?php endif; // Check for comment navigation. ?> | ||
|
||
<?php if ( ! comments_open() ) : ?> | ||
<p class="no-comments"><?php _e( 'Comments are closed.', 'unyson' ); ?></p> | ||
<?php endif; ?> | ||
|
||
<?php endif; // have_comments() ?> | ||
|
||
<?php comment_form(); ?> | ||
|
||
</div><!-- #comments --> |
Oops, something went wrong.