Add post date to post slug.

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

Sun Nov 04, 2018 12:12 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: 1257
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Sun Nov 04, 2018 3:40 pm

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
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
s0u
Jr. Bludit
Posts: 4
Joined: Fri Oct 26, 2018 10:56 am

Sun Nov 04, 2018 7:43 pm

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

Mon Nov 05, 2018 12:18 am

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).
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
s0u
Jr. Bludit
Posts: 4
Joined: Fri Oct 26, 2018 10:56 am

Mon Nov 05, 2018 12:45 am

Thanks Edi 8-)
Post Reply