Add the option to include microdata

It would be amazing

Comments

carajito’s picture

The option to add attribute inside of html tags of the wrapper like

itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating">
Rating: 8.5

http://schema.org/

XmhO’s picture

I 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.

jcodina’s picture

Thanks XmhO, it works!

yannickoo’s picture

Hey guys, take a look at #1926938: Simple html wrapper :)

carajito’s picture

Perfect, I will test soon

yannickoo’s picture

Status: Active » Closed (duplicate)

Closed this issue because of #4.