From abedb24f4524c494fad9bb06e27bde14a3cb8acf Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Mon, 27 Oct 2014 17:23:04 -0400 Subject: [PATCH] readme (code syntax) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e229e8a..d96deab 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Additionally/alternatively, you could set a max-height for the backstretch image There's a filter for that, too. For example, adding this to your functions.php file would make sure that the excerpt does not show on single posts, or posts from the Staff post type, even if they have an excerpt. -``` +```php add_filter( 'display_featured_image_genesis_omit_excerpt', 'rgc_omit_excerpts' ); function rgc_omit_excerpts( $post_types ) { $post_types[] = 'staff';