diff --git a/themes/wporg-5ftf-2024/functions.php b/themes/wporg-5ftf-2024/functions.php index 6ff3007..d80b722 100644 --- a/themes/wporg-5ftf-2024/functions.php +++ b/themes/wporg-5ftf-2024/functions.php @@ -23,6 +23,9 @@ add_filter( 'get_the_excerpt', __NAMESPACE__ . '\inject_pledge_content', 1 ); add_filter( 'search_template_hierarchy', __NAMESPACE__ . '\use_archive_template' ); add_filter( 'body_class', __NAMESPACE__ . '\add_body_class' ); +// Remove table of contents. +add_filter( 'wporg_handbook_toc_should_add_toc', '__return_false' ); + /** * Enqueue scripts and styles. */ diff --git a/themes/wporg-5ftf-2024/templates/single-handbook.html b/themes/wporg-5ftf-2024/templates/single-handbook.html new file mode 100644 index 0000000..cc2c98a --- /dev/null +++ b/themes/wporg-5ftf-2024/templates/single-handbook.html @@ -0,0 +1,50 @@ + + + +
+ + +
+ + +
+ + +
+ + + + + + + + + + + +
+ + +
+ + + +
+ + +
+ + + + + + + + +
+ + +
+ + +