Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add the option to include microdata
It would be amazing
Add the option to include microdata
It would be amazing
Comments
Comment #1
carajito CreditAttribution: carajito commentedThe option to add attribute inside of html tags of the wrapper like
Rating: 8.5
http://schema.org/
Comment #2
XmhO CreditAttribution: XmhO commentedI just wrote a little module for my needs in order to add microdata to field group. It defines a new field group type called "Div (extra)" and that permits you to add extra attributes in "inline" mode.
https://github.com/MeuhMeuh/field_group_extra
I don't think It is a great definitive solution but It was a good workaround for me.
Hope It will help you.
Edit : please note that maybe you could try a solution with altering actual field group types, but I didn't came up to any solution with the hooks and tools that provided field group.
Comment #3
jcodina CreditAttribution: jcodina commentedThanks XmhO, it works!
Comment #4
yannickooHey guys, take a look at #1926938: Simple html wrapper :)
Comment #5
carajito CreditAttribution: carajito commentedPerfect, I will test soon
Comment #6
yannickooClosed this issue because of #4.