2013-09-21, 18:20:52
(2013-09-07, 01:04:57)D.O. Wrote:(2013-09-07, 00:58:34)Carlos Wrote: One question: if I added optional support for authors, would it be fine to display it like this?
or do you suggest another way?Code:<p class="nm_post_date">Posted on Sep 6, 2013</p><p class="nm_post_author">Author: username</p>
(The "Author: " string would be customizable, e.g. changed to " by: ")
About the line I could suggest this way:
<p class="nm_post_date">Posted on Sep 6, 2013 <span class="nm_post_author">by Username</span></p>
And yes, of course, the string "Author" (or "by") should be customizable, and on th same line of the post date.
I honestly don't like inserting a field tag inside another field tag.
Ideally you would do this by customizing the post layout (I have in mind, but for the future).
Would it be too difficult to style both <p> tags so that they're shown in the same line?