Add HTML to descriptions?
I am wondering if there is a supported way to add some HTML markup to the descriptions of repeating fields via php. Something like this:
simple_fields_register_field_group('project_properties', array ( 'name' => 'Project Properties', 'description' => '<a href="http://maps.google.com" >Search</a> for locations to use below.', 'repeatable' => 0, 'fields' => array( array( 'slug' => "project_location", 'name' => 'Project Location', 'description' => 'Example: "Topeka, KS"', 'type' => 'text' ) ) ) )
As of now, the
<a>is brought into the description as text and not as markup. Is there a supported way to change that?
- The topic ‘Add HTML to descriptions?’ is closed to new replies.