How to put current date/time immediately under header image?
Using Atahualpa 3.4.1.
I haven't found other posts showing how to achieve this. Any pointers? Thanks! |
you could do something like this. In ATO->Style & edit HEADER AREA->Configure Header Area add some PHP after %image. This example will display the image, a bar, the date and time and then a bar
HTML Code:
%image %bar2 <?php echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));?> %bar2 |
Nice one, but how do I style the date and time when placed below the pagebar and above the second bar?
|
slap a div around it
HTML Code:
%image %bar2 <div class="menu_date"><?php echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));?></div> %bar2 HTML Code:
.menu_date { |
Nice one! That worked fine. But now, the number won't change; 2000-07-01T00:00:00+01:00
they stay like this and I really hoped that they would show the actual day, not so much the time. Do you got any suggestions? With regards, Sakshin. |
All times are GMT -6. The time now is 09:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.