Page 1 of 1

Add post date to post slug.

Posted: Sun Nov 04, 2018 12:12 am
by s0u
Hello Guys,
The slug, takes the post title as value. How can i add post date to the post slug, please?
Thanks.

Re: Add post date to post slug.

Posted: Sun Nov 04, 2018 3:40 pm
by Edi
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

Re: Add post date to post slug.

Posted: Sun Nov 04, 2018 7:43 pm
by s0u
Hello Edi.
I been struggling between files for hours. What file and script should i modify please?
Thanks.

Re: Add post date to post slug.

Posted: Mon Nov 05, 2018 12:18 am
by Edi
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).

Re: Add post date to post slug.

Posted: Mon Nov 05, 2018 12:45 am
by s0u
Thanks Edi 8-)