Turning the_title into a css class
-
I need to turn “About us” into “aboutus” so I went ahead and tried what many have posted here:
trim(wp_title(""));
What definitely doesn’t work. Next I tried:
print trim(strtolower(the_title_attribute('echo=0'))));
And that still doesn’t work. How can I achieve this?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Turning the_title into a css class’ is closed to new replies.