🔍️ Posts: Use latest h-entry microformat (#3115)
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
<article @php(post_class())>
|
<article @php(post_class('h-entry'))>
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">
|
<h1 class="p-name">
|
||||||
{!! $title !!}
|
{!! $title !!}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
@include('partials.entry-meta')
|
@include('partials.entry-meta')
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="e-content">
|
||||||
@php(the_content())
|
@php(the_content())
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<time class="updated" datetime="{{ get_post_time('c', true) }}">
|
<time class="dt-published" datetime="{{ get_post_time('c', true) }}">
|
||||||
{{ get_the_date() }}
|
{{ get_the_date() }}
|
||||||
</time>
|
</time>
|
||||||
|
|
||||||
<p class="byline author vcard">
|
<p>
|
||||||
<span>{{ __('By', 'sage') }}</span>
|
<span>{{ __('By', 'sage') }}</span>
|
||||||
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" rel="author" class="fn">
|
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" class="p-author h-card">
|
||||||
{{ get_the_author() }}
|
{{ get_the_author() }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user