Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Views plugins' Content Template code to display month and day for each post. Details: http://sridharkatakam.com/show-calendar-style-dates-recent-posts-list/
<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
You can’t perform that action at this time.