Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Intégrateur web

    (@vivienb)

    I use custom function so ??

    //allow html in widget title
    function lxb_change_widget_title($title)
    {
        //convert square brackets to angle brackets
        $title = str_replace('[', '<', $title);
        $title = str_replace(']', '>', $title);
    
        //strip tags other than the allowed set
        $title = strip_tags($title, '<a><blink><br><span>');
        return $title;
    }
    add_filter('widget_title', 'lxb_change_widget_title');
Viewing 1 replies (of 1 total)