Question regarding slug

Post Reply
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Question regarding slug

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question regarding slug

Post by admin »

Hi, yes, I can add that

just a number of words?
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question regarding slug

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question regarding slug

Post 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?
Don't forget to run script update
Post Reply