<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>WordPress</anon>
    <anon>PHP</anon>
  </categories>
  <description>Wordpress3.6からmp3プレイヤーなどが記事内にショートコードを書くことで使えるようになっています。これらのショートコードですが記事外。テーマファイルで使いたいケースも結構あります。で、その記述方法ですがdo_shortcodeというメソッドを使えば可能なようです。 &lt;?php echo do_shortcode('[SHORTCODE]'); ?&gt; SHORTCODEの部分を使いたいショートコードに置き換えて下さい。例: wordpressの記事内で下記のようなショートコードでmp3プレイヤーを表示しているとします。 [audio mp3=&quot;/uploads/sample.mp3&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2014%2F07%2F13%2F100648&quot; title=&quot;Wordpress ショートコードをテーマファイルで使う方法。 - かもメモ&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>2014-07-13 10:06:48</published>
  <title>Wordpress ショートコードをテーマファイルで使う方法。</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2014/07/13/100648</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
