This function is available for posts and pages and can be added easily via shortcode.
Shortcode: {getToc} $title={Table of Contents} $count={Boolean} $expanded={Boolean}
Count Option: This attribute is optional! Available values are true
or false
.
Expanded Option: This attribute is optional! Available values are true
or false
.
INFO: After adding the shortcode, apply the Bold style.
Example: