🔍️ 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>
|
||||
<h1 class="entry-title">
|
||||
<h1 class="p-name">
|
||||
{!! $title !!}
|
||||
</h1>
|
||||
|
||||
@include('partials.entry-meta')
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<div class="e-content">
|
||||
@php(the_content())
|
||||
</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() }}
|
||||
</time>
|
||||
|
||||
<p class="byline author vcard">
|
||||
<p>
|
||||
<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() }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user