Support » Plugin: Easy Table of Contents » Sidebar cut off clarification

  • Resolved slipperx

    (@slipperx)


    Hi
    My sidebar is cutting off the toc. It generates using the H2 headings which is the only one ticked in the post page section and I have added
    Level [1.1]|Alternate Heading1
    Level [1.2]|Alternate Heading2
    Level [1.3]|Alternate Heading3
    Level [1.4]|Alternate Heading4

    as I saw in an earlier question.

    I assume the H2 headings are level 1 since H1 generates nothing and there is no indent? Any idea why the Alternates are not working?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter slipperx

    (@slipperx)

    I found the cause of the problem.

    Certain characters are not handled correctly – from an earlier thread I saw ‘&’ was causing a problem. Well ‘-‘ causes a problem too.

    So
    Waterless Urinals vs Standard Toilets – How Much Water Will I Save? | How Much Water Will I Save gets ignored

    How Much Water is Saved with a Waterless Urinal vs a Standard Toilet? | How much Water Will I Save? Replaces as expected.

    Also different xxx – xxx | yyy yyy – gets ignored but xxx-xxx | yyy yyy operates correctly

    So it seems the Plugin is infected with WordPress’ handling of non regular characters. Is there a workaround for that without rewriting the headings?

    Secondly I had mistaken Level [1.1] in the plugin notes as some sort of reference to the TOC numbering level – it’s not of course you actually have to copy in the words used for the titles the TOC is using to generate the table.

    • This reply was modified 4 years, 1 month ago by slipperx.
    Steven

    (@shazahm1hotmailcom)

    @slipperx

    RE: So it seems the Plugin is infected with WordPress’ handling of non regular characters. Is there a workaround for that without rewriting the headings?

    No, in fact it is the opposite… I have to attempt to mimic WP’s alterations of the text in order to perform the text matching. I believe this has been resolved in the latest RC.

    It may or may not work for you due to it being a complete rewrite in order to support the WP next page post tag. Here is the download link:

    https://downloads.wordpress.org/plugin/easy-table-of-contents.2.0-rc2.zip

    RE: I had mistaken Level [1.1] in the plugin notes as some sort of reference to the TOC numbering level – it’s not of course you actually have to copy in the words used for the titles the TOC is using to generate the table.

    Yes, I have noticed that a few users have copy/pasting the example given with a setting and expecting it to work with their post content. Honestly, I do not understand the confusion. From my point of view, it is obvious the feature will only work with your post content and not the example.

    What would have eliminated that confusion for you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar cut off clarification’ is closed to new replies.