I'd really love to see something like a field--field_paragraph_field--article.tpl.php
file implemented. This would let me remove wrapper markup from all fields in any paragraph that is rendered through field_paragraph_field
on the article
Node content type.
Right now, I have to create field--paragraphs-entity-name.tpl.php
template for every individual Paragraphs Bundle. I would stil like that to override my suggestion, but it would save a lot of files to be able to do this.
I can probably implement it in my theme in the meantime. I guess I have to add the theme hook suggestion to THEMENAME_preprocess_field()
.
Comments
Comment #1
jeroen.b CreditAttribution: jeroen.b commentedI think this is something frontend developers should implement in their theme.
It's quite easy to add theme suggestions. Maybe you can add it on the Paragraphs documentation?