=== Muki Floating TOC === Contributors: muki Tags: table of contents Requires at least: 6.0 Tested up to: 6.9 Stable tag: 1.0.8 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html 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 == Frequently Asked Questions == = 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 == Plugin Screenshots == 1. Admin management interface 2. Frontend TOC structure style 3. Frontend expanded TOC style == Changelog == = 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