Forum

Thread tagged as: Question

Link element with special attributes

I have a link that requires a special attribute. How can I set up a link like this?

<p>text: <a href="#" class="link" data-toggle="modal">link-name</a></p>

Thanks a lot!

Martin Stettler

Martin Stettler 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

You would need to make a template that includes the text and the link as separate elements if you need to be sure the attributes are added.

https://docs.grabaperch.com/video/v/creating-a-perch-template/

Of course, starting be familiar with Perch. All fine, thanks!