[wp-hackers] Dispay none for different categories

Frank Bueltge frank at bueltge.de
Wed Mar 25 13:18:12 GMT 2009


Hello Mike,

thanks for the idea with the filter, works fine!

Example:
add_filter('list_terms_exclusions','my_list_terms_exclusions');
   function my_list_terms_exclusions($args) {
      $where = " AND t.slug  NOT IN ('2005','2006','2007','2008')";
          //$where = " AND t.slug not like ('eid-%-%-2008')";
         //$where = " ";
      return $where;
   }


More information about the wp-hackers mailing list