You all must know that the other day there was some constructive critisism of my lolcats plugin. It was a good thing that happened because i had the opportunity to see new blogs and, most importantly, meet new people. In the author’s post, Mr. Mike Nichols had more than his say, he had a better suggestion for me. I already said i wanted to start simple but i couldn’t find anything that hasn’t been done yet.
So, Mr. Mike said, that a footnotes plugin is something that I could code and would be usefull. There are already a couple of plugins doing just that but he was not all that satisfied, so, we teamed up together. He sent me some suggestions and ideas on how and what to implement and, I coded. The outcome is a very very simple plugin. No options page is coded since, for one, it is a very simple thing that does not need it and, also, i am not that fluent with option pages on WordPress plugins.
But, what are those footnotes? I am sure that most of you must have read, one time or another, a scientific paper. You must have seen that, at the bottom of the document, there is a sometimes pretty big list with sources containing more info on the paper or sources that the author used to prepare it. Those are numbered and the numbers correspond to an anchor in the text itself. This is what the plugin does. I won’t get into more detail since the plugin’s page says it all (you can download it from there too).
If you use it and find any bugs, have any suggestions or anything at all please leave a comment and i’ll definitely look at it and get in touch with you!
So, what do you think about the plugin and about my work in general?
That was fast! I’m so glad you and Mike worked together to create this plugin. I haven’t tested it as I don’t have a need for footnotes but I can’t wait to hear what Mike has to say about it.
I told you i was keen on doing some work 😉 My last contact with him cleared a few bugs and stuff and i think it is going to suit his needs now. I am waiting on a new mail but i thought that since it seems functional i should make a first release and if anything is found and changed i’ll just update. I am really glad i worked with him too!
Cool work man. I will test this offline and let you know if there is any problem.
Nice plugin! What about referencing the same note more than once?
@dedo: Well this is something that can be implemented although it was not on the first plan. Do you need to do that in general?
It could make sense to add a feature like this:
First paragraph{{1}}.
Second paragraph{{2}}.
Third paragraph{{1}}.
[[1]]First note.[[1]]
[[2]]Second note.[[2]]
The note on the third paragraph should link to the already existing first note.
YAfootnote works OK but there is one problem I have using WordPress 2.8 – If the footnote is anything but a simple unformatted text, it is left in the text of the message and not hidden. The footnote appears as does the link at the footnote number.
If the foot note has paragraphs, is a list, etc. the footnote is not hidden in the text.
I already had 2.8 working before I tried YAfootnote, so I don’t know if it is the version of WordPress
Regards,
Larry
@Larry: I have released an update v1.1 that includes this fix. It was not because of the WP version but of the design of the plugin. Please check it out and let me know if there are any problems. Thanks for reporting back to me!