RealGuns.com

Sign Up | Reset your password
← Back to Real Guns
function exclude_category_from_search($query) { if ($query->is_search) { $query->set('cat', '-11,-251,-12,-17,-25,-24,-23'); } return $query; } add_filter('pre_get_posts','exclude_category_from_search');