%2$s how to
-
In single.php I have a code:
<?php printf(__(‘ was posted %1$s on %2$s at %3$s.%2$s supposedly prints the date of the post.
Where can I control the format of the date?
I have already set the date format for the website in Settings > General as “August 7, 2011” but on the post page the above code is rendered as:
” was posted on 06/08/2011 (Saturday) at 8:09 pm”Secondly, what could %1$s be printing, and when?
Cheers!
Raza
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘%2$s how to’ is closed to new replies.