Page 1 of 1

Question regarding slug

Posted: Thu Jul 22, 2021 8:41 am
by tubeman
Hi,
When we limit slug by characters we could get incomplete words in slug for example:

Hot girl playing with a dildo and having fun on her webcam with her boyfriend

Complete slug:
hot-girl-playing-with-a-dildo-and-having-fun-on-her-webcam-with-her-boyfriend

Limit to 25 characters for example:
hot-girl-playing-with-a-dild

So you see the slug gets incomplete. Is there anyway to limit the slug by number of words? If I specify 6 words I would get:
hot-girl-playing-with-a-dildo

Let me know if this is possible. Thanks.

Re: Question regarding slug

Posted: Thu Jul 22, 2021 5:36 pm
by admin
Hi, yes, I can add that

just a number of words?

Re: Question regarding slug

Posted: Thu Jul 22, 2021 7:50 pm
by tubeman
Hi, Yes just like you have limit by number of characters just add option to limit by number of words. That way we won't have incomplete words in slug like we get now. Thanks.

Re: Question regarding slug

Posted: Mon Jul 26, 2021 2:30 pm
by admin
I've checked the function and it doesn't cut words

with "Limit to 25 characters for example:"

you'll get
hot-girl-playing-with-a-dildo

are you sure it works the way you describe it?