LuckyWP Table of Contents
Creates SEO-friendly table of contents for your posts, pages or custom post types. Great customizable appearance. Features Automatical insertion a table of contents (configure post types and position). SEO-friendly: table of contents code is ready to use by Google for snippets on result page. Insert by shortcode, Gutenberg block or widget. Button on toolbar of the classic editor. Gutenberg block into “Common Blocks”. Setting the minimum number of headings to display table of contents. Setting the depth of headings for table of contents. Skip headings by level or text. Hierarchical or linear view. Numeration items: decimal or roman numbers in order or nested. Customizable appearance: width, float, title font size and weight, items font size, colors. Color schemes (dark, light, white, transparent, inherit from theme) and the ability to override colors. Toggle Show/Hide (optionally) Customizable labels. Smooth scroll (optionally). Setting offset top for smooth scroll. Wrap table of contents with tag (optionally). Pretty hash in URL (like example.com/faq/#how_do_this). RTL support. Available override global settings for a particular post. Highly compatible with WordPress themes and plugins. Auto Insert For automatical insertion a table of contents in a posts, select option “Auto Insert Table of Contents” in the plugin settings (tab “Auto Insert”). Supported positions: before first heading; after first heading; after first block (paragraph or heading); top of post content; bottom of post content. You can also select post types to which the table of contents will be automatically added. Manual Insert For manual insertion a table of content in a posts, use one of the ways: button “Table of Contents” on toolbar in classic editor; gutenberg block “Table of Contents”; shortcode [lwptoc]. Pretty hash in URL By default, hash generated as heading text (for example, #How_Do_This). You can change hash format in global settings, tab “Misc.”. For non-English websites it is recommended to enable the Intl PHP extension. Compatibility LuckyWP Table of Contents was successfully tested with the following plugins: Elementor Page Builder Beaver Builder and Beaver Builder Themer Add-On WPBakery Page Builder Oxygen WordPress Multilingual Plugin (WPML), officially confirmed Rank Math, officially confirmed WP Rocket Toolset Views and Toolset Access Hooks Filters lwptoc_before, lwptoc_after Use for add custom HTML before/after the table of contents. Example: add_filter('lwptoc_before', function ($before) { return ' Example text before TOC. ' . $before; }); Filter lwptoc_shortcode_tag Use this filter for change shortcode tag name [lwptoc]. Example: add_filter('lwptoc_shortcode_tag', function ($tag) { return 'toc'; }); Filter lwptoc_heading_id Use for modify heading ID. Example: add_filter('lwptoc_heading_id', function ($id, $label) { return $id; }, 10, 2);
Simple Sidebar Navigation
This plugin adds a widget into the Widgets dashboard that allows in a simple way, without writing any PHP code on your part, to create custom navigation in any sidebar pre-defined by your WP theme. Features Include: Flat and multi-level navigation hierarchy for existing pages and custom links. Very flexible conditional appearance options (greatly expanded from before 2.0 version). Out-of-the-box Suckerfish support. Option to add navigation links with custom title, url and target attribute. Unlimited number of navigation widgets. Optional setting includes blog posts into the navigation selection list (only pages are available by default). Support for custom drop-down menus CSS. Recent Updates Log: 2.3.0 – Fixes deprecated class constructor. 2.2.0 – WP 3.8 Compatibility Update. 2.1.5 – Added compatibility with Advanced Text Widget PRO. 2.1.4 – Minor update with IE6 JS fix. 2.1.0 – WordPress 2.8 Compatible and newer versions ONLY. 2.0.10 – Fixed active links bug. 2.0.9 – Fixed array unserialization, which was being broken by non-US characters (i.e. German umlauts). 2.0.8 – There is a floating bug between serializing from JS into PHP and back – hopefully it’s fixed now. 2.0.7 – Fixed get_posts() 5 post limit; Added ON/OFF target attribute option to the Settings so it can be compliant with XHTML 1.0 Strict; 2.0.6 – Fixed an error when parsing serialized array: Warning: array_key_exists(): on line 149. 2.0.5 – Custom links with hyphens bug fixed. 2.0.4 – Removed unconditional suckerfish_e.js declaration. 2.0.3 – Changed navigation links to permalinks. 2.0.2 – Fixed links with apostrophes bug. (Link titles that had apostrophe in them weren’t saving.) Conditional widget appearance is based on Daikos’ Text Widget by Rune Fjellheim. Author: Max Chirkov Author URI: http://SimpleRealtyTheme.com Copyright: Released under GNU GENERAL PUBLIC LICENSE Video Demo Check out this quick video demonstration.