Account for hidden story flag in singular-story

This commit is contained in:
Tetrakern 2024-08-12 01:33:57 +02:00
parent f73aa30537
commit 2b824ba1d2

View File

@ -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
)
);
?>