get_the_title() with no spaces
-
Hello,
I am trying to use a page title as a class. I am currently trying to use get_the_title() but it displays spaces between words. Any idea how I can display it without the spaces, or if there is a better way to do it?
James
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_the_title() with no spaces’ is closed to new replies.