Skip to content

Commit

Permalink
0.7.14
Browse files Browse the repository at this point in the history
  • Loading branch information
frnsys committed Aug 13, 2017
1 parent 1690f6b commit 7d82a59
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css.map

Large diffs are not rendered by default.

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
Version: 0.7.13
Version: 0.7.14
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.14 August 13, 2017 ==
* Only show content footer widget (subscribe prompt) if not logged in
* Show first margin notes on mobile

== 0.7.13 August 3, 2017 ==
* Change how advance essays are handled for subscribers
* #77 - Unauthenticated users see prompt to subscribe for subscriber-only essays
Expand Down
3 changes: 1 addition & 2 deletions src/sass/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@

.margin-right,
.margin-left {
@include visually-hidden;

&:first-child {
width: 100%;
float: none;
margin-right: auto;
margin-left: auto;
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.13
Version: 0.7.14
Text Domain: tni
*/
11 changes: 6 additions & 5 deletions template-parts/content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@
</div><!-- .entry-content -->

<footer class="entry-footer">

<?php if( is_active_sidebar( 'content-footer' ) ) : ?>
<div class="content-footer-widget">
<?php dynamic_sidebar( 'content-footer' ); ?>
</div><!-- .footer-widget -->
<?php if ( !$auth ) : ?>
<?php if( is_active_sidebar( 'content-footer' ) ) : ?>
<div class="content-footer-widget">
<?php dynamic_sidebar( 'content-footer' ); ?>
</div><!-- .footer-widget -->
<?php endif; ?>
<?php endif; ?>

</footer><!-- .entry-footer -->
Expand Down

0 comments on commit 7d82a59

Please sign in to comment.