Created
September 26, 2013 09:16
-
-
Save srikat/6711784 to your computer and use it in GitHub Desktop.
Views plugins' Content Template code to display month and day for each post. Details: http://sridharkatakam.com/show-calendar-style-dates-recent-posts-list/
This file contains hidden or 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> | |
<header> | |
<h4><a title="[wpv-post-title]" href="[wpv-post-url]">[wpv-post-title]</a></h4> | |
<em class="date"> | |
<time datetime="[wpv-post-date format="c"]" itemprop="datePublished"> | |
<span class="month">[wpv-post-date format="M"]</span> | |
<span class="day">[wpv-post-date format="j"]</span> | |
</time> | |
</em> | |
</header> | |
[wpv-post-excerpt length="100"] | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment