• How can I replace the b (bold) and i (italic) elements with em or strong?
    I need for WCAG 2.0 (Level AA)) check

    thanks!

    • This topic was modified 3 years, 10 months ago by ellounta.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    You need PHP knowledge for this.

    we have filter for html elements
    $html = apply_filters( 'berocket_apl_show_label_on_product_html', $html, $br_label, $product );

    There you need to change template-span-before, template-i, template-i-before, template-i-after.

    Regards,
    Dima

    Thread Starter ellounta

    (@ellounta)

    Hi,
    were is this file to make the changes?
    Or can I put code on function.php?

    Thanks

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    You need to use berocket_apl_show_label_on_product_html hook to replace elements that you need.
    Yes, it can be added in function.php file.

    Regards,
    Oleg

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to replace the b (bold) and i (italic) elements’ is closed to new replies.