Skip to content

Commit

Permalink
Merge branch '0.7.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
frnsys committed Oct 2, 2017
2 parents 6f74c50 + c8986a5 commit e347ea9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme URI: https://github.com/misfist/tni-theme
Tags: Blog, Magazine
Requires at least: 4.5.0
Tested up to: 4.8.1
Version: 0.7.21
Version: 0.7.22
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -13,6 +13,10 @@ Custom theme for The New Inquiry, based on Gridbox theme.

== Changelog ==

== 0.7.22 October 2, 2017 ==
* Fixed display of audio icons in category loops
* Added link to complete audio archive on single posts with audio

== 0.7.21 September 17, 2017 ==
* #89 Fixed display of authors in Magazine TOC.

Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Description: Custom theme for The New Inquiry.
Author: Pea
Author URI: https://github.com/misfist
Template: gridbox
Version: 0.7.21
Version: 0.7.22
Text Domain: tni
*/
2 changes: 1 addition & 1 deletion template-parts/content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<a href="https://www.curio.io/"><img class="audio-source-icon" src="<?php echo get_stylesheet_directory_uri(); ?>/images/curio.png" title="<?php _e( 'Audio version provided by curio.io', 'tni' ); ?>" /></a>
<div class="audio-player">
<iframe width="100%" height="20" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=<?php echo urlencode($audio_url); ?>&amp;color=ff5500&amp;inverse=false&amp;auto_play=false&amp;show_user=true"></iframe>
<h5 class="audio-embed-caption"><?php _e( 'Listen to this essay as audio. Provided by <a href="https://www.curio.io/">curio.io</a> for our subscribers.'); ?></h5>
<h5 class="audio-embed-caption"><?php _e( 'Listen to this essay as audio. Provided by <a href="https://www.curio.io/">curio.io</a> for our subscribers. <a href="https://thenewinquiry.com/tag/audio/">Listen to more essays here</a>.'); ?></h5>
</div>
</div>
<?php else : ?>
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php // Get theme options from database.
$theme_options = gridbox_theme_options(); ?>

<?php if( true === $theme_options['meta_category'] && !is_category() ) : ?>
<?php if( true === $theme_options['meta_category'] ) : ?>
<div class="entry-meta">
<?php if( 'blogs' == get_post_type() ) : ?>
<span class="meta-category"><?php echo get_the_term_list( $post->ID, 'blog-types', '', ', ' ); ?></span>
Expand Down

0 comments on commit e347ea9

Please sign in to comment.