Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes! This is needed, also a way to rename the labels when using a shortcode with an attribute. Please let me know if you get an answer to this question.

    You have a “Skip Headings” option for that. You’ll find it under the “Misc” tab.

    Copy & paste the heading text in the “By Text” field (that you want to exclude). And save your changes.

    Otherwise, there is no built-in option to exclude a certain heading from the table. But you can write your own CSS & JS to do that. parentNode may be helpful to figure out the container <li> that has a CSS class of “lwptoc_item.”

    If the above method is complicated for you, you can simply hide the link using only CSS. But this will leave the empty <li> that you will see after inspecting the element. For example- .lwptoc .lwptoc_item a#hide-it { display: none; }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Skip heading by CSS class’ is closed to new replies.