Changed the get_slug function

Previous one not working
Merge branch 'master' of https://github.com/paulburgess/Underpants