Open accordion with anchor link without Cornerstone

Hello! Was reviewing this thread and wanted to know how I can open an accordion with an anchor outside of Cornerstone.

I have updated the global js and have used the following code x_accordion_toggle id="link" which takes me to the accordion but it doesn’t open. Is there another code I should be referencing to get the toggle to open?

Appreciate your help, thank you!

Hi @ccwadsworth,

You don’t have to add any custom Javascript codes.

That’s possible with the v2 accordion. Please add an accordion item then navigate the Customize tab and add the Toggle Hash:

Hope it helps :slight_smile:

Thanks Thai, but I’m not using Cornerstone and wanted to know what the short code was for the toggle hash…

Hi @ccwadsworth,

That is technically possible. However, that would fall beyond the scope of our support since it would require custom development.

Thank you for understanding.

Oh, that’s too bad. Was hoping to solve the issue with a simple shortcode.
Thanks for the response.

You’re welcome! :slight_smile:

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