WordPress: warn the reader that the post is old

Often (writing software and technology) che l’articolo che oggi è attuale, tomorrow has already passed. There is at least un plugin per WordPress to notify the reader that the post you're reading was written long ago, che è una soluzione perfetta e pronta all’uso, groped but I also wanted to change the code of my theme to add this simple function automatically.

I state that the following steps create a box (in this case yellow) prima del titolo dell’articolo. (more…)


WordPress: alert the reader to an article dated

Today I illustrate a small process, which I highly recommend to those bloggers linked to the development of a certain topic, to segnalare automaticamente al lettore che l’articolo che sta leggendo è more old man a time of our choosing, and possibly belonging to a certain category. I am thinking especially to my blog, in cui un’informazione tecnica può andare bene oggi, but it may already be obsolete with the next release of a software, no longer supported by the operating system or ingetrata.

The result will be completely customizable: appear a block (DIV) in testa all’articolo, with a class of our choice. We will then give us a style to the DIV. (more…)