From f646d0a9885c03542604f2b055e28de005306fbf Mon Sep 17 00:00:00 2001 From: Douglas Christensen Date: Mon, 6 Feb 2017 18:28:14 -0500 Subject: [PATCH 1/4] Post date and time with update. Display the date and time a post was published just above the article's content. Checks if the article was modified and includes a date and time of the update if found. --- web/app/themes/codecorps/templates/content-single.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/web/app/themes/codecorps/templates/content-single.php b/web/app/themes/codecorps/templates/content-single.php index 9074bb9..d1f9238 100644 --- a/web/app/themes/codecorps/templates/content-single.php +++ b/web/app/themes/codecorps/templates/content-single.php @@ -13,7 +13,15 @@
- + +

+ Posted: at + +
Updated: at +

+ From 5d39488c43a5868055a171740748b003bdffb28b Mon Sep 17 00:00:00 2001 From: Douglas Christensen Date: Mon, 6 Feb 2017 22:34:57 -0500 Subject: [PATCH 2/4] Changes for the night. Removed some formating. Posted and updated times in their own p-tag. --- web/app/themes/codecorps/templates/content-single.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/app/themes/codecorps/templates/content-single.php b/web/app/themes/codecorps/templates/content-single.php index d1f9238..ee39a01 100644 --- a/web/app/themes/codecorps/templates/content-single.php +++ b/web/app/themes/codecorps/templates/content-single.php @@ -14,13 +14,11 @@
-

- Posted: at +

Posted:

-
Updated: at Updated:

} ?> -

From e18a26fc39220f4beb5583f6df5cec33941f53ca Mon Sep 17 00:00:00 2001 From: Douglas Christensen Date: Wed, 8 Feb 2017 22:31:32 -0500 Subject: [PATCH 3/4] Post Date Styles Added two styles for post dates. --- web/app/themes/codecorps/assets/styles/style.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/app/themes/codecorps/assets/styles/style.scss b/web/app/themes/codecorps/assets/styles/style.scss index 34968eb..1b61b99 100644 --- a/web/app/themes/codecorps/assets/styles/style.scss +++ b/web/app/themes/codecorps/assets/styles/style.scss @@ -994,6 +994,18 @@ article { } } +.post-dates { + border-bottom: 1px solid #eaeaea; + font-size: 13px; + padding: 30px 0; + font-style: italic; +} + +.date-display { + padding: 5px 0; + margin: 0; +} + /****************************** Media Queries ******************************/ From 330b06c03a98401b32d51b5dbd1a9a5202cef16e Mon Sep 17 00:00:00 2001 From: Douglas Christensen Date: Wed, 8 Feb 2017 22:32:38 -0500 Subject: [PATCH 4/4] Changes for this evening Encapsulated the two date displays within a div to allow for beautification. Not yet tested. --- .../themes/codecorps/templates/content-single.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web/app/themes/codecorps/templates/content-single.php b/web/app/themes/codecorps/templates/content-single.php index ee39a01..3836864 100644 --- a/web/app/themes/codecorps/templates/content-single.php +++ b/web/app/themes/codecorps/templates/content-single.php @@ -14,12 +14,14 @@
-

Posted:

- -

Updated:

- } ?> - + +