Accordion Toggle ID No Longer Available?

I’m trying to link to an accordion item to open it. Got the button to work using the docs article on Toggleable elements. However there’s only one thinly described example of using these parameters in JS to achieve things.

Older forum topics tell people to simply set a toggle hash, then you can link to accordion items no problem. But it looks like this doesn’t exist anymore?

Per this thread, V2 elements had a Toggle Hash. Open accordion with anchor link without Cornerstone

So am I going to need to figure out the current JS way of linking to an accordion using this toggle data example, or am I missing something?

Running 6.2.1 on WP 6.2. (BTW, great work on that 6.2 hot fix. Truly a lifesaver.)

I checked and modal and off-canvas both have a toggle hash option. Tabs and accordions do not.

Thank you!

Yes, I’m looking to link to an open accordion on a page too, and can’t find the toggle hash setting?

I will wait to update to 6.2.1 until this is resolved. I use that feature all the time.

That control will be back in the Monday release. Thanks for bringing this to us. Looks like looper support inadvertently removed that. Your site will still work the same as if it were there btw, you just won’t have a control for it till Monday.

3 Likes

Appreciate the quick response! Will confirm it’s all good Monday. :slight_smile:

1 Like

Hey guys, the tab’s toggle ID is still missing in 6.2.1 - it’s also broken a link on two of my sites :slight_smile:

Hello @mjshelley,

As what @Charlie has mentioned, a patch release will be rolling out on Monday.

Thanks.

1 Like

Ahh thanks Rue, I missed that one!

Hi @mjshelley,

You are most welcome.

Hey @ruenel

I’ve updated to 6.2.2 this morning. The Toggle Hash is still missing for Tabs but is now present for Accordion.

Could report back to the developers.

Thanks

Hi @mjshelley,

I have checked and found the same. I will report that to our development team.

Thanks

1 Like

For tabs toggle hash that’ll be back in the next release.

1 Like

Confirming that the accordion toggle hash is back and it works. I’m still having some button misbehavior (it behaves as if it’s being moused over when it becomes visible on the page), but I did a style work around (removed interaction styles).

Hey @glindacreative,

Thanks for the confirmation.

Cheers.

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