WordPress.org

Plugin Directory

FYP Table of Contents – Automatic TOC Generator for Better SEO & Navigation

FYP Table of Contents – Automatic TOC Generator for Better SEO & Navigation

Description

Keep Readers Engaged – Show Them What’s Coming!

Studies show readers are 80% more likely to finish long articles when they can see what’s ahead. FYP Table of Contents automatically creates beautiful, clickable navigation that keeps visitors reading and improves your search rankings.

What You’ll Get (Real Benefits, Not Technical Features)

Lower Bounce Rate – Readers stay longer when they can navigate easily to topics they care about
Better SEO Rankings – Google loves structured content with clear navigation (featured snippets!)
Increase Reading Time – Visitors explore more sections when they can jump directly to interesting parts
Professional Appearance – Modern designs make your content look polished and well-organized
Mobile-Friendly – Perfect navigation on smartphones where scrolling is tedious
Set and Forget – Add shortcode once or enable automatic placement, works on every heading forever
Faster Page Views – Smart caching means instant loading with zero performance impact

Why Choose FYP Table of Contents Over Others?

VS Free Alternatives:
3 Beautiful Templates – Others give you 1 basic boring list
Smart Caching System – Free plugins regenerate TOC on every page load (slow!)
Smooth Scroll Animation – Others just jump to sections (jarring experience)
Modern Design – Most plugins look like they’re from 2010

VS Premium Plugins ($29-$59):
Just as Powerful – Professional templates, smooth scrolling, toggle functionality
Same Performance – 12-hour caching and optimized code
Easier to Use – Simple shortcode vs complex configuration panels
Regular Updates – Actively maintained and WordPress compatible

VS Manual TOC:
Save Hours – Automatic vs manually creating and updating links
Always Accurate – Updates automatically when you edit headings
No Broken Links – IDs are generated automatically
Maintenance Free – Add/remove headings and TOC updates itself

Real-World Use Cases

📝 Long-Form Blog Posts – Help readers navigate 2000+ word articles efficiently
📚 Tutorial & How-To Guides – Let users jump to specific steps they need
📄 Documentation Sites – Essential for technical docs and knowledge bases
📰 News Articles – Improve reader experience on in-depth reporting
🎓 Educational Content – Students can navigate directly to topics they’re studying
💼 Business Pages – Make long service or about pages scannable

3 Professional Templates

No design skills needed – each template is beautifully crafted:

  1. Default – Clean vertical list perfect for sidebars and in-content placement
  2. Modern – Stylish design with border and highlight effects
  3. Horizontal – Compact menu-style layout ideal for top-of-page navigation

Key Features

✓ Automatic heading detection (H1-H6)
✓ Smooth scroll animation to sections
✓ Collapsible toggle (show/hide)
✓ Choose which heading levels to include
✓ Custom titles and styling
✓ SEO-friendly anchor links
✓ 12-hour smart caching
✓ Works with any theme
✓ Fully responsive design
✓ No JavaScript required (progressive enhancement)
✓ Translation ready

Simple to Use

  1. Add shortcode [fyplugins_table_of_contents] to your post or enable automatic placement in settings
  2. Done! TOC appears automatically when page has 3+ headings

No configuration required – works perfectly with default settings, customize only if you want to.

Part of the FYPlugins ecosystem – professional WordPress solutions trusted by thousands of websites.

Usage

Getting Started (2 Minutes)

  1. Activate Plugin – Enable FYP Table of Contents
  2. Choose Placement – In Table of Contents Settings, select Display Mode: Automatic – Before content or keep Manual – Shortcode
  3. Select Post Types – Pick which post types should show the automatic TOC (posts, pages, custom types)
  4. Add Shortcode (optional) – If using manual mode or overriding automatic placement
  5. Done! – Table of contents appears automatically when content has enough headings

Tip: If automatic mode is on and you add the shortcode manually, the plugin will not duplicate the TOC.

The plugin automatically detects all headings in your content and creates a clickable navigation menu.

Common Use Cases

Basic blog post TOC:
[fyplugins_table_of_contents]

Automatic placement before content (no shortcode needed):
Enable Display Mode: Automatic – Before content in settings and select the post types.

Tutorial with modern template:
[fyplugins_table_of_contents template=»modern» title=»Tutorial Steps»]

Quick navigation at top:
[fyplugins_table_of_contents template=»horizontal» title=»Jump to Section»]

Only H2 and H3 headings:
[fyplugins_table_of_contents included=»h2,h3″]

Documentation with custom styling:
[fyplugins_table_of_contents template=»modern» class=»docs-toc»]

Initially collapsed TOC:
[fyplugins_table_of_contents default_toggle=»hide» title=»Show Contents»]

Shortcode Parameters

Main Shortcode: [fyplugins_table_of_contents]

All parameters are optional. If not specified, plugin uses smart defaults.

Display Options

  • template – Visual style: default (vertical list), modern (styled box), horizontal (menu-style)
  • title – Heading text (e.g., «Table of Contents», «Jump to Section», «On This Page»)
  • class – Add custom CSS classes for styling

Content Selection

  • included – Which heading levels to show: h1,h2,h3,h4,h5,h6 or any combination (default: all)
  • min_headings – Minimum headings required to show TOC (default: 3)

