Much WordPress Love
The transition to WordPress for the backend of my blog is mostly complete. I'm working on the final 2% of the current design.
A fundamental principle of my design is that the user is oriented right away. The title, "my dilemma" is no help, so I had to add the by-line, "a daddy blog." And I provided a legend near the top of the sidebar, who we are, and how old the kids are.
But what if the user is browsing a page in the archive? Wouldn't it be nice if the legend displayed what the ages of the kids were on that day?
Yep! A quick google revealed is_single(), get_the_time('U') and mktime(). Blammo! Now the main page shows the kids' ages today, but archived pages show the kids' ages back then!
Whee! That was pretty easy!
A fundamental principle of my design is that the user is oriented right away. The title, "my dilemma" is no help, so I had to add the by-line, "a daddy blog." And I provided a legend near the top of the sidebar, who we are, and how old the kids are.
But what if the user is browsing a page in the archive? Wouldn't it be nice if the legend displayed what the ages of the kids were on that day?
Yep! A quick google revealed is_single(), get_the_time('U') and mktime(). Blammo! Now the main page shows the kids' ages today, but archived pages show the kids' ages back then!
Whee! That was pretty easy!
Comments