[SOLVED] CSS Calendar icon not displaying correctly since upgrade to 3.6.7
WordPress V3.1.2
I was using the Calendar Icon from here when I was running ATA 3.6.4 http://forum.bytesforall.com/showthread.php?t=12627 I have upgraded to 3.6.7 and this has stopped working now that PHP is banned from within the theme options. OK I thought, but %date% is given as a post info item so I updated the bits in the kickers to the following Code:
<div class="date"> http://www.nottshockey.org.uk/news/ Looking at the source I can see this Code:
<div class="post-kicker"> |
I think I know what is happening, the code is replacing all occurrences of '%date...%' with the value in the first '%date...%'.
I think this can be fixed but it may take a couple days since I have some paying work to do. |
Thanks Juggledad - for what it's worth I think you are right.
I think I found the right bit in bfa_popstinfo.php starts at Ln183 in V3.5.7 Code:
// Date & Time |
Try this, change
HTML Code:
<div class="date"> HTML Code:
<div class="date"><div class="date-inside"><div class="date-month">%date('M')%</div><div class="date-day">%date('j')%</div><div class="date-year">%date('Y')%</div></div></div> |
Yay! works like a charm - the preg function do seem a little confusing! I guess the <return> character in the string throws them...
|
All times are GMT -6. The time now is 09:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.