documentary fictioneer

1. change + add line 530 in _story_hooks.php:

    $allowed_permalinks = apply_filters( 'fictioneer_filter_allowed_chapter_permalinks', ['publish', 'future'] );

  this one in functions.php:

function child_show_scheduled_chapters( $query_args ) {
  $query_args['post_status'] = ['publish', 'future'];

  return $query_args;
}
add_filter( 'fictioneer_filter_story_chapter_posts_query', 'child_show_scheduled_chapters' );

2. in _chapter_hooks.php:

search 'publish', and add 'future' next to it (like this): [ 'publish', 'future' ] for media, nav, subscribe.


    $indexed_chapter_ids = ['future', 'publish'];

Older Newest

Post a Comment