<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>WordPress</anon>
    <anon>PHP</anon>
  </categories>
  <description>query_posts()のあとで使うと値がリセットされてとれなくなる（っぽい） &lt;?php $searchQuery = get_search_query(); // 取れる $args = array( 'post_type' =&gt; 'post' ); query_posts($args); // この後では取れない ?&gt; &lt;?php if ($searchQuery): ?&gt; &lt;h2&gt; &lt;span&gt;&lt;?= $searchQuery ?&gt;の検索結果 : &lt;?php echo $wp_query-&gt;found_posts; ?&gt;件&lt;/span&gt; &lt;/h2&gt; ちなみにこの後、query_pos…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2016%2F09%2F28%2F220424&quot; title=&quot;【WordPress】get_search_query()は、検索する前に使用せよ - ITの隊長のブログ&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>http://cdn.mogile.archive.st-hatena.com/v1/image/aipacommander/297789129598967254.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-28 22:04:24</published>
  <title>【WordPress】get_search_query()は、検索する前に使用せよ</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2016/09/28/220424</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
