• Resolved jrothra

    (@jrothra)


    I like the plugin and the Table of Contents (TOC) feature. I did set up a global setting for it since I want the TOC displayed on all my posts. However, when configuring the global settings, it didn’t give me the option to exclude all my WooCommerce pages (especially the individual product pages).

    Because of the way WooCommerce products work (I have a custom product page template built using Elementor Pro), I can’t just edit the product with Elementor and there is no TOC editing option in the WordPress backend (where I edit the product info).

    How do exclude the TOC from product pages but keep it on all other posts (i.e., blog posts)?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Abid Hasan

    (@abidhasan112)

    Hi there,

    Hope you’re doing good.
    Currently, we don’t have a feature to exclude the TOC as per Custom Post Type (Product) actually.

    However, You can add this CSS in your stylesheet to hide the TOC from Woocommerce pages:

    .woocommerce #eael-toc {
        display: none;
    }

    Let me know how it goes.
    Thanks!

    Thread Starter jrothra

    (@jrothra)

    @abidhasan112

    I’m doing well. I’m sorry to hear about that feature not currently being included, but the CSS you recommended worked perfectly. ??

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude Table of Contents from all WooCommerce Store Pages’ is closed to new replies.