For a while now I've wanted to have a new page module that automatically adds the date before the name of the new page, so that you can have unique pages names without resorting to auto-numbering, which means better SEO. I finally attempted to create this myself and you can see the result for yourself - prepare to cringe at my very basic javascript skills. Yet it works :)
A couple of things I need help with though:
- it is outputting the date for the month as 11, not 12, and I don't know why?
- I tried to get it to open in the current page, but to no avail. Any suggestions?
Also, feel free to point out any fundamental flaws in my code, or any improvements you might make.
You can catch the code right here…
Cheers,
Bryce