Use Table of Contents shortcode to link to anchors in page

If I use the Cornerstone TOC shortcode, how can I link a [toc_item] to an anchor on the page? I have the anchor declared as “myAnchor” and the page parameter of the [toc_item] linking to it like this: [toc_item title=“foo” page="#myAnchor"].

Is this not possible? I keep seeing people mentioning adding comments but that seems odd since you can’t explicitly call which anchor to go to.

Hi @rfender,

I’m sorry that is not possible.

The page is for the page number, kindly refer to the link below.

http://demo.theme.co/integrity-1/shortcodes/table-of-contents/

You can use html standard anchor link instead

https://www.rapidtables.com/web/html/link/html-anchor-link.html

Thanks

Thanks @paul.r for the response.

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.