- Importing Starter Templates With Spectra
- Filters/Actions For Post
- Spectra Patterns
- Contact Form 7: Checkbox / Radio / Acceptance Control
- Getting Started With Spectra
- WP – Search
- Create Contact Forms
- Import Single Pages, Templates, & Block Patterns
- Assets API For Third-Party Plugins
- Copy & Paste Style
- Troubleshooting: Missing Icons
- Contact Form 7: Multiple Column Fields
- Unable To Style Contact Form 7
- Tab Index For Multiple Gravity Forms
- Manually Install Spectra Via FTP
- Enable/Disable Design Library Button
- Update Folder File Permissions
- Resolving Container Layout Conflicts
- Database Update Instructions (Below 2.0.0)
- Using Heading Block
- Buttons
- Post Grid
- Content Timeline
- Social Share
- Google Map
- Add Testimonials
- Info Box
- Section
- Team
- Icon List
- Price List
- Post Masonry
- Post Carousel
- Post Timeline
- Call To Action
- Advanced Columns
- Blockquote
- Marketing Button
- Table Of Contents
- How-to Schema
- FAQ’s: Schema/Accordion
- Inline Notice
- Exclude Heading From TOC
- Review Schema
- Lottie
- Taxonomy List
- Tabs Block
- Block Display Conditions
- Star Rating
- Masonry Image Gallery
- Wireframe Blocks
- Copy & Paste Style
- Container Flex Property
- Default Content Width
- Heading Block
- Image Block
- Buttons Block
- Container Block
- Responsive Conditions
- Taxonomy Styling Options
- Block Presets
- Image Gallery
- Counter Block
- Modal Block
- Registration Form Block
- Dynamic Content Extension
- Slider Block
- Pagel Level Custom CSS
- Countdown Pro
- Slider Custom Navigation
- Loop Builder
- Animations
- Login Form Block
- Global Block Style Extension
- Create Popups
- Grid Builder
- Pixabay Image Search Feature
- Â Getting Started with Instagram
- Advanced Loop Builder
- Transparent / Sticky Header
- Change Site Logo
- Change Global Styles
- Disable Title on Posts & Pages
- Transparent / Sticky Header For Single Page / Post
- Change Header & Footer Patterns
- Custom / Google Fonts
- Reset Global Default Styling
- Manually Install Spectra One Via FTP
- Enable / Disable Header & Footer On Specific Pages / Posts
How to Exclude A Heading from Table of Contents?
You might have a requirement in certain cases where you need to hide the heading from the table of contents. We have made it possible in our Spectra’s Table of Contents block to exclude the unnecessary headings from the table.
Let’s see a couple of cases to get a clearer idea on how you can achieve the same on your end –
Case: Hide Headings from the Single Post Page
A Single Post Page having related posts under the post content could list its Headings under the Table of Contents.
Solution: Now, to resolve this case, Spectra provides a simple way out, we have provided a CSS class which is – uagb-toc-hide-heading. There’s no need to be afraid there’s no custom code required.
We just need to add the above-provided custom CSS to the block which is displaying the posts. This class could be added to a particular Heading block/Advanced Heading block under Advanced settings > Additional CSS Class(es).
We don't respond to the article feedback, we use it to improve our support content.