Last active
January 5, 2018 10:38
-
-
Save az1979/6fa16dc28d1b29343c2eccbba251c366 to your computer and use it in GitHub Desktop.
WordPress - 投稿日の代わりに更新日を表示する方法(日付操作) - Type.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
article time.published:before { | |
content: '投稿日: '; | |
} | |
article time.published:not(.updated) { | |
display: none; | |
} | |
article time.updated:not(.published) { | |
display: inline; | |
} | |
article time.updated:not(.published):before { | |
content: '更新日: '; | |
} | |
article .byline:before { | |
content: ' / '; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment