<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Documentation Archive - wpjoli</title>
	<atom:link href="https://wpjoli.com/docs/feed/" rel="self" type="application/rss+xml" />
	<link>https://wpjoli.com/docs/</link>
	<description>Sleek Wordpress Plugins</description>
	<lastBuildDate>Fri, 10 Apr 2026 09:14:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wpjoli.com/wp-content/uploads/2023/01/wpjoli-favicon-2023-40x40.png</url>
	<title>Documentation Archive - wpjoli</title>
	<link>https://wpjoli.com/docs/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>joli_toc_load_translations</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_load_translations/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_load_translations/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Fri, 10 Apr 2026 09:14:56 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/?post_type=docs&#038;p=2935</guid>

					<description><![CDATA[<p>By default, the plugin will try to load the translations for the current user&#8217;s locale. This affects the plugin&#8217;s UI. Use this filter to prevent loading translations in your current locale and kee the UI in english. The function must return false to disable loading the translations in the current locale.</p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_load_translations/">joli_toc_load_translations</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>By default, the plugin will try to load the translations for the current user&#8217;s locale. This affects the plugin&#8217;s UI.</p>



<p>Use this filter to prevent loading translations in your current locale and kee the UI in english.</p>



<p>The function must return <strong>false </strong>to disable loading the translations in the current locale.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">// Prevents translations from being loaded to keep the UI in english
add_filter('joli_toc_load_translations', '__return_false');</pre>



<p></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_load_translations/">joli_toc_load_translations</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_load_translations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Timeline TOC</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 09:27:02 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/</guid>

					<description><![CDATA[<p>The Timeline TOC is a new clever way to outline your content on a single line. Each marker represents either a H2 or a H3 heading. The maximum heading depth for the timeline is H3. Timeline TOC Concept The timeline has 2 states: Collapsed: The timeline is visible but does not show any labels, only &#8230; <a href="https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/">Continued</a></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/">Timeline TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The Timeline TOC is a new clever way to outline your content on a single line. Each marker represents either a H2 or a H3 heading.</p>



<p>The maximum heading depth for the timeline is H3.</p>



<h2 class="wp-block-heading">Timeline TOC Concept </h2>



<ul class="wp-block-list">
<li>H2 Markers are bigger</li>



<li>H3 Markers are smaller (and optional)</li>



<li>The spacing between markers is proportionate to their position within the article</li>



<li>The timeline can also be used as a vertical progress bar</li>



<li>A width-adjustable &#8220;invisible&#8221; area will trigger the expansion of the timeline on hover</li>
</ul>



<p>The timeline has 2 states:</p>



<p><strong>Collapsed</strong>: The timeline is visible but does not show any labels, only the markers. The markers are smaller.</p>



<p><strong>Expanded</strong>: The timeline shows the headings as labels next to the markers, and the markers enlarge and include their respective number from the heading numbering.</p>



<p>An adjustable animation happens during the transition between the 2 states.</p>



<h2 class="wp-block-heading">How to activate the Timeline TOC</h2>



<p>Under <em>Timeline TOC > Timeline table of contents</em>, switch on the <strong>Activate timeline table of contents</strong> option.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1447" height="1042" src="https://wpjoli.com/wp-content/uploads/2026/04/image-15.png" alt="" class="wp-image-2921" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-15.png 1447w, https://wpjoli.com/wp-content/uploads/2026/04/image-15-300x216.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-15-1024x737.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-15-768x553.png 768w" sizes="(max-width: 1447px) 100vw, 1447px" /></figure>



<p>The timeline will be activated with the default values.</p>



<h2 class="wp-block-heading">How to adjust the trigger area</h2>



<p>The trigger area will trigger the expansion of the timeline when it is in collapsed state. To prevent unwanted expansions of the timeline, you can adjust :</p>



<ul class="wp-block-list">
<li>The width of the area</li>



<li>The delay (so that if you mouse hovers quickly it does not expanded it)</li>



<li>The animation duration (from instant to a longer animation)</li>
</ul>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="653" src="https://wpjoli.com/wp-content/uploads/2026/04/image-16-1024x653.png" alt="" class="wp-image-2922" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-16-1024x653.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-16-300x191.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-16-768x490.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-16.png 1516w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Here is how to adjust those settings:</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="999" height="1567" src="https://wpjoli.com/wp-content/uploads/2026/04/image-17.png" alt="" class="wp-image-2923" style="aspect-ratio:0.6375295729049931;object-fit:contain;width:600px" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-17.png 999w, https://wpjoli.com/wp-content/uploads/2026/04/image-17-191x300.png 191w, https://wpjoli.com/wp-content/uploads/2026/04/image-17-653x1024.png 653w, https://wpjoli.com/wp-content/uploads/2026/04/image-17-768x1205.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-17-979x1536.png 979w" sizes="(max-width: 999px) 100vw, 999px" /></figure>



<h2 class="wp-block-heading">Expanded state area</h2>



<p>Once the timeline is expanded, its container area width can also be adjusted. This will determine how the timeline will automatically collapse.</p>



<p>While the mouse remains within the boundaries of the expanded area, the timeline will remain expanded. As soon as it leaves, the timeline will collapse.</p>



<p class="has-amber-100-background-color has-background"><strong>On mobile</strong>, the expanded area takes up <strong>all the horizontal space</strong> and the <strong>background is blurred</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="860" src="https://wpjoli.com/wp-content/uploads/2026/04/image-19-1024x860.png" alt="" class="wp-image-2925" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-19-1024x860.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-19-300x252.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-19-768x645.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-19.png 1465w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Adjust the value here:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1009" height="543" src="https://wpjoli.com/wp-content/uploads/2026/04/image-20.png" alt="" class="wp-image-2926" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-20.png 1009w, https://wpjoli.com/wp-content/uploads/2026/04/image-20-300x161.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-20-768x413.png 768w" sizes="auto, (max-width: 1009px) 100vw, 1009px" /></figure>



<h2 class="wp-block-heading">How to keep the timeline static between collapsed/expanded states</h2>



<p>What determines if the timeline will expand with a slide-in effect from the edge is the difference between these 2 values:</p>



<ul class="wp-block-list">
<li>Horizontal offset</li>



<li>Horizontal offset (expanded)</li>
</ul>



<p>By default, these values are different. This creates a slide-in animation.</p>



<p>To prevent the animation, you need to set the exact same 2 values, like so:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="999" height="428" src="https://wpjoli.com/wp-content/uploads/2026/04/image-18.png" alt="" class="wp-image-2924" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-18.png 999w, https://wpjoli.com/wp-content/uploads/2026/04/image-18-300x129.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-18-768x329.png 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></figure>



<p> </p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/">Timeline TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/timeline-toc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>joli_toc_slide_out_box_bottom</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 09:14:50 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/?post_type=docs&#038;p=2910</guid>

					<description><![CDATA[<p>Prerequisite: you must switch on the Bottom box option (under Slide-out TOC > Slide-out custom content boxes) Add custom content at the bottom of the slide-out panel. The container&#8217;s selector of the custom content is .wpj-jtoc--slide-out-custom-box-bottom</p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/">joli_toc_slide_out_box_bottom</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-yellow-50-background-color has-background"><strong>Prerequisite</strong>: you must switch on the <strong>Bottom box</strong> option (under <em>Slide-out TOC > Slide-out custom content boxes</em>)</p>



<p>Add custom content at the bottom of the <a href="https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/">slide-out</a> panel.</p>



<p>The container&#8217;s selector of the custom content is <code>.wpj-jtoc--slide-out-custom-box-bottom</code></p>



<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">add_action( 'joli_toc_slide_out_box_bottom', function (){
    echo do_shortcode('[my-shortcode]);
});</pre>



<p></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/">joli_toc_slide_out_box_bottom</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>joli_toc_slide_out_box_top</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 09:13:16 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/?post_type=docs&#038;p=2907</guid>

					<description><![CDATA[<p>Prerequisite: you must switch on the Top box option (under Slide-out TOC &#62; Slide-out custom content boxes) Add custom content at the top of the slide-out panel. The container&#8217;s selector of the custom content is .wpj-jtoc--slide-out-custom-box-top</p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/">joli_toc_slide_out_box_top</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-yellow-50-background-color has-background"><strong>Prerequisite</strong>: you must switch on the <strong>Top box</strong> option (under <em>Slide-out TOC &gt; Slide-out custom content boxes</em>)</p>



<p>Add custom content at the top of the <a href="https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/">slide-out</a> panel.</p>



<p>The container&#8217;s selector of the custom content is <code>.wpj-jtoc--slide-out-custom-box-top</code></p>



<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">add_action( 'joli_toc_slide_out_box_top', function (){
    echo do_shortcode('[my-shortcode]);
});</pre>



<p></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/">joli_toc_slide_out_box_top</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Slide-out TOC</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 08:54:21 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/</guid>

					<description><![CDATA[<p>The slide-out table of contents shows a table of contents in a slide-out panel that slides from the edge of the screen. How to add a Slide-out Table of Contents Prerequisite: an inline table of contents must be in the content for the Slide-out TOC to work. After ensuring you have an inline table of &#8230; <a href="https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/">Continued</a></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/">Slide-out TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The slide-out table of contents shows a table of contents in a slide-out panel that slides from the edge of the screen.</p>



<h2 class="wp-block-heading">How to add a Slide-out Table of Contents</h2>



<p class="has-yellow-100-background-color has-background"><strong>Prerequisite:</strong> an inline table of contents must be in the content for the Slide-out TOC to work.</p>



<p>After ensuring you have an inline table of contents, switch on <strong>Activate slide-out</strong> <strong>table of contents</strong> (under <em>Floating TOC &gt; Slide-out table of contents</em>), select the desired <strong>Floating mode</strong> and adjust the settings to your liking.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1648" height="759" src="https://wpjoli.com/wp-content/uploads/2026/04/image-14.png" alt="" class="wp-image-2906" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-14.png 1648w, https://wpjoli.com/wp-content/uploads/2026/04/image-14-300x138.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-14-1024x472.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-14-768x354.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-14-1536x707.png 1536w" sizes="auto, (max-width: 1648px) 100vw, 1648px" /></figure>



<h2 class="wp-block-heading">How to adjust the Slide-out appearance ?</h2>



<p>By default, the slide-out TOC looks is based on the selected theme.</p>



<p>Adjust the <strong>Padding </strong>for more or less empty space around the TOC.</p>



<p class="has-emerald-100-background-color has-background">For a cleaner look of the table of contents within the Slide-out, switch on the <strong>Blend into panel</strong> option</p>



<h2 class="wp-block-heading">How to add custom content in the Slide-out panel ?</h2>



<p>To add custom content at the top/bottom of the panel, you need to:</p>



<ol class="wp-block-list">
<li>Switch on <strong>Top box</strong> / <strong>Bottom box</strong> (under <em>Slide-out TOC &gt; Slide-out custom content boxes</em>).</li>



<li>Add custom content through the <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_top/">top</a> or the <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/actions/joli_toc_slide_out_box_bottom/">bottom</a> action hook</li>
</ol>



<p>The content must be in HTML. You can use shortcodes as well.</p>



<p>This way, you can add custom elements such as display Ads or Call-To-Action.</p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/">Slide-out TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/slide-out-toc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Floating TOC</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/floating-toc/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/floating-toc/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 05:08:25 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/docs/joli-table-of-contents/floating-toc/</guid>

					<description><![CDATA[<p>The floating table of contents is fixed widget that remains on top of your content. The reader can expand the TOC at any given moment and jump to the desired section. Floating modes for the Floating Table of Contents Originally, the floating TOC was only available with the &#8220;active heading&#8221; mode. This mode dynamically updates &#8230; <a href="https://wpjoli.com/docs/joli-table-of-contents/floating-toc/">Continued</a></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/floating-toc/">Floating TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The floating table of contents is fixed widget that remains on top of your content. The reader can expand the TOC at any given moment and jump to the desired section.</p>



<h2 class="wp-block-heading">Floating modes for the Floating Table of Contents</h2>



<p>Originally, the floating TOC was only available with the &#8220;active heading&#8221; mode. This mode dynamically updates the current section the reader is viewing.</p>



<p>Since v3, there 3 additional modes for extra flexibility.</p>



<h3 class="wp-block-heading">Active Heading</h3>



<p>Show the active section with optional navigation buttons.</p>



<figure class="wp-block-image size-full is-style-default"><img loading="lazy" decoding="async" width="1215" height="365" src="https://wpjoli.com/wp-content/uploads/2026/04/image-5.png" alt="" class="wp-image-2894" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-5.png 1215w, https://wpjoli.com/wp-content/uploads/2026/04/image-5-300x90.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-5-1024x308.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-5-768x231.png 768w" sizes="auto, (max-width: 1215px) 100vw, 1215px" /></figure>



<h3 class="wp-block-heading">TOC Title</h3>



<p>This mode uses the TOC title and icon (if it&#8217;s set) and remains static.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1227" height="320" src="https://wpjoli.com/wp-content/uploads/2026/04/image-6.png" alt="" class="wp-image-2895" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-6.png 1227w, https://wpjoli.com/wp-content/uploads/2026/04/image-6-300x78.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-6-1024x267.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-6-768x200.png 768w" sizes="auto, (max-width: 1227px) 100vw, 1227px" /></figure>



<h3 class="wp-block-heading">Custom Icon</h3>



<p>This mode is the most minimalistic mode showing only an icon of your choice.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="272" src="https://wpjoli.com/wp-content/uploads/2026/04/image-7-1024x272.png" alt="" class="wp-image-2896" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-7-1024x272.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-7-300x80.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-7-768x204.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-7.png 1226w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Custom Text</h3>



<p>This mode shows a custom text.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="232" src="https://wpjoli.com/wp-content/uploads/2026/04/image-8-1024x232.png" alt="" class="wp-image-2897" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-8-1024x232.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-8-300x68.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-8-768x174.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-8.png 1226w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">How to add a Floating Table of Contents</h2>



<p class="has-amber-100-background-color has-background"><strong>Prerequisite:</strong> an inline table of contents must be in the content for the floating TOC to work.</p>



<p>After ensuring you have an inline table of contents, switch on <strong>Activate floating table of contents</strong> (under <em>Floating TOC &gt; Floating table of contents</em>), select the desired <strong>Floating mode</strong> and adjust the settings to your liking.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="530" src="https://wpjoli.com/wp-content/uploads/2026/04/image-9-1024x530.png" alt="" class="wp-image-2898" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-9-1024x530.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-9-300x155.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-9-768x398.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-9-1536x795.png 1536w, https://wpjoli.com/wp-content/uploads/2026/04/image-9-400x208.png 400w, https://wpjoli.com/wp-content/uploads/2026/04/image-9.png 1648w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">I only want to show the Floating TOC on my page, how to do ?</h2>



<p>If you don&#8217;t want an inline TOC while keeping the Floating TOC feature, you need to keep the inline TOC hidden.</p>



<p>To do so, go to <em>General &gt; Table of contents</em> and switch on <strong>Hide main table of contents</strong>. </p>



<h2 class="wp-block-heading">The floating widget is (partially) hidden, what to do ?</h2>



<p>When using page builders such as Divi, Elementor, etc, it is likely that the table of contents gets nested in multiple DIV elements. This can lead to visual issues.</p>



<p>To get around this, activate the <strong>Compatibility mode</strong> and check if this solves the problem.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1218" height="437" src="https://wpjoli.com/wp-content/uploads/2026/04/image-10.png" alt="" class="wp-image-2899" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-10.png 1218w, https://wpjoli.com/wp-content/uploads/2026/04/image-10-300x108.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-10-1024x367.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-10-768x276.png 768w" sizes="auto, (max-width: 1218px) 100vw, 1218px" /></figure>



<h2 class="wp-block-heading">The floating widget is misaligned or is shown too early</h2>



<p>By default, the floating widget is positioned relative to the inline TOC in the content.</p>



<p>In the case the content container could not be detected automatically, you will have to set it manually to provide a context for the floating TOC.</p>



<p>To determine what your content container selector, browse to a page where the floating TOC is activated and around the top of the article (ideally on the inline table of contents), right click and press &#8220;<strong>Inspect</strong>&#8221; to bring up the element inspector.</p>



<p>As you hover elements, it will highlight the corresponding area in the browser.</p>



<p>The content container is normally the parent element of the table of contents (unless you placed your TOC in other elements like a &#8220;column&#8221;).</p>



<p>What we are looking for is the element that &#8220;wraps&#8221; the entire article (without the title).</p>



<p>In the screen capture below, when hovering the <code><code data-enlighter-language="html" class="EnlighterJSRAW">&lt;div class="entry-content single-content"></code></code> element, it highlights the article wrapping element. This is our content container.</p>



<p>Now the actual selector will be one of the class name preceded by a dot &#8220;.&#8221; and become <code>.entry-content</code></p>



<p>The selector must be as specific as possible so that it cannot be mistaken for another element. It doesn&#8217;t have to be a single class name, but it can be any type of valid CSS selector. It can also be an id like <code>#content-container</code>.</p>



<p>Here are some valid selector for this example:</p>



<ul class="wp-block-list">
<li>.entry-content</li>



<li>.entry-content-wrap .entry-content</li>



<li>.entry-content.single-content</li>
</ul>



<p>The selector must match the content container for every alike page.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1917" height="1957" src="https://wpjoli.com/wp-content/uploads/2026/04/image-12.png" alt="" class="wp-image-2901" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-12.png 1917w, https://wpjoli.com/wp-content/uploads/2026/04/image-12-294x300.png 294w, https://wpjoli.com/wp-content/uploads/2026/04/image-12-1003x1024.png 1003w, https://wpjoli.com/wp-content/uploads/2026/04/image-12-768x784.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-12-40x40.png 40w, https://wpjoli.com/wp-content/uploads/2026/04/image-12-1505x1536.png 1505w" sizes="auto, (max-width: 1917px) 100vw, 1917px" /></figure>



<p>After you&#8217;ve determined the content container selector, enter it in <strong>Content selector</strong> (under <em>General > Content container</em>) and save the settings.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="645" src="https://wpjoli.com/wp-content/uploads/2026/04/image-13-1024x645.png" alt="" class="wp-image-2902" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-13-1024x645.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-13-300x189.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-13-768x484.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-13-1536x967.png 1536w, https://wpjoli.com/wp-content/uploads/2026/04/image-13.png 1629w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/floating-toc/">Floating TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/floating-toc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sticky TOC</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 Apr 2026 04:43:26 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/</guid>

					<description><![CDATA[<p>The Sticky Table of Contents is a table of contents that is meant to be placed in a WordPress Sidebar Widget. Once the sticky feature is activated, it will remain in a fixed position within the sidebar as the page is scrolled. How to activate the Sticky Table of Contents ? 1. From the settings, &#8230; <a href="https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/">Continued</a></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/">Sticky TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The Sticky Table of Contents is a table of contents that is meant to be placed in a WordPress Sidebar Widget. Once the sticky feature is activated, it will remain in a fixed position within the sidebar as the page is scrolled.</p>



<h2 class="wp-block-heading">How to activate the Sticky Table of Contents ?</h2>



<p>1. From the settings, under <em>General > Sticky Table of Contents</em>, switch on the <strong>Activate Sticky TOC</strong> option.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1648" height="726" src="https://wpjoli.com/wp-content/uploads/2026/04/image-1.png" alt="" class="wp-image-2884" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-1.png 1648w, https://wpjoli.com/wp-content/uploads/2026/04/image-1-300x132.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-1-1024x451.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-1-768x338.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-1-1536x677.png 1536w" sizes="auto, (max-width: 1648px) 100vw, 1648px" /></figure>



<p>2. Enable widget support for the post types you will be using the Sticky TOC on and save the settings.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="522" src="https://wpjoli.com/wp-content/uploads/2026/04/image-4-1024x522.png" alt="" class="wp-image-2887" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-4-1024x522.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-4-300x153.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-4-768x392.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-4.png 1388w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>3. In the WordPress menu, go to <em>Appearance > Widgets</em> and add Joli Table of Contents to the sidebar of your choice (usually the main sidebar but the actual sidebar name will vary from theme to theme).</p>



<p>For simplicity, you can insert the Joli TOC Block in the sidebar but you can also use the Shortcode.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="651" src="https://wpjoli.com/wp-content/uploads/2026/04/image-2-1024x651.png" alt="" class="wp-image-2885" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-2-1024x651.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-2-300x191.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-2-768x488.png 768w, https://wpjoli.com/wp-content/uploads/2026/04/image-2-1536x976.png 1536w, https://wpjoli.com/wp-content/uploads/2026/04/image-2.png 1625w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once you have inserted the table of contents, just Save / Update your Sidebar.</p>



<p>If there are other elements in your sidebar, it is recommended to place the TOC as the last item of the sidebar.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1386" height="617" src="https://wpjoli.com/wp-content/uploads/2026/04/image-3.png" alt="" class="wp-image-2886" srcset="https://wpjoli.com/wp-content/uploads/2026/04/image-3.png 1386w, https://wpjoli.com/wp-content/uploads/2026/04/image-3-300x134.png 300w, https://wpjoli.com/wp-content/uploads/2026/04/image-3-1024x456.png 1024w, https://wpjoli.com/wp-content/uploads/2026/04/image-3-768x342.png 768w" sizes="auto, (max-width: 1386px) 100vw, 1386px" /></figure>



<h2 class="wp-block-heading">How to adjust the Sticky TOC ?</h2>



<p>If the sticky TOC looks too close to the upper edge of the viewport, increase the value of the <strong>Sticky TOC offset top</strong> option.</p>



<p>If your articles are very long, you can also enable the <strong>Auto-scroll to active heading</strong> option so that the TOC auto-scrolls and the active headings remain visible at all times.</p>



<p></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/">Sticky TOC</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/sticky-toc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Troubleshooting</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 06 Apr 2026 10:04:53 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/</guid>

					<description><![CDATA[<p>On this page, we have listed the most common issues and how to resolve them. The inline Table of Contents is not showing Options or not applying correctly The Floating TOC is not showing or is partially hidden To increase the z-index value of the Floating TOC, add this custom CSS under Styles > Custom &#8230; <a href="https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/">Continued</a></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/">Troubleshooting</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>On this page, we have listed the most common issues and how to resolve them.</p>



<h2 class="wp-block-heading">The inline Table of Contents is not showing</h2>



<ul class="wp-block-list">
<li>Check the <strong>Minimal headings count</strong> (under <em>General > Table of Contents</em>) option value. By default it is set to 3 and the TOC will not show if there are less than 3 headings on the page. Set to 0 to show always.</li>



<li>Make sure the <strong>Hide main table of contents</strong> (under <em>General > Table of Contents</em>) option is switched off.</li>
</ul>



<h2 class="wp-block-heading">Options or not applying correctly</h2>



<ul class="wp-block-list">
<li>If you are using the Block, open the block settings, and check for any setting override (marked with a red star <strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-red-600-color">*</mark></strong>)</li>



<li>If you are using the Shortcode, make sure you did not use a custom attribute that could override the Global settings.</li>



<li>If you are using Post type settings, make sure you are saving the relevant Post type settings (it will show next to the Save button which settings you are currently editing)</li>
</ul>



<h2 class="wp-block-heading">The Floating TOC is not showing or is partially hidden</h2>



<ul class="wp-block-list">
<li>If your site has a fixed header, the floating TOC could be hidden behind it. Adjust the <strong>Floating vertical offset</strong> to push the floating TOC down.</li>



<li>Try activating the <strong>Compatibility mode</strong> (under <em>Floating TOC > Floating Table of contents</em>)</li>



<li>Increase the z-index value of the floating TOC by adding (see how below)</li>
</ul>



<p>To increase the z-index value of the Floating TOC, add this custom CSS under <em>Styles > Custom CSS</em> and increase the value if needed.</p>



<pre class="wp-block-code"><code>:root{
    --jtoc-floating-toc-z-index: 10000;
}
</code></pre>



<h2 class="wp-block-heading">One or many colors from the palette are not applying</h2>



<ul class="wp-block-list">
<li>Check for any overrides under the <em>Styles </em>tab. For example, you set the <strong>Background </strong>color in the palette to <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-red-600-color">Red </mark>(color #1) and you expect the background color to be red. But at the same time, you also set the Table of contents <strong>Background color</strong> (under <em>Styles > Table of contents</em>) to <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-blue-900-color">Blue</mark>. <mark style="background-color:oklch(90.5% .182 98.111)" class="has-inline-color">The value from the Styles tab has a higher priority</mark> and overrides the palette. Unset this color or change it accordingly.</li>
</ul>



<h2 class="wp-block-heading">Some headings are missing </h2>



<ul class="wp-block-list">
<li>Make sure your heading is covered by the selected Headings depth (under <em>Headings > Headings processing</em>). If your missing is of type H4, you need to have the H4 type checked (in blue)</li>



<li>If using the Block, check for any override in the Block settings.</li>



<li>Make sure your article is correctly structured (from H2 to H6). Basically the first heading should be of type H2.</li>
</ul>



<h2 class="wp-block-heading">The heading structure looks awkward</h2>



<ul class="wp-block-list">
<li>Make sure your article is correctly structured (from H2 to H6) and does not skip levels. For example, if a heading is of type H2, its direct child should be of type H3 (not H4 or H5).</li>
</ul>



<h2 class="wp-block-heading">The table of contents shows unwanted bullets or spacing</h2>



<p>Your theme may override the <code>ol </code>/ <code>li </code>list CSS styles generated by the TOC (despite being highly specific by default).</p>



<p>To get around this, you may need to add custom CSS rules (under <em>Styles > Custom CSS</em>) with either a higher CSS specificity or by leveraging the <code>!important</code> tag.</p>



<p></p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/">Troubleshooting</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/troubleshooting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>joli_toc_title_icon</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_title_icon/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_title_icon/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Thu, 27 Feb 2025 10:20:08 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/?post_type=docs&#038;p=2549</guid>

					<description><![CDATA[<p>Since v2.7.0 Use a custom icon for the TOC title icon. Adjust the --jtoc-title-icon-size CSS Variable to set a custom icon size.</p>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_title_icon/">joli_toc_title_icon</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><em>Since v2.7.0</em></p>



<p>Use a custom icon for the TOC title icon.</p>



<p>Adjust the <code>--jtoc-title-icon-size</code> CSS Variable to set a custom icon size.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">add_filter('joli_toc_title_icon', 'my_custom_title_icon', 10, 1);

function my_custom_title_icon( $icon ){ 
    return &lt;&lt;&lt;HTML
        &lt;style>
            .--has-icon svg {--jtoc-title-icon-size: 24px;}
        &lt;/style>
        &lt;svg viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000">&lt;g id="SVGRepo_bgCarrier" stroke-width="0">&lt;/g>&lt;g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round">&lt;/g>&lt;g id="SVGRepo_iconCarrier">&lt;path d="M91.89 238.457c-29.899 0-54.133 24.239-54.133 54.134 0 29.899 24.234 54.137 54.133 54.137s54.138-24.238 54.138-54.137c0-29.896-24.239-54.134-54.138-54.134z" fill="#E5594F">&lt;/path>&lt;path d="M91.89 462.463c-29.899 0-54.133 24.239-54.133 54.139 0 29.895 24.234 54.133 54.133 54.133s54.138-24.238 54.138-54.133c0-29.9-24.239-54.139-54.138-54.139z" fill="#C45FA0">&lt;/path>&lt;path d="M91.89 686.475c-29.899 0-54.133 24.237-54.133 54.133 0 29.899 24.234 54.138 54.133 54.138s54.138-24.238 54.138-54.138c0-29.896-24.239-54.133-54.138-54.133z" fill="#F39A2B">&lt;/path>&lt;path d="M941.26 234.723H328.964c-28.867 0-52.263 23.4-52.263 52.268v3.734c0 28.868 23.396 52.269 52.263 52.269H941.26c28.869 0 52.269-23.401 52.269-52.269v-3.734c-0.001-28.868-23.4-52.268-52.269-52.268z" fill="#F0D043">&lt;/path>&lt;path d="M941.26 682.74H328.964c-28.867 0-52.263 23.399-52.263 52.268v3.734c0 28.863 23.396 52.269 52.263 52.269H941.26c28.869 0 52.269-23.405 52.269-52.269v-3.734c-0.001-28.868-23.4-52.268-52.269-52.268z" fill="#4A5699">&lt;/path>&lt;path d="M709.781 458.729H328.964c-28.867 0-52.263 23.4-52.263 52.269v3.734c0 28.873 23.396 52.269 52.263 52.269h380.817c28.866 0 52.271-23.396 52.271-52.269v-3.734c0.001-28.869-23.405-52.269-52.271-52.269z" fill="#E5594F">&lt;/path>&lt;/g>&lt;/svg>
    HTML;
}</pre>
<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_title_icon/">joli_toc_title_icon</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/filters/joli_toc_title_icon/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Javascript events</title>
		<link>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/</link>
					<comments>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/#respond</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 13 May 2024 08:35:14 +0000</pubDate>
				<guid isPermaLink="false">https://wpjoli.com/?post_type=docs&#038;p=2495</guid>

					<description><![CDATA[<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/">Javascript events</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The post <a href="https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/">Javascript events</a> appeared first on <a href="https://wpjoli.com">wpjoli</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
