- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
hey guys,
i did the loop for wordpress but if the posts are from the same day.. the date doesn’t show up for the same posts.. pls help.
It’s likely because of the dates position within the loop. Try moving it to directly above the header of each post in the loop.
not sure what you mean
Can you post your loop code here?
Swap ‘the_date()’ with ‘the_time()’.
‘the_date()’ will only output once per day in the loop. ‘the_time()’ will give the date every time.
it shows actual time only.. no date..
If you want to show the date, use:
the_time('l, F j, Y');
That will output for example, Friday, September 24, 2004.
the l parameter stands for the day of the week, the F stands for name of the month, j stands for day of the month and Y stands for the year.
Read here for about date formatting: http://codex.wordpress.org/Formatting_Date_and_Time
thank you guys so much. i totally appreciate the help. i’m learning a lot here