Forum
define separator in slug
Is there a way to automatically define the separator in a slug? I don't want a dash between the words because I want to use it as a variable in a javascript function.
Is there a way to automatically define the separator in a slug? I don't want a dash between the words because I want to use it as a variable in a javascript function.
No, it's always a dash. You should be safe to replace the dash in your JavaScript before using it.