diff --git a/includes/functions/settings/_register_settings.php b/includes/functions/settings/_register_settings.php index 320aaf9f..966bf215 100644 --- a/includes/functions/settings/_register_settings.php +++ b/includes/functions/settings/_register_settings.php @@ -684,6 +684,13 @@ define( 'FICTIONEER_OPTIONS', array( 'sanitize_callback' => 'fictioneer_sanitize_checkbox', 'label' => __( 'Count characters instead of words', 'fictioneer' ), 'default' => 0 + ), + 'fictioneer_show_protected_excerpt' => array( + 'name' => 'fictioneer_show_protected_excerpt', + 'group' => 'fictioneer-settings-general-group', + 'sanitize_callback' => 'fictioneer_sanitize_checkbox', + 'label' => __( 'Show excerpt on password-protected posts', 'fictioneer' ), + 'default' => 0 ) ), 'integers' => array( diff --git a/includes/functions/settings/_settings_page_general.php b/includes/functions/settings/_settings_page_general.php index 10336f13..2fde425e 100644 --- a/includes/functions/settings/_settings_page_general.php +++ b/includes/functions/settings/_settings_page_general.php @@ -159,6 +159,15 @@ ?> +
+ +
+
- -
+ + +
+ + +
+ ID, 512 ); ?> +
+
diff --git a/single-fcn_story.php b/single-fcn_story.php index f40232db..d0ec119d 100644 --- a/single-fcn_story.php +++ b/single-fcn_story.php @@ -65,8 +65,13 @@ get_header( null, $header_args ); ?>
- -
+ + +
+ + + ID, 512 ); ?> +