HTML markup in attribute values
-
Because of a sync with a ERP system we have custom attributes (e.g. safety_regulations) with html markup and no other way to display them than in this custom attributes because of the ERP limitations. I am trying for hours and hours to the additional information tab display the markup as html output without success. <h2>, <br> etc are still shown as plain text in the frontend.
I think this has something to do with echo wp_kses_post( $product_attribute[‘value’] ) in product-attributes.php but removing wp_kses_post here and just echo $product_attribute[‘value’] makes no difference at all?
Is there another file that is used before this where kses is in use? Or is there a way to allow certain html markups in kses? I’ve tried hundreds of solutions on the web without look.
Thanks a lot!
The page I need help with: [log in to see the link]
- The topic ‘HTML markup in attribute values’ is closed to new replies.