forse ci sono quasi!
questo codice:
Codice PHP:
<div class="cubo_giorno" style="background: url(<? echo get_settings('home')."/blog/wp-content/themes/me-or-not/images/";?>data_giorno.png) no-repeat 0 -<?php $posizione = ((the_time('j') - 1) * 64); echo $posizione; ?>px;"> </div>
mi restituisce questo html:
Codice PHP:
<div class="cubo_giorno" style="background: url([url]http://www.meornot.net/blog/wp-content/themes/me-or-not/images/data_giorno.png[/url]) no-repeat 0 -27-64px;"> </div>
Peccato che non sembra eseguire correttamente il calcolo...
perchè !?