Skip to content

Commit

Permalink
Merge pull request #88 from jazzsequence/dev
Browse files Browse the repository at this point in the history
Version bump
  • Loading branch information
jazzsequence authored Mar 15, 2018
2 parents a6c557b + 4490d8d commit 174c772
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17 deletions.
16 changes: 8 additions & 8 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ function ap_core_load_scripts() {
wp_register_script('modernizr',get_template_directory_uri() . '/assets/js/modernizr-2.5.3.min.js',false,'2.5.3');
wp_enqueue_script('modernizr');
// register fonts
wp_register_style('droidsans','http://fonts.googleapis.com/css?family=Droid+Sans&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('ptserif','http://fonts.googleapis.com/css?family=PT+Serif&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('inconsolata','http://fonts.googleapis.com/css?family=Inconsolata&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('ubuntu','http://fonts.googleapis.com/css?family=Ubuntu&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('lato','http://fonts.googleapis.com/css?family=Lato&subset=' . $font_subset,false,$theme['Version'] );
wp_register_style( 'notoserif','http://fonts.googleapis.com/css?family=Noto+Serif&subset=' . $font_subset,false, $theme['Version'] );
wp_register_style( 'opensans', 'http://fonts.googleapis.com/css?family=Open+Sans&subset=' . $font_subset, false, $theme['Version'] );
wp_register_style('droidsans','//fonts.googleapis.com/css?family=Droid+Sans&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('ptserif','//fonts.googleapis.com/css?family=PT+Serif&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('inconsolata','//fonts.googleapis.com/css?family=Inconsolata&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('ubuntu','//fonts.googleapis.com/css?family=Ubuntu&subset=' . $font_subset,false,$theme['Version']);
wp_register_style('lato','//fonts.googleapis.com/css?family=Lato&subset=' . $font_subset,false,$theme['Version'] );
wp_register_style( 'notoserif','//fonts.googleapis.com/css?family=Noto+Serif&subset=' . $font_subset,false, $theme['Version'] );
wp_register_style( 'opensans', '//fonts.googleapis.com/css?family=Open+Sans&subset=' . $font_subset, false, $theme['Version'] );
// only enqueue fonts that are actually being used
$heading = ( isset( $options['heading'] ) ) ? $options['heading'] : $defaults['heading'];
$body = ( isset( $options['body'] ) ) ? $options['body'] : $defaults['body'];
Expand Down Expand Up @@ -803,7 +803,7 @@ function ap_core_custom_styles() {
$link = sanitize_text_field($options['link']);
$output_link = "a, a:link, a:visited { color: $link; -webkit-transition: all 0.3s ease!important; -moz-transition: all 0.3s ease!important; -o-transition: all 0.3s ease!important; transition: all 0.3s ease!important; }";
}
if ( isset( $options['hover'] ) && $options['hover'] !== $defaults['hover'] || isset( $options['link'] ) ) {
if ( isset( $options['hover'] ) && $options['hover'] !== $defaults['hover'] || isset( $options['hover'] ) && isset( $options['link'] ) ) {
$hover = sanitize_text_field($options['hover']);
$output_hover = "a:hover, a:active { color: $hover; -webkit-transition: all 0.3s ease!important; -moz-transition: all 0.3s ease!important; -o-transition: all 0.3s ease!important; transition: all 0.3s ease!important; }";
}
Expand Down
13 changes: 9 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: [jazzsequence](https://github.com/jazzsequence)
Donate link: https://www.paypal.me/jazzsequence/
Tags: two-columns, custom-menu, threaded-comments, sticky-post, custom-background, featured-image-header, featured-images, post-formats, right-sidebar, translation-ready
Requires at least: 3.2
Tested up to: 4.7
Stable tag: 2.1.5
Tested up to: 4.9.4
Stable tag: 2.1.6

A simple, responsive WordPress theme/framework with support for internationalization, post formats, thumbnails, background, header, menus, custom favicon and more...

Expand All @@ -16,8 +16,8 @@ Museum Core is a clean, responsive framework with support for built-in WordPress
* German translation by [Christian Mauderer](http://www.c-mauderer.de/)
* Spanish translatin by [Wenke Adam](http://guillermodeisler.xyz/)

**Call for translators!**
If you are interested in helping translate this theme, contact me at hello@chrisreynolds.io.
**Call for contributors!**
If you like this theme and you would like to help maintain it, please get in touch with me on twitter ([@jazzs3quence](https://twitter.com/jazzs3quence)) via email (me@chrisreynolds.io) or on the [GitHub repo](https://github.com/jazzsequence/museum-core) as this is no longer a project that I am actively developing or maintaining.

## Installation

Expand All @@ -31,6 +31,11 @@ There are currently no screenshots.

## Changelog

### Version 2.1.6

* strip 'http:' from font URLs to improve HTTPS support [#86](https://github.com/jazzsequence/museum-core/pull/86)
* fix a PHP notice when changing link colors [#87](https://github.com/jazzsequence/museum-core/issues/87)

### Version 2.1.5
* fixed a bug where sidebar would not load correctly due to using name instead of ID [issue](https://github.com/jazzsequence/museum-core/issues/81)
* use `add_theme_support( 'title-tag' )` instead of `<title><?php wp_title(); ?></title>`
Expand Down
13 changes: 9 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: jazzs3quence
Donate link: https://www.paypal.me/jazzsequence/
Tags: two-columns, custom-menu, threaded-comments, sticky-post, custom-background, featured-image-header, featured-images, post-formats, right-sidebar, translation-ready
Requires at least: 3.2
Tested up to: 4.7
Stable tag: 2.1.5
Tested up to: 4.9.4
Stable tag: 2.1.6

A simple, responsive WordPress theme/framework with support for internationalization, post formats, thumbnails, background, header, menus, custom favicon and more...

Expand All @@ -16,8 +16,8 @@ Museum Core is a clean, responsive framework with support for built-in WordPress
* German translation by [Christian Mauderer](http://www.c-mauderer.de/)
* Spanish translatin by [Wenke Adam](http://guillermodeisler.xyz/)

**Call for translators!**
If you are interested in helping translate this theme, contact me at hello@chrisreynolds.io.
**Call for contributors!**
If you like this theme and you would like to help maintain it, please get in touch with me on twitter ([@jazzs3quence](https://twitter.com/jazzs3quence)) via email (me@chrisreynolds.io) or on the [GitHub repo](https://github.com/jazzsequence/museum-core) as this is no longer a project that I am actively developing or maintaining.

== Installation ==

Expand All @@ -31,6 +31,11 @@ There are currently no screenshots.

== Changelog ==

= Version 2.1.6 =

* strip 'http:' from font URLs to improve HTTPS support [#86](https://github.com/jazzsequence/museum-core/pull/86)
* fix a PHP notice when changing link colors [#87](https://github.com/jazzsequence/museum-core/issues/87)

= Version 2.1.5 =

* fixed a bug where sidebar would not load correctly due to using name instead of ID [issue](https://github.com/jazzsequence/museum-core/issues/81)
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Theme Name: Museum Core
Theme URI: https://github.com/jazzsequence/museum-core
Description: A simple WordPress theme/framework with support for post formats, thumbnails, background, header, menus and more...
Version: 2.1.5
Version: 2.1.6
Author: Chris Reynolds
Author URI: https://www.jazzsequence.com
License: GNU General Public License v3.0
Expand Down

0 comments on commit 174c772

Please sign in to comment.