Skip to content

Commit

Permalink
= 3.1.0 April 16th 2016 =
Browse files Browse the repository at this point in the history
* fixed : wrong path to the default font Titillium in main stylesheet
* fixed : child theme stylesheet : style.css is loaded again as a dependency of the parent Hueman theme style, to make it easier to override the main stylesheet rules
  • Loading branch information
nikeo committed Apr 16, 2016
1 parent 323ed7f commit 7e38f88
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 63 deletions.
50 changes: 25 additions & 25 deletions assets/front/css/main-not-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,51 +86,51 @@ body { font-family: "Titillium", Arial, sans-serif; }

@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-light-webfont.eot');
src: url('assets/front/fonts/titillium-light-webfont.svg#titillium-light-webfont') format('svg'),
url('assets/front/fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-light-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-light-webfont.ttf') format('truetype');
src: url('../fonts/titillium-light-webfont.eot');
src: url('../fonts/titillium-light-webfont.svg#titillium-light-webfont') format('svg'),
url('../fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-light-webfont.woff') format('woff'),
url('../fonts/titillium-light-webfont.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-lightitalic-webfont.eot');
src: url('assets/front/fonts/titillium-lightitalic-webfont.svg#titillium-lightitalic-webfont') format('svg'),
url('assets/front/fonts/titillium-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-lightitalic-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-lightitalic-webfont.ttf') format('truetype');
src: url('../fonts/titillium-lightitalic-webfont.eot');
src: url('../fonts/titillium-lightitalic-webfont.svg#titillium-lightitalic-webfont') format('svg'),
url('../fonts/titillium-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-lightitalic-webfont.woff') format('woff'),
url('../fonts/titillium-lightitalic-webfont.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-regular-webfont.eot');
src: url('assets/front/fonts/titillium-regular-webfont.svg#titillium-regular-webfont') format('svg'),
url('assets/front/fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-regular-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-regular-webfont.ttf') format('truetype');
src: url('../fonts/titillium-regular-webfont.eot');
src: url('../fonts/titillium-regular-webfont.svg#titillium-regular-webfont') format('svg'),
url('../fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-regular-webfont.woff') format('woff'),
url('../fonts/titillium-regular-webfont.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-regularitalic-webfont.eot');
src: url('assets/front/fonts/titillium-regularitalic-webfont.svg#titillium-regular-webfont') format('svg'),
url('assets/front/fonts/titillium-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-regularitalic-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-regularitalic-webfont.ttf') format('truetype');
src: url('../fonts/titillium-regularitalic-webfont.eot');
src: url('../fonts/titillium-regularitalic-webfont.svg#titillium-regular-webfont') format('svg'),
url('../fonts/titillium-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-regularitalic-webfont.woff') format('woff'),
url('../fonts/titillium-regularitalic-webfont.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-semibold-webfont.eot');
src: url('assets/front/fonts/titillium-semibold-webfont.svg#titillium-semibold-webfont') format('svg'),
url('assets/front/fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-semibold-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-semibold-webfont.ttf') format('truetype');
src: url('../fonts/titillium-semibold-webfont.eot');
src: url('../fonts/titillium-semibold-webfont.svg#titillium-semibold-webfont') format('svg'),
url('../fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-semibold-webfont.woff') format('woff'),
url('../fonts/titillium-semibold-webfont.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/front/css/main-not-responsive.min.css

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions assets/front/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,51 +86,51 @@ body { font-family: "Titillium", Arial, sans-serif; }

@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-light-webfont.eot');
src: url('assets/front/fonts/titillium-light-webfont.svg#titillium-light-webfont') format('svg'),
url('assets/front/fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-light-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-light-webfont.ttf') format('truetype');
src: url('../fonts/titillium-light-webfont.eot');
src: url('../fonts/titillium-light-webfont.svg#titillium-light-webfont') format('svg'),
url('../fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-light-webfont.woff') format('woff'),
url('../fonts/titillium-light-webfont.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-lightitalic-webfont.eot');
src: url('assets/front/fonts/titillium-lightitalic-webfont.svg#titillium-lightitalic-webfont') format('svg'),
url('assets/front/fonts/titillium-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-lightitalic-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-lightitalic-webfont.ttf') format('truetype');
src: url('../fonts/titillium-lightitalic-webfont.eot');
src: url('../fonts/titillium-lightitalic-webfont.svg#titillium-lightitalic-webfont') format('svg'),
url('../fonts/titillium-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-lightitalic-webfont.woff') format('woff'),
url('../fonts/titillium-lightitalic-webfont.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-regular-webfont.eot');
src: url('assets/front/fonts/titillium-regular-webfont.svg#titillium-regular-webfont') format('svg'),
url('assets/front/fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-regular-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-regular-webfont.ttf') format('truetype');
src: url('../fonts/titillium-regular-webfont.eot');
src: url('../fonts/titillium-regular-webfont.svg#titillium-regular-webfont') format('svg'),
url('../fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-regular-webfont.woff') format('woff'),
url('../fonts/titillium-regular-webfont.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-regularitalic-webfont.eot');
src: url('assets/front/fonts/titillium-regularitalic-webfont.svg#titillium-regular-webfont') format('svg'),
url('assets/front/fonts/titillium-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-regularitalic-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-regularitalic-webfont.ttf') format('truetype');
src: url('../fonts/titillium-regularitalic-webfont.eot');
src: url('../fonts/titillium-regularitalic-webfont.svg#titillium-regular-webfont') format('svg'),
url('../fonts/titillium-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-regularitalic-webfont.woff') format('woff'),
url('../fonts/titillium-regularitalic-webfont.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Titillium';
src: url('assets/front/fonts/titillium-semibold-webfont.eot');
src: url('assets/front/fonts/titillium-semibold-webfont.svg#titillium-semibold-webfont') format('svg'),
url('assets/front/fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/front/fonts/titillium-semibold-webfont.woff') format('woff'),
url('assets/front/fonts/titillium-semibold-webfont.ttf') format('truetype');
src: url('../fonts/titillium-semibold-webfont.eot');
src: url('../fonts/titillium-semibold-webfont.svg#titillium-semibold-webfont') format('svg'),
url('../fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/titillium-semibold-webfont.woff') format('woff'),
url('../fonts/titillium-semibold-webfont.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/front/css/main.min.css

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions functions/class-admin-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ function hu_add_welcome_page() {
* Render welcome admin page.
*/
function hu_welcome_panel() {

$is_help = isset($_GET['help']) ? true : false;
$_faq_url = esc_url('hueman.presscustomizr.com/');
$_support_url = $this -> support_url;
$_theme_name = 'Hueman';

Expand Down Expand Up @@ -155,7 +153,6 @@ function hu_welcome_panel() {


function hu_render_help_content() {

ob_start();
?>
<div class="changelog">
Expand All @@ -177,9 +174,6 @@ function hu_render_help_content() {
<div class="col">
<a class="button-secondary hueman-help" title="documentation" href="<?php echo esc_url('docs.presscustomizr.com/article/236-first-steps-with-the-hueman-wordpress-theme') ?>" target="_blank"><?php _e( 'Read the documentation','hueman' ); ?></a>
</div>
<!-- <div class="col">
<a class="button-secondary hueman-help" title="faq" href="<?php echo $_faq_url; ?>" target="_blank"><?php _e( 'Check the FAQ','hueman' ); ?></a>
</div> -->
<div class="last-feature col">
<a class="button-secondary hueman-help" title="help" href="<?php echo $this -> support_url; ?>" target="_blank">
<?php _e( 'Get help in the support forum','hueman' ); ?>
Expand Down
15 changes: 13 additions & 2 deletions functions/init-front.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,10 @@ function hu_scripts() {
/* ------------------------------------ */
if ( ! function_exists( 'hu_styles' ) ) {
function hu_styles() {
wp_enqueue_style( 'style', get_stylesheet_uri() );
$_main_style = hu_is_checked('responsive') ? 'main' : 'main-not-responsive';

wp_enqueue_style(
//registered only, will be loaded as a dependency of the wp style.css
wp_register_style(
'hueman-main',
sprintf('%1$s/assets/front/css/%2$s%3$s.css',
get_template_directory_uri(),
Expand All @@ -466,6 +466,17 @@ function hu_styles() {
( defined('WP_DEBUG') && true === WP_DEBUG ) ? time() : HUEMAN_VER,
'all'
);

//This function loads the main theme stylesheet or the child theme one
//1) Not mandatory if only the main theme is activated. But mandatory if a child theme is used (otherwise the child theme style won't be loaded)
//2) must be loaded as a dependency of 'hueman-main', to make it easier to override the main stylesheet rules without having to increase the specificicty of each child theme css rules
wp_enqueue_style(
'theme-stylesheet',
get_stylesheet_uri(),
array('hueman-main'),
( defined('WP_DEBUG') && true === WP_DEBUG ) ? time() : HUEMAN_VER,
'all'
);
}
}
add_action( 'wp_enqueue_scripts', 'hu_styles' );
Expand Down
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hueman v3.0.12
# Hueman v3.1.0
![Hueman - Free Wordpress Theme](/screenshot.png)

> Hueman is a mobile friendly WordPress theme for blogs, magazines and business websites. It's been designed to beautifully display pictures and text content, and engineered to be easy to use and fast. The Hueman theme helps you attract and retain more visitors, that's why it's already used by 70K+ active websites in the world and has received hundreds of five stars ratings.
Expand Down Expand Up @@ -82,6 +82,10 @@ Right sidebar, top to bottom:
See headers of files for further details.

## Changelog
= 3.1.0 April 16th 2016 =
* fixed : wrong path to the default font Titillium in main stylesheet
* fixed : child theme stylesheet : style.css is loaded again as a dependency of the parent Hueman theme style, to make it easier to override the main stylesheet rules

= 3.0.12 April 15th 2016 =
* fixed : social icon default color is back to rgba(255,255,255,0.7)
* fixed : added back the feedburner rss feed option in customizer > Global Settings > Site Identity
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hueman v3.0.12
# Hueman v3.1.0
![Hueman - Free Wordpress Theme](/screenshot.png)

> Hueman is a mobile friendly WordPress theme for blogs, magazines and business websites. It's been designed to beautifully display pictures and text content, and engineered to be easy to use and fast. The Hueman theme helps you attract and retain more visitors, that's why it's already used by 70K+ active websites in the world and has received hundreds of five stars ratings.
Expand Down Expand Up @@ -73,6 +73,10 @@ Right sidebar, top to bottom:
See headers of files for further details.

# Changelog
= 3.1.0 April 16th 2016 =
* fixed : wrong path to the default font Titillium in main stylesheet
* fixed : child theme stylesheet : style.css is loaded again as a dependency of the parent Hueman theme style, to make it easier to override the main stylesheet rules

= 3.0.12 April 15th 2016 =
* fixed : social icon default color is back to rgba(255,255,255,0.7)
* fixed : added back the feedburner rss feed option in customizer > Global Settings > Site Identity
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Theme Name: Hueman
Theme URI: http://presscustomizr.com/hueman/
Version: 3.0.12
Version: 3.1.0
Description: Hueman is a mobile friendly WordPress theme for blogs, magazines and business websites. It's been designed to beautifully display pictures and text content, and engineered to be easy to use and fast. The Hueman theme helps you attract and retain more visitors, that's why it's already used by 70K+ active websites in the world and has received hundreds of five stars ratings.
Author: nikeo
Author URI: http://presscustomizr.com
Expand Down

1 comment on commit 7e38f88

@jaylinski
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.