Reading. * * @package WordPress * @subpackage Fictioneer * @since 3.0 * * @internal ('fictioneer_filter_and_search_id') ACF field. You can use this ID for plugins. * @internal ('fictioneer_short_name') ACF field. Meant for an abbreviated page name. */ ?> 'chapters_list', 'post_type' => 'fcn_chapter', 'post_status' => 'publish', 'order' => $order, 'orderby' => $orderby, 'paged' => $page, 'posts_per_page' => get_option( 'posts_per_page', 8 ), 'update_post_term_cache' => ! get_option( 'fictioneer_hide_taxonomies_on_chapter_cards' ), 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'fictioneer_chapter_hidden', 'value' => '0' ), array( 'key' => 'fictioneer_chapter_hidden', 'compare' => 'NOT EXISTS' ) ) ); // Append date query (if any) $query_args = fictioneer_append_date_query( $query_args, $ago, $orderby ); // Filter query arguments $query_args = apply_filters( 'fictioneer_filter_chapters_query_args', $query_args, get_the_ID() ); // Query chapters $list_of_chapters = new WP_Query( $query_args ); // Prime author cache if ( function_exists( 'update_post_author_caches' ) ) { update_post_author_caches( $list_of_chapters->posts ); } ?>
$page, 'post_id' => get_the_ID(), 'chapters' => $list_of_chapters, 'queried_type' => 'fcn_chapter', 'query_args' => $query_args, 'order' => $order, 'orderby' => $orderby, 'ago' => $ago ); ?>

'page', 'post_id' => get_the_ID(), 'current_page' => $page, 'chapters' => $list_of_chapters, 'breadcrumbs' => array( [fcntr( 'frontpage' ), get_home_url()] ) ); // Add current breadcrumb $footer_args['breadcrumbs'][] = $this_breadcrumb; // Get footer with breadcrumbs get_footer( null, $footer_args ); ?>