3

I'm having issues with hyphens in my slugs from a tutorial I'm trying to go through... http://wp.tutsplus.com/tutorials/theme-development/create-a-quicksand-portfolio-with-wordpress/ and I'm having a problem when my client uses hyphens in the category. The category is blank when the client puts in a hyphen for some reason. Otherwise everything else is working perfectly!

Has anyone else ran into this problem? I'm thinking its a js problem but am uncertain as I am not receiving any console errors at all. So I'm not for sure how to debug.

bryanlewis
  • 577
  • 3
  • 10
  • 27
  • Actually , now that I think of it (was a long time ago ) I think it was `rawurldecode()` and if my memory is not wrong, it was applied on the ID ( or class ) of the div. but you can try any of the related functions like `urldecode()` `urlencode()`, `htmlenteties()` etc and try to apply it to any produced link one by one until you find the culprit. again, not sure the problem is the same , it´s just rings a bell.. – Obmerk Kronen May 13 '13 at 02:51
  • if you can't get that to work, and need that type of filtering functionality, see another great tutorial that does the same thing here: http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/ – carrabino May 14 '13 at 12:08