I recently had a question from another blogger about the page citation that I display on every post and some pages. I don’t use a plugin to add it to the page—I wrote the PHP myself and included in my templates. But it got me thinking about how it could be useful as a plugin for other genealogy bloggers who self-host their WordPress blogs.
So, I spent the morning putting together a simple plugin. The plugin is currently configured to appear only on posts (only on the individual post page, not the main index page), not pages, and does not include any options for customization. For an example of what it displays, please see the end of this post (gray box not included).
So, how does it put the citation together? The first name and last name comes from those fields in the post author’s user profile. The page title and site name come from post title and blog name and description. The modified date is generated from the last time the page was saved and the accessed date is generated from the current date.
I am looking for testers to make sure that it will work and who can provide feedback and suggestions to make it work better. If you’d like to participate, please get in touch.
Cite This Page:
Kris Hocker, “Cite This Page Plugin,” /genealogy the genealogy & family research site of Kris Hocker, modified 29 Dec 2012 (http://www.krishocker.com/cite-this-post-plugin/ : accessed 19 Apr 2014).
Content copyright © Kris Hocker. Please do not copy without prior permission, attribution, and link back to this page.