I am building a page template using several flexible content pieces. I need to add flexible content that is just a chunk of rendered html. The chunk of HTML would be a call to action button with predefined URL. It’s the same everywhere we put it.
I would enter the code that I want to have show up in the front end. It might look like this:
<a href="http://mylink.ca" class="mybuttonclass">Click to Apply</a>
The key piece to this is when the user is building the page, they would not have any fields to enter information, they would simply add the element, drag it around if they want in the flexible content area, and it would show up where they want it.
I can do this simply with a text field, and wrap the field in the button html, but the user would have to enter something in the text field for it to work.