diff --git a/lib/admin/admin-functions.php b/lib/admin/admin-functions.php index e4e9883..b6b67b2 100644 --- a/lib/admin/admin-functions.php +++ b/lib/admin/admin-functions.php @@ -36,6 +36,7 @@ function trestle_custom_defaults( $defaults ) { $trestle_defaults = array( 'trestle_layout' => 'solid', 'trestle_auto_nav' => 0, + 'trestle_auto_nav_depth' => 0, 'trestle_include_home_link' => 0, 'trestle_home_link_text' => __( 'Home', 'trestle' ), 'trestle_nav_button_text' => '[icon name="icon-list-ul"] ' . __( 'Navigation', 'trestle' ), @@ -91,6 +92,7 @@ function trestle_register_social_sanitization_filters() { 'absint', GENESIS_SETTINGS_FIELD, array( + 'trestle_auto_nav_depth', 'trestle_revisions_number', 'trestle_footer_widgets_number', 'trestle_equal_cols_breakpoint', @@ -156,7 +158,16 @@ function trestle_settings_box() {
- />
+ />
+
+
+
+ ' . $i . '' . "\n";
+ }
+ ?>
+
/>