diff --git a/singular-story.php b/singular-story.php index 745673f3..8474647c 100644 --- a/singular-story.php +++ b/singular-story.php @@ -20,7 +20,12 @@ if ( ! $story_id ) { } // Header -get_header(); +get_header( + null, + array( + 'no_index' => get_post_meta( $story_id, 'fictioneer_story_hidden', true ) ? 1 : 0 + ) +); ?>