清理 html 類

$post_class = sanitize_html_class( $post->post_title );
echo '<div class="' . $post_class . '">';