Embedding Hybrid Hooks in Code
The Hybrid Hooks PlugIn is great for quickly testing something but once it is working then it is secure from accidental editing if it is transferred to functions.php. I added a <div class=”halo”></div> “before_content” to provide the halo around post elements. Once this was stable and signed off, I transferred it into functions.php very simply: […] [more…]
Egyptological Hieroglyphs Version 0.6
The changes in version 0.6 were considerable with support of shading added as well support for cadrat groups, although this remains somewhat primitive. The plugin now includes an initial version of the User Guide as well. I also changed the HTML markup for cartouches so the closure is now much better. There’s still a 1px […] [more…]
Rotor Version 1.1
Rotating and flipping images is computationally heavy and I didn’t want anybody deep-linking into our rotated images. To prevent that I have adjusted the code of the .php which serves the rotated images to add an extra 45 degree rotation if a rotated image is deep-linked. I could block display entirely but until I am […] [more…]
Versioning – Release Notes
Commencing with version 0.5 of the Egyptological Hieroglyphs plugin code this series of notes has been established to provide version release notes. Version 0.5 includes the following substantive functionality: Separators: -!*/ and spaces Rotations: r0 to r3 plus t1 to t3 and /r+ve Output types hiero (default), color, html, raw, help and version Scaling – […] [more…]
Building a Hieroglyph Parser – Intro
Somehow online Egyptology sites manage without hieroglyphs, or struggle to laboriously add them by hand. It is a labour too as most alternatives mean that each glyph has to be uploaded as a separate image and then laid out manually. Even then those who leave comments cannot add hieroglyphs and, in a Web 2.0 world, […] [more…]
WordPress and Footnotes
There’s a little known WordPress function which can strip the links out of content and move them to the bottom of an article as footnotes. Just what we need for the magazine! Footnotes [more…]
Create an RSS Shortcode
Although I had two small self-hosted WordPress blogs before Egyptological, it’s the first set of sites I have built properly. One thing I have learned is the power of shortcodes. I like the ability to embed functionality into pages rather than use widgets. One I created, and which is used extensively on the Portal is […] [more…]
Will the WordPress plugins you add be supported?
One of the great pluses of WordPress is that there are so many plugins available to add those nifty extra bits of functionality which aren’t in the core but which make your site special – or just allow it to meet your minimum requirements. Most of those plugins are free which is another big plus […] [more…]
Adding Co-Authors
One of the requirements for a magazine displaying academic and near-academic papers is the ability to cope with co-authors. As standard, WordPress only supports a single author and that author has to be set up as a user. Now it’s possible to make then only a subscriber, but I still dislike the equivalence between author […] [more…]
Google XML Sitemaps PlugIn
The Google XML Sitemaps PlugIn was the first added to the site. It builds a site map in a form easily read by search engine spiders. Every site needs readers and that means at least some effort needs to go into improving the visibility of the site with search engines. The Google Sitemaps PlugIn does […] [more…]