Skip to content

Commit

Permalink
Fix crap grammar.
Browse files Browse the repository at this point in the history
  • Loading branch information
tlongren committed Jul 22, 2014
1 parent 7e5f648 commit 27319cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
echo independent_publisher_entry_meta_author_prefix() . ' ';
}
independent_publisher_posted_author() ?></span>
<?php if ( get_field('independent_publisher_primary_category') ) { // check a custom field named 'independent_publisher_primary_category'
<?php if ( get_field('independent_publisher_primary_category') ) { // check for a custom field named 'independent_publisher_primary_category'
echo independent_publisher_entry_meta_category_prefix() . ' ' . get_field('independent_publisher_primary_category'); // show the primary category as set in ACF
} else if ( independent_publisher_categorized_blog() ) {
echo independent_publisher_entry_meta_category_prefix() . ' ' . independent_publisher_post_categories( '', true );
Expand Down

0 comments on commit 27319cf

Please sign in to comment.