Deprecated: Function create_function() is deprecated in D:\websites\cityofferndale.org\wp-content\themes\townpress\functions.php on line 212

Deprecated: Function create_function() is deprecated in D:\websites\cityofferndale.org\wp-content\themes\townpress\functions.php on line 261

Deprecated: Function create_function() is deprecated in D:\websites\cityofferndale.org\wp-content\themes\townpress\functions.php on line 263

It looks like April’s Fools wasn’t quite done with us yet – a spammer has sent out some very official looking emails from a City email account – if you receive one, please DO NOT open it. Thank you for your vigilance.

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