User Interaction

  • toggle – Show collapse/expand button: true or false (default: true)
  • default_toggle – Initial state: show (expanded) or hide (collapsed) (default: show)

Automatic Placement (Settings)

  • Display Mode – Manual (shortcode) or Automatic (before content)
  • Post Types – Choose which post types get the automatic TOC
  • All other options – Title, headings, templates, toggle, and min headings are reused for automatic mode

Real-World Examples

Long blog post:
[fyplugins_table_of_contents title=»What You’ll Learn» template=»modern»]

Technical documentation:
[fyplugins_table_of_contents included=»h2,h3,h4″ template=»default»]

Recipe or tutorial:
[fyplugins_table_of_contents title=»Recipe Steps» included=»h2,h3″ toggle=»false»]

Landing page with horizontal menu:
[fyplugins_table_of_contents template=»horizontal» included=»h2″]

Multiple TOCs on same page:
[fyplugins_table_of_contents included=»h2″ title=»Main Topics» class=»main-toc»]
[fyplugins_table_of_contents included=»h3,h4″ title=»Subsections» class=»sub-toc»]

Screenshots

  • Boost engagement – Readers navigate long articles easily, staying on your site longer
  • 3 beautiful templates – Default, Modern, and Horizontal layouts for any use case

Installation

Automatic Installation (Recommended)

  1. Go to WordPress admin Plugins Add New
  2. Search for «FYP Table of Contents»
  3. Click «Install Now» then «Activate»
  4. Add shortcode to any post: [fyplugins_table_of_contents]

Manual Installation

  1. Download the plugin ZIP file
  2. Go to Plugins Add New Upload Plugin
  3. Upload ZIP and click «Install Now»
  4. Activate the plugin
  5. Add shortcode to your content

Quick Test

Edit any post with multiple headings and add: [fyplugins_table_of_contents]
Publish and view the post to see your automatic table of contents!

FAQ

Will this work with my theme?

Yes! FYP Table of Contents works with all WordPress themes. It uses clean HTML and CSS that adapts to your theme’s styling.

Do I need to configure anything?

No! Just add the shortcode and it works. The plugin automatically detects headings and creates the table of contents. Customization is available if you want it.

How many headings do I need?

By default, the TOC appears when your content has 3 or more headings. You can change this with the min_headings parameter.

Can I choose which heading levels to include?

Yes! Use the included parameter. For example, included="h2,h3" shows only H2 and H3 headings. This is perfect when you want to skip H1 (usually your page title) or only show main sections.

Will it slow down my website?

No! The plugin uses smart 12-hour caching, so the table of contents is generated once and reused. Impact on page load is negligible. Most sites see no measurable difference.

Does it work on mobile devices?

100% responsive! All templates work beautifully on smartphones and tablets. The collapsible toggle is especially useful on mobile where screen space is limited.

Can I have multiple tables of contents on one page?

Yes! Use the shortcode multiple times with different parameters. Great for long articles where you want a main TOC at the top and section-specific TOCs throughout.

What happens if I change my headings?

The TOC updates automatically! The 12-hour cache refreshes when you edit the post, so your table of contents is always current.

Can I customize the appearance?

Absolutely! Choose from 3 templates, add custom CSS classes, or override styles in your theme. The class parameter makes it easy to target specific TOCs with CSS.

Does it work with page builders?

Yes! Works with Elementor, Beaver Builder, Divi, Gutenberg, and all major page builders. Just add the shortcode in a text/shortcode element.

Will this help my SEO?

Yes! Table of contents with anchor links helps search engines understand your content structure. It can also generate featured snippets in Google search results (those jump links you see in search).

Can I translate it?

Yes! The plugin is translation-ready and includes .pot file for easy translation into any language.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“FYP Table of Contents – Automatic TOC Generator for Better SEO & Navigation” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

= 1.2.0 (January 2026) – Automatic table of contents
NEW: Automatic placement option with post type targeting (no shortcode needed)
UPDATED: FYPlugins Core to version 1.3.6

1.1.1 (January 2026) – Framework Update

  • UPDATED: FYPlugins Core to version 1.3.4
  • IMPROVED: Performance optimizations in core framework
  • IMPROVED: Better compatibility with WordPress 6.9

1.1.0 (December 2025) – Major Enhancement Release

  • NEW: Smart 12-hour caching system for instant loading
  • NEW: Smooth scroll animation when clicking TOC links
  • NEW: Hierarchical nested list structure (proper ul/li)
  • NEW: Collapsible toggle functionality
  • NEW: Excluded headings filtering capability
  • NEW: 3 professional templates (Default, Modern, Horizontal)
  • FIXED: Inconsistent option keys in admin
  • FIXED: Missing shortcode attributes (title, class, toggle, etc.)
  • FIXED: Processing flag that caused multiple TOC generation
  • IMPROVED: SEO-friendly anchor ID generation
  • IMPROVED: Proper CSS and JavaScript asset enqueuing
  • IMPROVED: Better mobile responsiveness

1.0.1 (November 2025) – Performance Update

  • NEW: Basic caching system for better performance
  • NEW: Shortcode detection to prevent unnecessary processing
  • IMPROVED: More efficient heading detection

1.0.0 (October 2025) – Initial Release

  • Automatic table of contents generation
  • Customizable shortcode with parameters
  • Responsive design for all devices
  • Theme compatibility
  • Smart heading detection
  • Multiple instances support