Muki Floating TOC

Mô tả

A floating table of contents for the left or right side of articles.

Introduction

Main features:

  • Add a floating table of contents to the left or right side of articles
  • Automatically position the TOC based on scroll position
  • Automatically hide when scrolling outside the article range
  • Use horizontal lines to represent the TOC structure

Installation Steps

  1. Upload the muki-floating-toc folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress interface.
  2. Activate the Muki Floating TOC plugin in WordPress Plugins
  3. Go to Settings > Muki Floating TOC to configure

Plugin Screenshots

  1. Admin management interface
  2. Frontend TOC structure style
  3. Frontend expanded TOC style

Ảnh màn hình

Hỏi đáp

Can I manually place Muki Floating TOC anywhere in my article?

Yes, there are three ways to display the TOC:
1. Automatic mode: Enable “Auto Display” in settings (default)
2. Theme function: Use muki_floating_toc_display() function in your theme files
3. Shortcode: Use [muki_floating_toc] shortcode directly in your post or page content

Đánh giá

1 Tháng 1, 2026 1 trả lời
It’s a good plugin, actually exactly what we were looking for – but it can be improved. For example, if there are a lot of headings on the page, they just go beyond the ToC box: share.cleanshot.com/3CGs4RZh I thought that this can be fixed with an overflow-y: scroll rule, however, after applying it the tooltip in the collapsed view can’t be seen anymore: share.cleanshot.com/fBPFWdnW
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Muki Floating TOC” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.8

  • Fix: TOC jumping to vertical center instead of staying fixed at the top of the viewport when scrolling

1.0.7

  • Fix: TOC content overflowing container when there are many headings or long heading text
  • Add vertical scrollbar to pinned TOC with styled thin scrollbar (WebKit + Firefox)

1.0.6

  • New: Add “Auto Display” setting to control automatic TOC display
  • New: Add muki_floating_toc_display() function for manual theme integration
  • New: Add [muki_floating_toc] shortcode for content editors
  • Improve: Enhanced flexibility for custom TOC placement
  • Improve: Updated admin interface with better usage instructions

1.0.5

  • Security: Add direct file access protection to prevent unauthorized file execution
  • Fix: Rename JavaScript variable to use unique prefix (muki_floating_toc_settings) to prevent conflicts
  • Fix: Update Plugin URI to valid URL
  • Improve: Ensure compliance with WordPress.org coding standards

1.0.42

  • Replace inline heading level text (e.g., H2) with CSS ::after pseudo-element to avoid being indexed by search engines
  • Minor CSS polish for level indicator

1.0.41

  • Add Language
  • Modify Scroll Behavior

1.0.3

  • Modify WordPress article selector

1.0.2

  • Removed redundant comments

1.0.1

  • Modified TOC style