Show post title words one by one [closed]

Create a function in functions.php to see if your title part is in an array of ‘banned’ words:

function check_word( $word )
{
    $blacklist = array('the', 'it', 'and', ...);

    if ( !in_array( $word, $blacklist ) && strlen( $word ) > 3 ) {
      return $word;
    }
    else {
      return '';
    }
}

Run your title words through it. It’ll only print a word if it’s not in the blacklist.

$title = get_the_title();
$parts = explode( ' ', $title );
echo check_word( $parts[0] );
echo check_word( $parts[1] );
echo check_word( $parts[2] );   

Tweak to taste.

error code: 523