<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katsube</author_name>
  <author_url>https://blog.hatena.ne.jp/katsube/</author_url>
  <blog_title>ねこの足跡R</blog_title>
  <blog_url>https://blog.katsubemakito.net/</blog_url>
  <categories>
    <anon>SEO</anon>
    <anon>PHP</anon>
    <anon>WordPress</anon>
    <anon>テーマ</anon>
    <anon>更新日</anon>
    <anon>datePublished</anon>
    <anon>dateModified</anon>
  </categories>
  <description>小ネタです。 Wordpressで使っているテーマが記事の「公開日」だけしか表示してくれないので、「更新日」も表示するよう修正しました。 結論から言うと以下のようなコードをテーマに埋め込むだけです。 &lt;span title=&quot;公開日&quot;&gt; 公開日：&lt;time itemprop=&quot;datePublished&quot; datetime=&quot;&lt;?php the_time('c');?&gt;&quot;&gt;&lt;?php the_time('Y-m-d');?&gt;&lt;/time&gt; &lt;/span&gt; &lt;?php if( get_the_time('Ymd') !== get_the_modified_date('Ymd')){ ?&gt; &lt;s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.katsubemakito.net%2Fwordpress%2Fshow-update-date&quot; title=&quot; [WordPress] 記事の更新日を表示する - ねこの足跡R&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-25 13:04:30</published>
  <title> [WordPress] 記事の更新日を表示する</title>
  <type>rich</type>
  <url>https://blog.katsubemakito.net/wordpress/show-update-date</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
