Account for hidden story flag in singular-story
This commit is contained in:
parent
f73aa30537
commit
2b824ba1d2
@ -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
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user