How to capitalize each word of %random_lanchor_text%?
Ovidius
in Need Help
I use %random_lanchor_text% in article titles and I want to capitalize each word. Is this possible?
Comments
and resulting URL sometimes is domain.com/How-To-teach-your-pet-How-To-Bark
selected lsi: teach your pet
I don't have a problem using this, I just wanted to let you know.
PHP Motion
[Article_Title]
type=text
allow html=0
must be filled=1
hint=capitalize each word.
replace=,; -
what do I have to put here to capitalize each word?
just this line:
I use "capitalize words=1" on the platforms listed above and all works fine.
%random_lanchor_text% - no change
%Random_Lanchor_Text% - capitalize each word for the macro
you can extend this for every macro.