Plugin / Easy Table of Contents

Steven A. Zahm

Changelog

Changelog

1.7 05/09/2018

  • NEW: Introduce the ez_toc_shortcode filter.
  • TWEAK: Fix notices due to late eligibility check. props unixtam
  • TWEAK: Tweak eligibility check to support the TOC widget.
  • TWEAK: Prefix a few CSS classes in order to prevent collisions with theme’s and other plugins.
  • TWEAK: Avoid potential PHP notice in admin when saving the post by checking for nonce before validating it.
  • TWEAK: Using the shortcode now overrides global options.
  • TWEAK: the_content() now caches result of is_eligible().
  • TWEAK: Refactor to pass the WP_Post object internally vs. accessing it via the $wp_query->post which may not in all cases exist.
  • TWEAK: Use pre_replace() to replace one or more spaces with an underscore.
  • TWEAK: Return original title in the ez_toc_url_anchor_target filter.
  • TWEAK: Strip  , replacing it with a space character.
  • TWEAK: Minor tweaks to the in page URL creating.
  • TWEAK: Wrap TOC list in a nav element.
  • TWEAK: Init plugin on the plugins_loaded hook.
  • TWEAK: Tweak the minimum number of headers to 1.
  • BUG: The header options from the post meta should be used when building the TOC hierarchy, not the header options from the global settings.
  • BUG: Do not double escape field values.
  • BUG: Ensure Apostrophe / Single quote use in Exclude Headings work.
  • OTHER: Update CSS to include the newly prefixed classes.
  • DEV: Remove some commented out unused code.

1.6.1 03/16/2018

  • TWEAK: Revert change made to allow HTML added via the ez_toc_title filter as it caused undesirable side effects.
  • BUG: Ensure Smooth Scroll Offset is parsed as an integer.

1.6 03/15/2018

  • NEW: Add px option for font size unit.
  • NEW: Add title font size and weight settings options.
  • NEW: Add the Mobile Smooth Scroll Offset option.
  • TWEAK: Change default for font size unit from px to % to match the default options values.
  • TWEAK: Correct CSS selector so margin is properly applied between the title and TOC items.
  • TWEAK: Honor HTML added via ez_toc_title filter.
  • TWEAK: Ensure the ezTOC content filter is not applied when running the_content filter.
  • TWEAK: Only enqueue the javascript if the page is eligible for a TOC.
  • TWEAK: Update icomoon CSS to remove unecessary CSS selectors to prevent possible conflicts.
  • TWEAK: The smooth scroll offset needs to be taken into account when defining the offset_top property when affixing the widget.
  • OTHER: Update frontend minified CSS file.
  • OTHER: Update the frontend minified javascript file.
  • DEV: phpDoc corrections.

1.5 02/20/2018

  • BUG: Correct CSS selector to properly target the link color.
  • OTHER: Update the WayPoints library.
  • DEV: Add a couple @todo’s.

1.4 01/29/2018

  • TWEAK: Change text domain from ez_toc to easy-table-of-contents.
  • TWEAK: Rename translation files with correct text domain.
  • BUG: Ensure page headers are processed to add the in page header link when using the shortcodes.
  • BUG: Add forward slash to domain path in the plugin header.
  • I18N: Update POT file.
  • I18N: Update Dutch (nl_NL) translation.

1.3 12/18/2017

  • FEATURE: Add support for the [ez-toc] shortcode.
  • NEW: For backwards compatibility with “Table of Content Plus”, register the [toc] shortcode.
  • NEW: Introduce the ez_toc_extract_headings_content filter.
  • TWEAK: Update the tested to and required readme header text.
  • TWEAK: Do not show the widget on the 404, archive, search and posts pages.
  • I18N: Add the nl_NL translation.

1.2 04/29/2016

  • TWEAK: Remove the font family from styling the TOC title header.
  • TWEAK: Pass the raw title to the ez_toc_title filter.
  • BUG: A jQuery 1.12 fix for WordPress 4.5.

1.1 02/24/2016

  • FEATURE: Add option to replace header wither alternate header text in the table of content.
  • NEW: Introduce the ez_toc_filter.
  • NEW: Introduce ezTOC_Option::textarea() to render textareas.
  • NEW: Introduce array_search_deep() to recursively search an array for a value.
  • TWEAK: Run table of contents headers thru wp_kses_post().
  • TWEAK: Escape URL.
  • TWEAK: Count excluded headings only once instead of multiple times.
  • TWEAK: Escape translated string before rendering.
  • TWEAK: Use wp_unslash() instead of stripslashes().
  • TWEAK: Escape translated string.
  • BUG: Fix restrict path logic.
  • OTHER: Readme tweaks.
  • I18N: Add POT file.
  • I18N: Add Dutch translation.
  • DEV: Update .gitignore to allow PO files.
  • DEV: phpDoc fix.

1.0 09/08/2015

  • Initial release.
    • Complete refactor and restructure of the original code for better design and separation of function to make code base much easier to maintain and extend.
    • Update all third party libraries.
    • Make much better use of the WordPress Settings API.
    • Minified CSS and JS files are used by default. Using SCRIPT_DEBUG will use the un-minified versions.
    • Add substantial amounts of phpDoc for developers.
    • Add many hooks to permit third party integrations.
    • Widget can be affixed/stuck to the page so it is always visible.
    • Widget will highlight the table of content sections that are currently visible in the browser viewport.
    • Widget will now generate table of contents using output from third party shortcodes.
    • Use wpColorPicker instead of farbtastic.
    • Remove all shortcodes.
    • Per post options are saved in post meta instead of set by shortcode.

Ratings

4.6
71 reviews

Rating breakdown

Details Information

Version

1.7

First Released

08 Sep, 2015

Total Downloads

338,355

Wordpress Version

4.4 or higher

Tested up to:

5.1.3

Require PHP Version:

5.3 or higher

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.