Can’t exclude Sticky TOC from specific pages
-
Hi. I’m using the sticky TOC for “Pages”. In the “exclude options” I set it like this: “/tarifrechner/, /,/kontakt/”
But it is still shown on all pages.
-
Hi,
Try using link below and let us know if still issue persists.
https://tocwp.com/docs/knowledge-base/how-to-exclude-toc-on-the-same-url-path/
Thanks.
HI. Thanks for your reply. Unfortunately that doesn’t work.
Here is my setting export:
{ "fragment_prefix": "i", "position": "bottom", "start": "4", "heading_text": "Inhaltsverzeichnis", "heading_text_tag": "p", "show_hierarchy": "1", "counter": "none", "counter-position": "inside", "smooth_scroll": "1", "visibility": "1", "toc_loading": "js", "visibility_hide_by_default": "1", "width": "auto", "width_custom": "275", "width_custom_units": "px", "wrapping": "left", "title_font_size": "100", "title_font_size_units": "%", "title_font_weight": "500", "font_size": "100", "child_font_size": "100", "font_size_units": "%", "child_font_size_units": "%", "theme": "grey", "custom_background_colour": "#fff", "custom_border_colour": "#ddd", "custom_title_colour": "#999", "custom_link_colour": "#428bca", "custom_link_hover_colour": "#2a6496", "custom_link_visited_colour": "#428bca", "lowercase": "1", "heading_levels": { "2": "2", "3": "3", "4": "4", "5": "5", "6": "6" }, "css_container_class": "", "heading-text-direction": "ltr", "sticky-toggle-position": "right", "sticky-toggle-alignment": "middle", "custom_para_number": "1", "custom_img_number": "1", "headings-padding-top_units": "px", "headings-padding-bottom_units": "px", "headings-padding-left_units": "px", "headings-padding-right_units": "px", "font_weight": "500", "load_js_in": "footer", "sticky_device_target": "desktop", "sticky-toggle-width": "auto", "sticky-toggle-width-custom": "350", "sticky-toggle-width-custom_units": "px", "sticky-toggle-height": "auto", "sticky-toggle-height-custom": "800", "sticky-toggle-height-custom_units": "px", "sticky-toggle-open-button-text": "Inhaltsverzeichnis", "sticky-toggle-close-on-desktop": "1", "show_heading_text": "1", "sticky-post-types": { "page": "page" }, "enabled_post_types": { "page": "page" }, "smooth_scroll_offset": "50", "sticky-toggle": "1", "restrict_url_text": "tarifrechner", "restrict_path": "/tarifrechner/", "headings-padding-top": "0", "headings-padding-bottom": "0", "headings-padding-left": "0", "headings-padding-right": "0", "device_target": "", "exclude": "", "mobile_smooth_scroll_offset": "0", "widget_affix_selector": "", "blockqoute_checkbox": "0", "visibility_on_header_text": "0", "avoid_anch_jump": "0", "toc-run-on-amp-pages": "0", "toc_wrapping": "0", "headings-padding": "0", "hyphenate": "0", "include_homepage": "0", "include_category": "0", "include_tag": "0", "include_product_category": "0", "include_custom_tax": "0", "exclude_css": "0", "inline_css": "0", "schema_sitenav_checkbox": "0", "all_fragment_prefix": "0", "add_request_uri": "0", "remove_special_chars_from_title": "0", "show_title_in_toc": "0", "disable_in_restapi": "0", "generate_toc_link_ids": "0", "prsrv_line_brk": "0", "ajax_load_more": "0", "sticky_include_homepage": "0", "sticky_include_category": "0", "sticky_include_tag": "0", "sticky_include_product_category": "0", "sticky_include_custom_tax": "0", "sticky-toggle-open": "0", "sticky-toggle-close-on-mobile": "0", "mediavine-create": "0", "goodlayers-core": "0", "molongui-authorship": "0" }
I put everything under restrict_path and restrict_url_text. But nothing works for me. The Sticky TOC is still on this page. (No Caching, no Shortcode)
Hi, thanks for sharing your concern. We have raised a GitHub ticket in our repository and this concern will be addressed in the upcoming update.
You can track the progress here: https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/688
Hi, we’ve released a new update, version 2.0.64, where we’ve addressed your concern. Please update the plugin once, clear the cache, and give it a try. Let us know if you have any other concerns.
- The topic ‘Can’t exclude Sticky TOC from specific pages’ is closed to new replies.