Hi, firstly, this plugin is making my life nice. Thanks. :)
I've got a bunch of authors, each of whom is likely to submit documents with the same name (e.g. "Biography.doc"). The problem is that then I just get a bunch of permalinks that look like:
http://mysite.com/documents/biography-97.docwhich is kind of ugly and non-informative. I'd love to have be able to have them look like:
http://mysite.com/documents/username-biography.docI've been playing around with your "document_permalink" filter, but I'm having trouble making it work the way I want, and I thought you might be able to help.
Ideally, what I would want is for WordPress, when you first publish the document, to prepend the username to the $post->post_name (and then of course the file extension). But I'd like to be able to still manually modify it afterwards, so it's really just a matter of adding the username to the initial, automatically created permalink. Is that possible?
If that can't be done, I would be almost as happy with a situation where the permalink just has the username at the beginning of the permalink and that part is not editable.
Thanks in advance for any help with this.