diff --git a/includes/functions/hooks/_chapter_hooks.php b/includes/functions/hooks/_chapter_hooks.php
index 079fd20a..e07e8b12 100644
--- a/includes/functions/hooks/_chapter_hooks.php
+++ b/includes/functions/hooks/_chapter_hooks.php
@@ -310,7 +310,10 @@ add_action( 'fictioneer_chapter_actions_top_left', 'fictioneer_chapter_resize_bu
*/
function fictioneer_chapter_nav_buttons( $args, $location ) {
- $post_status = get_post_status( get_the_ID() );
+ // Setup
+ $post_id = get_the_ID();
+ $post_status = get_post_status( $post_id );
+ $unlisted = get_post_meta( $post_id, 'fictioneer_chapter_hidden', true );
// Do not render on hidden posts
if ( $post_status !== 'publish' ) {
@@ -318,7 +321,7 @@ function fictioneer_chapter_nav_buttons( $args, $location ) {
}
// Start HTML ---> ?>
-
+
@@ -326,7 +329,7 @@ function fictioneer_chapter_nav_buttons( $args, $location ) {
-
+