=== Easy Table of Contents === Contributors: magazine3 Donate link: https://tocwp.com/ Tags: table of contents, toc Requires at least: 5.0 Tested up to: 6.5 Requires PHP: 5.6.20 Stable tag: 2.0.65 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content. == Description == A user friendly, featured focused [Easy Table of Contents](https://tocwp.com/) plugin which allows you to insert a table of contents into your posts, pages and custom post types. [Home](https://tocwp.com/) | [Help & Tech Support](https://tocwp.com/contact/) | [Documentation](https://tocwp.com/docs/) | [Pro version Features](https://tocwp.com/pricing/) ### Features * Automatically generate a table of contents for your posts, pages and custom post types by parsing its contents for headers. * Supports the `` tag. * Supports the Rank Math plugin. * Works with the Classic Editor, Gutenberg, Divi, Elementor, WPBakery Page Builder and Visual Composer page editors. * Optionally enable for pages and/or posts. Custom post types are supported, as long as their content is output with the `the_content()` template tag. * Optionally auto insert the table of contents into the page, selectable by enabled post type. * Provides many easy to understand options to configure when and where to insert the table of contents. * Many options are available to configure how the inserted table of contents appears which include several builtin themes. If the supplied themes do no meet you needs, you can create your own by choosing you own colors for the border, background and link color. * Multiple counter bullet formats to choose from; none, decimal, numeric and roman. * Choose to display the table of contents hierarchical or not. This means headings of lower priority will be nested under headings of higher priority. * User can optionally hide the table of contents. You full control of this feature. It can be disabled and you can choose to have it hidden by default. * Supports smooth scrolling. * Selectively enable or disabled the table of contents on a post by post basis. * Choose which headings are used to generate the table of contents. This too can be set on a post by post basis. * Easily exclude headers globally and on a post by post basis. * If you rather not insert the table of contents in the post content, you can use the supplied widget and place the table of contents in your theme's sidebar. * The widgets supports being affixed or stuck on the page so it is always visible as you scroll down the page. NOTE: this is an advanced option since every theme is different, you might need support from your theme developer to learn what the correct item selector to use in the settings to enable this feature. * The widget auto highlights the sections currently visible on the page. The highlight color is configurable. * Developer friendly with many action hooks and filters available. More can be added by request on [Github](https://github.com/shazahm1/Easy-Table-of-Contents). Pull requests are welcomed. * An option to show toc based on dynamic paragraph count. * An option which Preserve Line Breaks in TOC. * An option to use the TOC without anchor links in the URL. * Support for custom taxonomy description. * Adds SiteNavigation Schema. = TAKE IT A STEP FURTHER WITH EASY TABLE OF CONTENTS PRO = With [EASY TABLE OF CONTENTS PRO](https://tocwp.com/pricing/) You will get access to more professional Settings, options and positions to really push your TOC to the next level. * New - Gutenberg Block : Easily create TOC in Gutenberg block without the need of any coding or shortcode. * New - Elementor Widget : Easily create TOC using Elementor Widget without the need of any coding or shortcode. * New - Fixed/Sticky TOC : Users can find the content that they need, much faster through the option of sticky TOC. * New - Fixed/Sticky TOC Customization : Customize the appearance of Sticky TOC with Theme Design options. * New - Full AMP Support : Generates a TOC with your existing setup and make it AMP compatible automatically. * NEW – ACF Support : Easily create TOC with your custom ACF fields. * NEW – View More : Show selected number of TOC heading before user clicks to show remaining headings. * NEW – Read Time : Show time of read for your posts/pages. * NEW – Collapsable Sub Headings : Show/Hide sub headings of the Table of contents. * NEW – Highlight Headings : Sticky heading highlight while scrolling through the content. ### Shortcode With Our shortcode feature you are in command of the table of contents with very little effort and even if you have little to no programming skills. [ez-toc] Would generate the table of contents. Below are the attibutes we support and could be useful in configuring the table of contents: [header_label="Title"] – title for the table of contents [display_header_label="no"] - no title for the table of contents [toggle_view="no"] – no toggle for the table of contents [initial_view="hide"] – initially hide the table of contents [display_counter="no"] – no counter for the table of contents [post_types="post,page"] – post types seperated by ,(comma) [post_in="1,2"] – ID's of the posts|pages seperated by ,(comma) [device_target="desktop"] – mobile or desktop device support for the table of contents [view_more="5"] – 5, is the number of headings loads on first view, before user interaction (PRO) ### Support We try our best to provide support on WordPress.org forums. However, We have a special [team support](https://magazine3.company/contact/) where you can ask us questions and get help. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked. ### Bug Reports Bug reports for Easy Table of Contents are [welcomed on GitHub](https://github.com/ahmedkaludi/Easy-Table-of-Contents). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed. ### [JOIN TELEGRAM GROUP COMMUNITY](https://t.me/+XADGN24lHNk0YjE1/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better. ### Roadmap * Fragment caching for improved performance. * Improve accessibility. * Add Bullet and Arrow options for list counter style. * [View Full Road Map](https://github.com/ahmedkaludi/Easy-Table-of-Contents/milestones) ### Credit Easy Table Contents is a fork of the excellent [Table of Contents Plus](https://wordpress.org/plugins/table-of-contents-plus/) plugin by [Michael Tran](http://dublue.com/plugins/toc/). ### Screenshots 1. The General section of the settings. 2. The Appearance section of the settings. 3. The Advanced section of the settings. ### Installation = Using the WordPress Plugin Search = 1. Navigate to the `Add New` sub-page under the Plugins admin page. 2. Search for `easy table of contents`. 3. The plugin should be listed first in the search results. 4. Click the `Install Now` link. 5. Lastly click the `Activate Plugin` link to activate the plugin. = Uploading in WordPress Admin = 1. [Download the plugin zip file](http://wordpress.org/plugins/easy-table-of-contents/) and save it to your computer. 2. Navigate to the `Add New` sub-page under the Plugins admin page. 3. Click the `Upload` link. 4. Select Easy Table of Contents zip file from where you saved the zip file on your computer. 5. Click the `Install Now` button. 6. Lastly click the `Activate Plugin` link to activate the plugin. = Using FTP = 1. [Download the plugin zip file](http://wordpress.org/plugins/easy-table-of-contents/) and save it to your computer. 2. Extract the Easy Table of Contents zip file. 3. Create a new directory named `easy-table-of-contents` directory in the `../wp-content/plugins/` directory. 4. Upload the files from the folder extracted in Step 2. 4. Activate the plugin on the Plugins admin page. == Changelog == = 2.0.65 10/04/2024 = * TWEAK: Warning: Undefined array key "s_blockqoute_checkbox" #728 * TWEAK: Write plugin name in subject of feedback form #731 * New: Added to exclude heading from query loop feature #730 = 2.0.64 28/03/2024 = * TWEAK: When clicked on copy shortcode, Page is shaking #695 * TWEAK: Uncaught ReferenceError #693 * TWEAK: Need to correct [initial_view='no'] shortcode in TOC #715 * New: Exclude By Matching Url/String Option is not working for Sticky TOC #688 * New: Added a new feature to set different positions on specific posts/pages #697 * New: Added a new feature to Filter/Hook for Adding Custom Links Before and After Toc plugin-generated Links #718 * Bug: Fatal Error: [ez-toc-widget-sticky] Shortcode and also Conflict with 'Internal Link Juicer (Pro)'. #704 * Bug: Sidebar’s PHP Error Notices in TOC version 2.0.63 #716 * Bug: Double invoice showing when sitenavigation schema option enabled #720 * Compatibility: Tested with Wordpress 6.5 #723 = 2.0.63 02/03/2024 = * TWEAK: Remove extra spaces added by the users to the option Exclude feature #687 * TWEAK: HTML Validator Parse Error: Font-Size Issue #691 * TWEAK: Proper enqueue method for sticky toc js. #696 * Bug: Easy TOC conflicts with the Popular Post plugin. #680 * Bug: A warning is appearing after the recent update #686 * Bug: TOC not showing on MicrojobEngine theme #694 * Bug: Warning appears in product widget sidebar #705 * Bug: Function wp_specialchars is deprecated since version 2.8.0! #709 * Bug: Add compatibility with pressbook theme #710 = 2.0.62 12/01/2024 = * New: Shortcode for sidebar sticky toc widget in documentation shortcode block #399 * New: A feature to remove numbers from individual post #404 * New: An option to customize the Highlighting of the headings #455 (Pro) * New: An option to customize the Font Weight #496 * New: An option for TOC in Widgets to change the colour and font size of the TOC title #508 * New: Elementor Code Improvement #675 * New: Compatibility for Genesis Theme Custom Taxonomy Archive page (Pro) * Bug: Ad Inserter #97 * Bug: Add Request URL option conflicting with twenty-twenty two theme #676 * Bug: Conflict with Avada child theme #677 * Bug: Conflict issue with device target feature #678 * Bug: YASR schema markup got disappeared when enabling plugin #679 * Bug: Add compatibility with Current Year, Symbols and IP Shortcode plugin #681 = 2.0.61 13/12/2023 = * New: checkbox selection should work on label clicks #473 * New: Should be able to change the sticky toggle header label for each post individually #625 * New: TOC plugin is not working with AJAX #634 * New: Need to add a feature to customize the View More/Less label #637 * New: To make the Sticky Toggle heading highlight while scrolling through the content #647 * New: The option font size is only working for the Sticky Toggle title Label but not for the headings #661 * New: Meta field to turn off sticky individually on post/pages. #666 * Bug: Put documents links #510 * Bug: Recent TOC Update 2.0.56.1 Causing W3C Validation Error #611 * Bug: The size of headings not increasing individually as per setting. #623 * Bug: Checklist #658 * Bug: The option "Width" is not getting saved for the option Sticky Toggle. #660 * Bug: The feature "Fixed TOC" is not working #662 * Bug: The H4, H5, and H6 headings are not changing the font size if customized in the Settings #663 * Bug: Target device functionality is not working in sticky toc #664 * Bug: PHP Warning in TOC Plugin: Undefined Array Key 'desc' in class.options.php (Line 1776) #665 * Bug: Sticky TOC on Password-Protected Pages Before Entry #667 = 2.0.60 05/12/2023 = * New: Alignment of TOC to the center on selected posts/pages #314 * New: An option to show the TOC content after the first image #336 * New: An option where users can show or hide the TOC on mobile devices and desktops. #362 * New: A feature to change a header label for specific post or page. #472 * New: An option to exclude/include heading via shortcode #566 * New: An option to load js in footer or header #586 * New: Add shortcode attribute to Hide/show counters in toc #649 * Bug: A sticky toggle appears on the Author pages and it contains the headings of the latest post published by them. #640 * Bug: Heading are not working if the plugin Molongui Authorship is activated ad if the heading contains "..." in it #642 = 2.0.59 29/11/2023 = * New: An option to show TOC on Tag #489 * New: Toc support for custom taxonomy description #512 * New: Apply default anchor prefix in the Japanese language #528 * New: An option to restrict the toc if any part of url match with saved limit path #560 * New: An option to use the TOC without anchor links in the URL. #587 * New: An option which Preserve Line Breaks in TOC. #591 * New: Collapsable sub heading #622 * New: Enable support attributes inside shortcode #624 * New: Filter to hide and show metabox #645 * Bug: The WP Bakery image gallery is getting braked on first reload #627 * Bug: Warning in debug log #636 * Bug: When we set the counter as a disc while using the viewMore option, then TOC CSS is not working fine. #638 * Bug: Fix CSS Style Placement for Easy-Table-of-Contents WordPress Plugin #639 * Bug: Fatal error while activating pro version #644 * Bug: Conflict issue with the Smooth Scroll Offset option #646 * Bug: Critical Error with READ TIME Option when Set to "0"(Zero) #648 = 2.0.58 15/11/2023 = * New: Generate schema/SiteNavigationElement for Table of contents #592 * New: An option to show estimated time to read the full article #594 * New: An option of TOC not crawl the paragraphs in blockquotes #601 * New: Add the View More feature compatibility with the Shortcode #628 * Bug: Widget Auto-Highlight Issue After Update 2.0.56.1 #610 * Bug: Conflict with the plugin Perfmatters's option "Enable FastClick" #612 * Bug: Add compatibility with the theme Oliver Lohse #615 * Bug: Sticky TOC is showing on Blog pages #617 * Bug: Toc not showing if AMP Page Builder is used #619 * Bug: Smooth Scroll offset issue after latest update #620 * Bug: JSON error when we try to added the ETOC in page/post section #621 * Bug: The WP Bakery image gallery is getting braked on first reload #627 * Bug: Issue showing on the page speed tool as Lists do not contain only