Not showing the full date
-
I have been creating a new design for my site and it is almost finished, but when I put the WP code into it I found my date was not displaying completely.
The code I am using to include the date is:
<div id=”date”>
<?php the_date() ?>
</div>
The css style for “date ” is:
#date{text-align: justify;font-size: 12px;color: #eee;background-color: #660000;padding: 5px;margin-left: 225px;margin-right: -10px;margin-top: -10px;}
My date code in WP is set as:
D jS M ‘y
if you take a look at https://www.theworldweblog.co.uk/layout.php you will see that I dont get the month at all with some posts and get a random letter in others. In my current design however (https://www.theworldweblog.co.uk/index.php), I have no problems of this sort.
This leads me to believe that my styling code for the date section is stopping the date from displaying properly, but I can’t figure out what.
Any light you could shed on this subject would be much appriciated.
Thanks,
David
- The topic ‘Not showing the full date’ is closed to new replies.