Skip to content

Commit

Permalink
Fix issue with Customizer Live Preview and Continue Reading link. See #…
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Mar 29, 2014
1 parent 8799fc6 commit b14e3ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@
</div>
<!-- .entry-content -->

<footer class="entry-meta">

<?php /* Show Continue Reading link when this is a Standard post format AND One-Sentence Excerpts options is enabled AND
<?php /* Show Continue Reading link when this is a Standard post format AND One-Sentence Excerpts options is enabled AND
we're not showing the first post full content AND this is not a sticky post */
?>
<?php if ( false === get_post_format() && independent_publisher_generate_one_sentence_excerpts() && independent_publisher_is_not_first_post_full_content() && ! is_sticky() ) : ?>
<?php independent_publisher_continue_reading_link(); ?>
<?php endif; ?>
?>
<?php if ( false === get_post_format() && independent_publisher_generate_one_sentence_excerpts() && independent_publisher_is_not_first_post_full_content() && ! is_sticky() ) : ?>
<?php independent_publisher_continue_reading_link(); ?>
<?php endif; ?>

<footer class="entry-meta">

<?php /* Show author name and post categories only when post type == post AND we're not showing the first post full content */ ?>
<?php if ( 'post' == get_post_type() && independent_publisher_is_not_first_post_full_content() ) : // post type == post conditional hides category text for Pages on Search ?>
Expand Down
2 changes: 2 additions & 0 deletions rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ Accessibility

.enhanced-excerpt-read-more {
margin-bottom: 1em;
font-size: 13px;
text-align: left;
}

.show-full-content-first-post h1.entry-title,
Expand Down
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ Accessibility

.enhanced-excerpt-read-more {
margin-bottom: 1em;
font-size: 13px;
text-align: right;
}

.show-full-content-first-post h1.entry-title,
Expand Down

0 comments on commit b14e3ce

Please sign in to comment.