Anonymous
Unregistered
Posted 7 years ago #
For some reason when I look into the wp.php file, I notice a code for posted by, but I don't see that on my blog at http://www.marginalspace.com . Maybe that only gets activated when someone other than an admin posts? But, I don't see any code to check for that. My main concern is, I don't like the date being at the top, and I would much rather have it after the "Filed under: ____" and before the author name. I'm sure I can rearrange the php code to do this, but what happened to the "posted by" code that's clearly not commented out in the wp.php file??
Thanks in advance!
Anonymous
Unregistered
Posted 7 years ago #
Ah ha, I didn't bother to follow the logic of the pages, to notice that wp.php wasn't called. Yea, I definitely would rather use the date () via PHP. Thanks guys.
Expanding on Kafkaesqui's note, expanding on my note, using the_date() will only appear once despite the number of posts made in one day so you will want to use the_time() if you are using it on a per post basis (as in after "Filed under:")
Anonymous
Unregistered
Posted 7 years ago #
Yea i figured it out. But, how'd you guys know that the_time() (which is NOT a standard PHP function) takes the same arguments? Might be a stupid question. I couldn't find the function definition myself in the code. But, I gave up after a while.
But, how'd you guys know that the_time() (which is NOT a standard PHP function) takes the same arguments?
Practice?
No, that's how I get to Carnegie Hall. ;)