Viewing 1 replies (of 1 total)
  • Thread Starter Piotr Sochalewski

    (@sproject)

    Solved. This code should be added in functions.php.

    add_filter( 'wp_title', 'custom_title', 1 );
    
      function custom_title( $title = '')
      {
        $title = strip_tags($title);
        return $title;
      }

Viewing 1 replies (of 1 total)
  • The topic ‘HTML in post title’ is closed to new replies.