Kyle Huebner, our Building Official, explains some of the history behind building codes and why they are important.

function exclude_from_search($query) { if ($query->is_search) { $query->set('post_type', 'post'); } return $query; } add_filter('pre_get_posts','exclude_from_search');