![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Jan 2009
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
|
I didnīt know any other forum that so many smart people are viewing so I need a little bit help with changing this script so i want it to display the day today, but it is displaying the day when the page was made. the code looks like this <div class="post"> <div class="posttop"> <div class="dateicon"> <div class="day"><?php the_time('d') ?></div> <div class="month"><?php the_time('M') ?></div> </div> i dont want to send the link to the site because i dont know if i will get banned or not.. so if you want to see how this is on the site i will send you pm or post it on the forum if i am allowed to. thx people on warrior forum |
| | |
| | #2 |
| HyperActive Warrior War Room Member |
You need to format your php the_time function. You can use the following characters:
Code: <?php the_time('l, F jS, Y') ?> Code: Monday, February 23rd, 2009 |
| | |
![]() |
|
| Tags |
| bit, script, wordpress |
| Thread Tools | |
| |
![]() |