• Resolved almador

    (@almador)


    Hi! Thanks for your great plugin!

    I need to add line break in subtitle with <br> HTML tag, but it seem that subtitle field only supports outer HTML tags. Does it possible to use inner tags inside input field?

Viewing 1 replies (of 1 total)
  • Thread Starter almador

    (@almador)

    Found the solution

    function html_widget_title( $title ) {
    	$title = str_replace( '[br]', '<br/>', $title );
        return $title;
    }
    
    add_filter( 'the_title', 'html_widget_title' );
    • This reply was modified 2 years, 9 months ago by almador.
Viewing 1 replies (of 1 total)
  • The topic ‘How to add line break’ is closed to new replies.