Created
May 12, 2014 22:18
-
-
Save raamdev/ad36b0efb1b2effdbcd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* Only show excerpts for Standard post format OR Chat format, | |
when this is not both the very first standard post and also a Sticky post AND | |
when excerpts enabled or One-Sentence Excerpts enabled AND | |
this is not the very first standard post when Show Full Content First Post enabled */ | |
?> | |
<?php if ( ( ! get_post_format() || 'chat' === get_post_format() ) && | |
( ! ( independent_publisher_is_very_first_standard_post() && is_sticky() ) ) && | |
( independent_publisher_use_post_excerpts() || independent_publisher_generate_one_sentence_excerpts() ) && | |
( ! ( independent_publisher_show_full_content_first_post() && independent_publisher_is_very_first_standard_post() && is_home() ) ) | |
) : | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment