Author / Giovambattista Fazioli

In WordPress, you can organise the category with a relationship parent/child. This means that a single post belongs to multiple categories. Let’s see how to get the parent category of a post:

Read More

Hi there, have a look to this beautiful 3D interactive animation makes with Papervision. Click on the image below to open the animation. Get code here

Read More

Sometimes, you may wish to check a POST variable and when it is not set then get a default value. The first approach could be:

Read More

Administrator or subscriber? Let’s see a quick way to check it! Shorter Of course, you can check also the rest of WordPress roles, such as “subscriber” for example.

Read More

Let’s see how to convert a date from yyyy-mm-dd hh:mm:ss to yyyymmddhhmmss. This can be useful when you’ll use sort functions for example (such as asort()). Elegant: Obvious: Insane:

Read More

Have a look at the code below: Also, you can use this tip in: The double pipe is great, don’t you? However, you have to be careful, because this tip can be dangerous. See some example below:

Read More

“C’era una volta” un tempo in cui la parola Personal Computer non aveva significato. Era il tempo delle console, piccoli marchingegni che si collegavano alla TV, i precursori delle Playstation di oggi. E nelle riviste se ne vedevano davvero di tutti i colori: Intellivision, Atari, Philips, grandi macchine – per l’epoca – che garantivano divertimento […]

Read More