Add post date to post slug.

Post Reply
s0u
Jr. Bludit
Posts: 8
Joined: Fri Oct 26, 2018 10:56 am

Hello Guys,
The slug, takes the post title as value. How can i add post date to the post slug, please?
Thanks.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Not as an option. But you can modify the script.

If it is a feature request please add it at GitHub:

https://github.com/bludit/bludit/issues
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
s0u
Jr. Bludit
Posts: 8
Joined: Fri Oct 26, 2018 10:56 am

Hello Edi.
I been struggling between files for hours. What file and script should i modify please?
Thanks.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You have to modify the section "Generate slug when the user type the title" of the scripts in the files new-content.php and edit-content.php (in the directory /bl-kernel/admin/views).
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
s0u
Jr. Bludit
Posts: 8
Joined: Fri Oct 26, 2018 10:56 am

Thanks Edi 8-)
Post Reply