• Resolved basiltvdlc

    (@basiltvdlc)


    Hey,

    I got a problem with one of my sites.

    It use a lot of taxonomies and terms

    But, when i add an attribute in a tag in the taxonomy’s description text, it will be removed after safe.

    Example : will become

    I found solutions about posts and pages but not working with taxonomies.

    Anyone knows how to fix it please ?

    (sorry for bad english)
    Basil

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    What attributes are allowed where is managed with wp_kses_allowed_html(). There’s a filter hook by the same name where you can alter what’s allowed for various tags. var_dump the global $allowedtags to get an idea of the array’s structure so you’ll know how to effectively modify it.

    Thread Starter basiltvdlc

    (@basiltvdlc)

    Thanks a lot ! It works now !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Taxonomy description remove attributes’ is closed to new replies.